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'), ['<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 -- zen mode
require('zen-mode').setup{ require('zen-mode').setup{

View file

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

View file

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

View file

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