228 current 2025-01-11 06:21:44 25.05.20241217.d3c42f1 6.6.66 *
This commit is contained in:
@@ -144,6 +144,10 @@ in {
|
|||||||
command = "/home/synchronous/.scripts/nixos-rebuild.sh";
|
command = "/home/synchronous/.scripts/nixos-rebuild.sh";
|
||||||
options = ["NOPASSWD"];
|
options = ["NOPASSWD"];
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
command = "/run/current-system/sw/bin/nixos-rebuild switch --flake /home/synchronous/nix-cfg/flake.nix";
|
||||||
|
options = ["NOPASSWD"];
|
||||||
|
}
|
||||||
];
|
];
|
||||||
users = ["synchronous"];
|
users = ["synchronous"];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -100,6 +100,7 @@
|
|||||||
p.typescript
|
p.typescript
|
||||||
p.vue
|
p.vue
|
||||||
p.yaml
|
p.yaml
|
||||||
|
p.agda
|
||||||
]);
|
]);
|
||||||
config = toLuaFile ./plugins/treesitter.lua;
|
config = toLuaFile ./plugins/treesitter.lua;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ echo ""
|
|||||||
echo "NixOS Rebuilding..."
|
echo "NixOS Rebuilding..."
|
||||||
|
|
||||||
# Rebuild, output simplified errors, log trackebacks
|
# Rebuild, output simplified errors, log trackebacks
|
||||||
sudo nixos-rebuild switch --flake /home/synchronous/nix-cfg/flake.nix &> /tmp/nixos-switch.log
|
sudo /run/current-system/sw/bin/nixos-rebuild switch --flake /home/synchronous/nix-cfg/flake.nix &> /tmp/nixos-switch.log
|
||||||
# cat /tmp/nixos-switch.log | grep --color error && exit 1
|
# cat /tmp/nixos-switch.log | grep --color error && exit 1
|
||||||
|
|
||||||
if grep --color error /tmp/nixos-switch.log; then
|
if grep --color error /tmp/nixos-switch.log; then
|
||||||
|
|||||||
Reference in New Issue
Block a user