Compare commits
3 Commits
5e03459f6e
...
8cd920aa93
Author | SHA1 | Date | |
---|---|---|---|
8cd920aa93 | |||
0c46968d37 | |||
44ba0a6d5c |
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1 +1,2 @@
|
||||
smb-secrets
|
||||
nixos-switch.log
|
||||
|
@@ -244,6 +244,7 @@ in
|
||||
ibm-plex
|
||||
imagemagick
|
||||
kdePackages.kdenlive
|
||||
libnotify
|
||||
libreoffice
|
||||
logiops
|
||||
nerd-fonts.blex-mono
|
||||
@@ -253,6 +254,8 @@ in
|
||||
runelite
|
||||
];
|
||||
|
||||
services.mako.enable = true;
|
||||
|
||||
services.mpd = {
|
||||
enable = true;
|
||||
extraConfig = ''
|
||||
|
11
home/scripts/nixswitch.sh
Executable file
11
home/scripts/nixswitch.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env bash
|
||||
cd ~/nixos-config
|
||||
|
||||
sudo nixos-rebuild switch --flake . &>nixos-switch.log || (cat nixos-switch.log | grep --color error && exit 1)
|
||||
|
||||
current=$(nixos-rebuild list-generations | grep current)
|
||||
|
||||
git commit -am "$current"
|
||||
|
||||
notify-send -e "NixOS Rebuilt OK!" --icon=software-update-available
|
||||
|
Reference in New Issue
Block a user