Compare commits

..

4 commits

Author SHA1 Message Date
Anish Lakhwara b9b0015a93 luasnip for supercollider 2023-02-05 23:55:44 +10:00
Anish Lakhwara a1dd5bb1d9 fix borg backup (untested) 2023-02-05 23:55:29 +10:00
Anish Lakhwara f787e4cfc0 add back lightdm config 2023-02-05 23:54:48 +10:00
Anish Lakhwara f81f66da88 follow shellcheck for install-yubikey 2023-01-13 23:35:32 +10:00
4 changed files with 22 additions and 15 deletions

View file

@ -792,7 +792,8 @@ in
['<F2>'] = map_expr('s.meter'),
}
}
-- require("luasnip").add_snippets("supercollider", require("scnvim/utils").get_snippets())
-- You gotta run :SCNvimGenerateAssets for this first
require("luasnip").add_snippets("supercollider", require("scnvim/utils").get_snippets())
-- zen mode
require('zen-mode').setup{

View file

@ -68,10 +68,14 @@
};
age.secrets.borg-password.file = "${self}/secrets/borg-password.age";
age.secrets.borg-key.file = "${self}/secrets/borg-key.age";
mossnet.backup = {
enable = true;
name = "curve";
paths = [ "/home/anish/usr" ];
paths = [
"/home/anish/usr"
"/home/anish/.ssh"
];
};
# enable adb

View file

@ -186,20 +186,20 @@ in
lightdm = {
enable = true;
background = "/etc/nixos/users/profiles/desktop/background.jpg";
# greeters.mini = {
# enable = true;
# user = "anish";
# extraConfig = ''
# text-color = "#ff79c6"
# password-background-color = "#1E2029"
# window-color = "#181a23"
# border-color = "#181a23"
# '';
# };
greeters.mini = {
enable = true;
user = "anish";
extraConfig = ''
text-color = "#ff79c6"
password-background-color = "#1E2029"
window-color = "#181a23"
border-color = "#181a23"
'';
};
};
};
windowManager.bspwm.enable = true;
#windowManager.bspwm.configFile = "/home/anish/.bspwm/bspwmrc";
windowManager.bspwm.configFile = "/home/anish/.bspwm/bspwmrc";
windowManager.bspwm.sxhkd.configFile = "/home/anish/.config/sxhkdrc";
};
};

View file

@ -1,3 +1,5 @@
#!/usr/bin/env bash
rbtohex() {
( od -An -vtx1 | tr -d ' \n' )
}
@ -64,7 +66,7 @@ mkfs.btrfs -L "$FSROOT" "/dev/partitions/$FSROOT"
#touch /mnt-root/nix-store.squashfs
mount "/dev/partitions/$FSROOT" /mnt
cd /mnt
cd /mnt || exit
btrfs subvolume create root
btrfs subvolume create home
cd
@ -167,6 +169,6 @@ cat > /mnt/etc/nixos/configuration.nix <<'endmsg'
endmsg
cd /mnt
cd /mnt || exit
nixos-install --root /mnt
passwd