Changed auto-update to just pull form git

This commit is contained in:
Alex Davies 2024-05-24 07:00:23 -03:00
parent 71bcde6239
commit a67e367c68
3 changed files with 18 additions and 5 deletions

View File

@ -115,6 +115,19 @@
./nixos/zerotier.nix ./nixos/zerotier.nix
]; ];
}; };
bill = nixpkgs.lib.nixosSystem {
specialArgs = {
inherit inputs outputs;
hostname = "bill";
mainUser = "bill";
};
modules = [
./nixos/configuration.nix
./nixos/kde-desktop.nix
./nixos/family.nix
./nixos/zerotier.nix
];
};
}; };
# Standalone home-manager configuration entrypoint # Standalone home-manager configuration entrypoint

View File

@ -145,9 +145,8 @@
}; };
system.autoUpgrade = { system.autoUpgrade = {
enable = true; enable = true;
flake = inputs.self.outPath; flake = "git+https://codeberg.org/traverseda/nixos-config#${hostname}";
flags = [ flags = [
"--update-input"
"nixpkgs" "nixpkgs"
]; ];
dates = "02:00"; dates = "02:00";

View File

@ -7,9 +7,10 @@
}; };
users.users = { users.users = {
gwen = { gwen = {
# You can set an initial password for your user. isNormalUser = true;
# If you do, you can skip setting a root password by passing '--no-root-passwd' to nixos-install. extraGroups = [ "networkManager" ];
# Be sure to change it (using passwd) after rebooting! };
bill = {
isNormalUser = true; isNormalUser = true;
extraGroups = [ "networkManager" ]; extraGroups = [ "networkManager" ];
}; };