Compare commits
32 Commits
nixos-21.0
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| c8f8107989 | |||
|
|
7feb101a90 | ||
|
|
6e013d37dd | ||
|
|
b6fe23623d | ||
|
|
b2fd46917d | ||
|
|
d52b1a3d9c | ||
|
|
04cfe12f34 | ||
|
|
66f27557f7 | ||
|
|
d237134bcd | ||
|
|
1abecd8f8a | ||
|
|
f6a58ed4e4 | ||
|
|
e2cb3422bd | ||
|
|
cb013ea75f | ||
|
|
542ae88339 | ||
|
|
cbb90ffad0 | ||
|
|
1064756989 | ||
|
|
cc2199054b | ||
|
|
9f9cb0cf94 | ||
|
|
a44decfa44 | ||
|
|
cadee242a0 | ||
|
|
342ccbf143 | ||
|
|
2270cf730d | ||
|
|
589f090d6f | ||
|
|
838d1f4895 | ||
|
|
280eb0714a | ||
|
|
b0c7a106bf | ||
|
f01bda8781
|
|||
|
fe50587190
|
|||
| 5d2219ba0a | |||
| 023857ba73 | |||
| af4c0b313e | |||
|
|
8ca891e79b |
@@ -21,7 +21,7 @@ mkIf currentMachine.profiles.isDesktopEnvironment {
|
|||||||
xorg.xkill # pour 'tuer une application'
|
xorg.xkill # pour 'tuer une application'
|
||||||
|
|
||||||
## Gestionnaire de fenêtre & Thème
|
## Gestionnaire de fenêtre & Thème
|
||||||
gnome3.adwaita-icon-theme # thème d'icone - semble fonctionner avec spaceFM
|
gnome.adwaita-icon-theme # thème d'icone - semble fonctionner avec spaceFM
|
||||||
|
|
||||||
## Manipulation de fichier
|
## Manipulation de fichier
|
||||||
#kde5.dolphin # gestionnaire de fichiers graphique
|
#kde5.dolphin # gestionnaire de fichiers graphique
|
||||||
@@ -35,7 +35,7 @@ mkIf currentMachine.profiles.isDesktopEnvironment {
|
|||||||
];
|
];
|
||||||
|
|
||||||
# Polices supplémentaires
|
# Polices supplémentaires
|
||||||
fonts.fonts = with pkgs; [
|
fonts.packages = with pkgs; [
|
||||||
fira # police créée pour Firefox
|
fira # police créée pour Firefox
|
||||||
fira-code # idem fira-mono + ligatures pour la programmation
|
fira-code # idem fira-mono + ligatures pour la programmation
|
||||||
fira-mono # dérivée de fira en monospace
|
fira-mono # dérivée de fira en monospace
|
||||||
|
|||||||
@@ -19,6 +19,6 @@ mkIf (flags.conception-assistee && flags.graphical) {
|
|||||||
## Électricité & Électronique
|
## Électricité & Électronique
|
||||||
fritzing # schéma de câblages "jolis"
|
fritzing # schéma de câblages "jolis"
|
||||||
kicad # ensemble d'outils de conception électronique
|
kicad # ensemble d'outils de conception électronique
|
||||||
qucs # simulateur de circuits électroniques
|
qucs-s # simulateur de circuits électroniques
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -28,6 +28,10 @@ environment.systemPackages = with pkgs; [
|
|||||||
# Transfert de fichier
|
# Transfert de fichier
|
||||||
filezilla
|
filezilla
|
||||||
transmission-gtk
|
transmission-gtk
|
||||||
transmission-remote-gtk
|
transmission-qt
|
||||||
|
transgui
|
||||||
|
|
||||||
|
# Téléchargement de vidéos
|
||||||
|
media-downloader
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -26,8 +26,5 @@ mkIf (flags.developpement && flags.graphical) {
|
|||||||
## Visualisation & outils de diff
|
## Visualisation & outils de diff
|
||||||
#gource # visualisation en mouvement de l'historique git
|
#gource # visualisation en mouvement de l'historique git
|
||||||
meld # outil de comparaison graphique
|
meld # outil de comparaison graphique
|
||||||
|
|
||||||
# Editeur texte
|
|
||||||
atom
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -15,6 +15,8 @@ mkIf (flags.radio && flags.graphical) {
|
|||||||
chirp # Configuration de radios portatives
|
chirp # Configuration de radios portatives
|
||||||
gqrx # GUI
|
gqrx # GUI
|
||||||
cubicsdr # Another GUI
|
cubicsdr # Another GUI
|
||||||
|
sdrpp
|
||||||
|
sdrangel
|
||||||
gnuradio-with-packages # Software Defined Radio (SDR) software
|
gnuradio-with-packages # Software Defined Radio (SDR) software
|
||||||
|
|
||||||
## A Trier
|
## A Trier
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ mkIf (flags.securitySuite && flags.graphical) {
|
|||||||
|
|
||||||
# Paquets
|
# Paquets
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
gnome3.seahorse # gestionnaire graphique de clef GPG
|
gnome.seahorse # gestionnaire graphique de clef GPG
|
||||||
#yubikey-personalization-gui # utilisation de la clef Yubikey
|
#yubikey-personalization-gui # utilisation de la clef Yubikey
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -29,13 +29,13 @@ mkIf true {
|
|||||||
# bug connu : https://nixos.org/nix-dev/2014-December/015225.html
|
# bug connu : https://nixos.org/nix-dev/2014-December/015225.html
|
||||||
# find /nix/store/ -maxdepth 1 -type d -name "*gnuradio-*"
|
# find /nix/store/ -maxdepth 1 -type d -name "*gnuradio-*"
|
||||||
# Commande pour générer le path : find /nix/store/ -maxdepth 1 -type d -name "*gnuradio-*"|paste -d: -s -
|
# Commande pour générer le path : find /nix/store/ -maxdepth 1 -type d -name "*gnuradio-*"|paste -d: -s -
|
||||||
gnuradio-with-packages = pkgs.gnuradio-with-packages.override {
|
gnuradio-with-packages = pkgs.gnuradio3_8.override {
|
||||||
extraPackages = with pkgs; [
|
extraPackages = with pkgs.gnuradio3_8Packages; [
|
||||||
gnuradio-ais
|
ais
|
||||||
gnuradio-gsm
|
#gsm
|
||||||
gnuradio-nacl
|
#nacl
|
||||||
gnuradio-osmosdr # support des dongle Realtek
|
osmosdr # support des dongle Realtek
|
||||||
gnuradio-rds # support du décodage de RDS sur les radio FM
|
rds # support du décodage de RDS sur les radio FM
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -14,7 +14,6 @@ mkIf true {
|
|||||||
# Adminsys
|
# Adminsys
|
||||||
bind # utilisé pour les utilitaires comme dig
|
bind # utilisé pour les utilitaires comme dig
|
||||||
cowsay # pour ansible & 4lulz
|
cowsay # pour ansible & 4lulz
|
||||||
dhcp # client dhcp
|
|
||||||
iotop
|
iotop
|
||||||
lm_sensors
|
lm_sensors
|
||||||
lshw
|
lshw
|
||||||
@@ -40,7 +39,6 @@ mkIf true {
|
|||||||
## Montage de filesystem
|
## Montage de filesystem
|
||||||
curlftpfs # ftp
|
curlftpfs # ftp
|
||||||
exfat # Pour monter les FAT avec Fuse
|
exfat # Pour monter les FAT avec Fuse
|
||||||
hubicfuse # montage hubic
|
|
||||||
ntfs3g # ntfs
|
ntfs3g # ntfs
|
||||||
samba # partages windows
|
samba # partages windows
|
||||||
squashfsTools # squashfs
|
squashfsTools # squashfs
|
||||||
|
|||||||
@@ -31,9 +31,18 @@ mkIf true {
|
|||||||
usbutils
|
usbutils
|
||||||
wget # client HTTP console
|
wget # client HTTP console
|
||||||
which # pour connaitre le chemin d'un exécutable
|
which # pour connaitre le chemin d'un exécutable
|
||||||
|
helix # Éditeur post-moderne
|
||||||
|
# outils pour l'édition Nix
|
||||||
|
nixd # LSP pour Nix
|
||||||
|
nixfmt
|
||||||
|
nixfmt-tree
|
||||||
|
|
||||||
|
nodePackages.bash-language-server # LSP pour Bash
|
||||||
|
delta # visionneur de différences
|
||||||
|
kitty.terminfo
|
||||||
|
rio.terminfo
|
||||||
];
|
];
|
||||||
programs = {
|
programs = {
|
||||||
fish.enable = true;
|
|
||||||
gnupg.agent.enable = true;
|
gnupg.agent.enable = true;
|
||||||
git = {
|
git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|||||||
@@ -12,8 +12,6 @@ mkIf flags.developpement-rust {
|
|||||||
# Paquets
|
# Paquets
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
# Rust
|
# Rust
|
||||||
cargo # récupération des dépendances + compilation projet rust
|
|
||||||
rustc # pour les appels depuis les scripts
|
|
||||||
rustup # outil de configuration de toolchain rust
|
rustup # outil de configuration de toolchain rust
|
||||||
crate2nix # génère les fichiers de build Nix dans un projet Rust
|
crate2nix # génère les fichiers de build Nix dans un projet Rust
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -23,6 +23,7 @@ mkIf flags.radio {
|
|||||||
liquid-dsp # Digital signal processing library for software-defined radios
|
liquid-dsp # Digital signal processing library for software-defined radios
|
||||||
rtl-sdr # Turns your Realtek RTL2832 based DVB dongle into a SDR receiver
|
rtl-sdr # Turns your Realtek RTL2832 based DVB dongle into a SDR receiver
|
||||||
dump1090 # Listen to planes ADS-B and view them on a map
|
dump1090 # Listen to planes ADS-B and view them on a map
|
||||||
|
rtl_433 # Read sensors on 433 MHz
|
||||||
];
|
];
|
||||||
|
|
||||||
hardware.rtl-sdr.enable = true;
|
hardware.rtl-sdr.enable = true;
|
||||||
|
|||||||
@@ -10,11 +10,11 @@ let
|
|||||||
vimrcConfig.packages.myVimPackage = with pkgs.vimPlugins; {
|
vimrcConfig.packages.myVimPackage = with pkgs.vimPlugins; {
|
||||||
start = [
|
start = [
|
||||||
wombat256-vim
|
wombat256-vim
|
||||||
|
ale
|
||||||
];
|
];
|
||||||
opt = [
|
opt = [
|
||||||
elm-vim
|
elm-vim
|
||||||
vim-fish
|
vim-fish
|
||||||
vim-nix
|
|
||||||
vimwiki
|
vimwiki
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -5,6 +5,9 @@ set nocompatible
|
|||||||
filetype plugin on
|
filetype plugin on
|
||||||
syntax on
|
syntax on
|
||||||
|
|
||||||
|
" Réglages ALE
|
||||||
|
let g:ale_completion_enabled = 1
|
||||||
|
|
||||||
" allow backspacing over everything in insert mode
|
" allow backspacing over everything in insert mode
|
||||||
set backspace=indent,eol,start
|
set backspace=indent,eol,start
|
||||||
|
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ in
|
|||||||
#security.grsecurity.enable = true;
|
#security.grsecurity.enable = true;
|
||||||
|
|
||||||
# Ménage de /tmp au boot
|
# Ménage de /tmp au boot
|
||||||
boot.cleanTmpDir = true;
|
boot.tmp.cleanOnBoot = true;
|
||||||
|
|
||||||
# Activation des pages de manuel
|
# Activation des pages de manuel
|
||||||
documentation.man.enable = true;
|
documentation.man.enable = true;
|
||||||
@@ -44,11 +44,23 @@ in
|
|||||||
byobu-adminsys = "/etc/nixos/base/byobu-adminsys";
|
byobu-adminsys = "/etc/nixos/base/byobu-adminsys";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
programs.bash = {
|
programs = {
|
||||||
enableCompletion = true;
|
fish.enable = true;
|
||||||
promptInit = builtins.readFile ./bash-prompt.sh;
|
bash = {
|
||||||
interactiveShellInit = builtins.readFile ./bash-interactive-init.sh;
|
enableCompletion = true;
|
||||||
|
promptInit = builtins.readFile ./bash-prompt.sh;
|
||||||
|
interactiveShellInit = builtins.readFile ./bash-interactive-init.sh;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
# Prompt rapide et plein de fonctionnalités
|
||||||
|
programs.starship = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
time.disabled = false;
|
||||||
|
shell.disabled = false;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
# https://wiki.mozilla.org/Security/Guidelines/OpenSSH#Modern
|
# https://wiki.mozilla.org/Security/Guidelines/OpenSSH#Modern
|
||||||
programs.ssh.extraConfig = ''
|
programs.ssh.extraConfig = ''
|
||||||
|
|||||||
@@ -27,4 +27,12 @@ in
|
|||||||
options = "--delete-older-than 7d";
|
options = "--delete-older-than 7d";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Affichage des modifications de profil (maj/ajout/suppression) dans le terminal
|
||||||
|
system.activationScripts.diff = {
|
||||||
|
supportsDryActivation = true;
|
||||||
|
text = ''
|
||||||
|
${pkgs.nvd}/bin/nvd --nix-bin-dir=${pkgs.nix}/bin diff /run/current-system "$systemConfig"
|
||||||
|
'';
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -20,7 +20,6 @@ mkIf flags.print {
|
|||||||
enable = true;
|
enable = true;
|
||||||
drivers = [
|
drivers = [
|
||||||
pkgs.samsung-unified-linux-driver
|
pkgs.samsung-unified-linux-driver
|
||||||
pkgs.fxlinuxprint
|
|
||||||
pkgs.gutenprint
|
pkgs.gutenprint
|
||||||
];
|
];
|
||||||
# Suppression automatique des fichiers temporaires.
|
# Suppression automatique des fichiers temporaires.
|
||||||
|
|||||||
@@ -13,7 +13,6 @@ mkIf flags.scanner {
|
|||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
# Driver
|
# Driver
|
||||||
hplip # Scanner HP
|
hplip # Scanner HP
|
||||||
python39Packages.pyqt4 # dépendance hplip
|
|
||||||
|
|
||||||
# Outils pour exploiter les scanners
|
# Outils pour exploiter les scanners
|
||||||
simple-scan
|
simple-scan
|
||||||
|
|||||||
Reference in New Issue
Block a user