This commit is contained in:
iFargle 2023-08-23 22:46:54 +09:00
parent 79e5af243e
commit b3fde742e9
2 changed files with 3 additions and 2 deletions

View file

@ -96,8 +96,8 @@
nrb = "sudo nixos-rebuild build"; nrb = "sudo nixos-rebuild build";
# Rebuild everything # Rebuild everything
rebuild-home = "home-manager switch -b backup --flake /etc/nixos/git"; rebuild-home = "git -C /etc/nixos/git pull && home-manager switch -b backup --flake /etc/nixos/git";
rebuild-host = "sudo nixos-rebuild switch --flake /etc/nixos/git"; rebuild-host = "git -C /etc/nixos/git pull && sudo nixos-rebuild switch --flake /etc/nixos/git";
rebuild-all = "rebuild-home && rebuild-host"; rebuild-all = "rebuild-home && rebuild-host";
}; };
}; };

View file

@ -18,6 +18,7 @@
../nixos ../nixos
inputs.sops-nix.nixosModules.sops # Handle secrets inputs.sops-nix.nixosModules.sops # Handle secrets
inputs.lanzaboote.nixosModules.lanzaboote # SecureBoot Configuration inputs.lanzaboote.nixosModules.lanzaboote # SecureBoot Configuration
inputs.nur.nixosModules.nur # NixOS User Repository
] ++ (inputs.nixpkgs.lib.optionals (installer != null) [ installer ]); ] ++ (inputs.nixpkgs.lib.optionals (installer != null) [ installer ]);
}; };