Attempt at using nom

This commit is contained in:
Geoffrey Frogeye 2024-05-08 12:56:05 +02:00
parent bdabf30728
commit a2e15e8c33
Signed by: geoffrey
GPG key ID: C72403E7F82E6AD8

View file

@ -18,6 +18,7 @@ in
if [ -f "$nixos_flake" ]
then
sudo ${ulf} "$nixos_flake"
# ${pkgs.nix-output-monitor}/bin/nom build "$(dirname "$nixos_flake")#nixosConfigurations.$HOSTNAME.config.system.build.toplevel"
if [ "$verb" = "switch" ] || [ "$verb" = "test" ]
then
sudo nixos-rebuild "$verb" --specialisation ${config.frogeye.polarity} "$@"
@ -41,3 +42,4 @@ in
})
];
}
# TODO make it a flake application, optional nom (is slow), test then boot, flags to confirm each, nvd diff here