Reworking Wi-Fi and mu
This commit is contained in:
parent
56f59f88c8
commit
06c04879e0
2 changed files with 31 additions and 25 deletions
|
@ -32,13 +32,16 @@
|
|||
oh-my-zsh stow
|
||||
lemonbar git st
|
||||
msmtp neomutt
|
||||
(mu.override { withMug = false; }) # no webkit dependency
|
||||
ripmime w3m #email
|
||||
nethogs
|
||||
(import ./vim.nix)
|
||||
(texlive.combine { inherit (texlive) scheme-small latexmk bibtex; }) #for vimtex
|
||||
(mu.override { withMug = false; }) # no webkit dependency
|
||||
ghostscript
|
||||
pavucontrol
|
||||
dell-530cdn
|
||||
arandr
|
||||
inotify-tools
|
||||
];
|
||||
};
|
||||
|
||||
|
@ -70,8 +73,16 @@
|
|||
163.172.81.107 sahkopoika
|
||||
163.172.25.159 protonpack
|
||||
195.154.102.65 kromuniste
|
||||
192.168.158.23 pimusicbox
|
||||
'';
|
||||
networkmanager.enable = false;
|
||||
|
||||
# wireless configs are stored in /etc/wpa_supplicant.conf
|
||||
wireless = {
|
||||
enable = true;
|
||||
interfaces = [ "wlo1" ];
|
||||
userControlled.enable = 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 = [
|
||||
{ what = "/dev/sdb1";
|
||||
|
@ -215,25 +240,6 @@
|
|||
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
|
||||
fonts.fonts = with pkgs; [
|
||||
tewi-font
|
||||
|
|
10
vim.nix
10
vim.nix
|
@ -12,11 +12,11 @@ vim_configurable.customize {
|
|||
"surround"
|
||||
"elm-vim"
|
||||
"vimtex"
|
||||
#"vim/.vim/bundle/VOoM" is missing
|
||||
#"vim/.vim/bundle/vim-better-whitespace is missing
|
||||
#"vim/.vim/bundle/vim-systemd-syntax is missing
|
||||
#"vim/.vim/bundle/vim-obsession is missing
|
||||
#"vim/.vim/bundle/vim-opencl is missing
|
||||
#https://github.com/vim-voom/VOoM
|
||||
#https://github.com/ntpeters/vim-better-whitespace
|
||||
#https://github.com/Matt-Deacalion/vim-systemd-syntax
|
||||
#https://github.com/tpope/vim-obsession
|
||||
#https://github.com/petRUShka/vim-opencl
|
||||
]; }
|
||||
];
|
||||
vimrcConfig.customRC = ''
|
||||
|
|
Loading…
Add table
Reference in a new issue