Reworking Wi-Fi and mu
This commit is contained in:
parent
56f59f88c8
commit
06c04879e0
|
@ -32,13 +32,16 @@
|
||||||
oh-my-zsh stow
|
oh-my-zsh stow
|
||||||
lemonbar git st
|
lemonbar git st
|
||||||
msmtp neomutt
|
msmtp neomutt
|
||||||
(mu.override { withMug = false; }) # no webkit dependency
|
|
||||||
ripmime w3m #email
|
ripmime w3m #email
|
||||||
nethogs
|
nethogs
|
||||||
(import ./vim.nix)
|
(import ./vim.nix)
|
||||||
(texlive.combine { inherit (texlive) scheme-small latexmk bibtex; }) #for vimtex
|
(texlive.combine { inherit (texlive) scheme-small latexmk bibtex; }) #for vimtex
|
||||||
|
(mu.override { withMug = false; }) # no webkit dependency
|
||||||
ghostscript
|
ghostscript
|
||||||
pavucontrol
|
pavucontrol
|
||||||
|
dell-530cdn
|
||||||
|
arandr
|
||||||
|
inotify-tools
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -70,8 +73,16 @@
|
||||||
163.172.81.107 sahkopoika
|
163.172.81.107 sahkopoika
|
||||||
163.172.25.159 protonpack
|
163.172.25.159 protonpack
|
||||||
195.154.102.65 kromuniste
|
195.154.102.65 kromuniste
|
||||||
|
192.168.158.23 pimusicbox
|
||||||
'';
|
'';
|
||||||
networkmanager.enable = false;
|
networkmanager.enable = false;
|
||||||
|
|
||||||
|
# wireless configs are stored in /etc/wpa_supplicant.conf
|
||||||
|
wireless = {
|
||||||
|
enable = true;
|
||||||
|
interfaces = [ "wlo1" ];
|
||||||
|
userControlled.enable = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
nix.useSandbox = true;
|
nix.useSandbox = true;
|
||||||
|
@ -183,6 +194,20 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
systemd.user.services = {
|
||||||
|
mu = {
|
||||||
|
description = "Updating mail database";
|
||||||
|
script = "/run/current-system/sw/bin/mu index --quiet -m ~/mail";
|
||||||
|
startAt = "daily";
|
||||||
|
wantedBy = [ "timers.target" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
offlineimap-fast = {
|
||||||
|
description = "Quick mail synchronization";
|
||||||
|
script = "/run/current-system/sw/bin/offlineimap -u quiet -q";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
systemd.mounts = [
|
systemd.mounts = [
|
||||||
{ what = "/dev/sdb1";
|
{ what = "/dev/sdb1";
|
||||||
|
@ -215,25 +240,6 @@
|
||||||
motd = "Death to the DeathStar";
|
motd = "Death to the DeathStar";
|
||||||
};
|
};
|
||||||
|
|
||||||
networking.wireless = {
|
|
||||||
enable = true;
|
|
||||||
interfaces = [ "wlo1" ];
|
|
||||||
userControlled.enable = true;
|
|
||||||
networks = {
|
|
||||||
">o_/" = {
|
|
||||||
pskRaw = "9d38f38d5d49fae47605cfd6437bd00b136f6a266c04bc5b8f4cf05bf7907c0b";
|
|
||||||
};
|
|
||||||
"42" = {
|
|
||||||
pskRaw = "d4806ea095c4c2ef267307f75975031b6bc2d2c79861bf53c96c9a7ff70b068a";
|
|
||||||
};
|
|
||||||
"Frallemagne" = {
|
|
||||||
pskRaw = "4987d44ded137d9a877f4dd4063ceaa4b3d91669750b6d15d752bf3a42545684";
|
|
||||||
};
|
|
||||||
"Wi-Fi_Info_Etudiant" = {};
|
|
||||||
"THALYSNET" = {};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
# Extra fonts
|
# Extra fonts
|
||||||
fonts.fonts = with pkgs; [
|
fonts.fonts = with pkgs; [
|
||||||
tewi-font
|
tewi-font
|
||||||
|
|
10
vim.nix
10
vim.nix
|
@ -12,11 +12,11 @@ vim_configurable.customize {
|
||||||
"surround"
|
"surround"
|
||||||
"elm-vim"
|
"elm-vim"
|
||||||
"vimtex"
|
"vimtex"
|
||||||
#"vim/.vim/bundle/VOoM" is missing
|
#https://github.com/vim-voom/VOoM
|
||||||
#"vim/.vim/bundle/vim-better-whitespace is missing
|
#https://github.com/ntpeters/vim-better-whitespace
|
||||||
#"vim/.vim/bundle/vim-systemd-syntax is missing
|
#https://github.com/Matt-Deacalion/vim-systemd-syntax
|
||||||
#"vim/.vim/bundle/vim-obsession is missing
|
#https://github.com/tpope/vim-obsession
|
||||||
#"vim/.vim/bundle/vim-opencl is missing
|
#https://github.com/petRUShka/vim-opencl
|
||||||
]; }
|
]; }
|
||||||
];
|
];
|
||||||
vimrcConfig.customRC = ''
|
vimrcConfig.customRC = ''
|
||||||
|
|
Loading…
Reference in New Issue