♻️ refactor system.stateVersion usage
This commit is contained in:
parent
bf6b57c236
commit
0c4ba0a464
6
flake.lock
generated
6
flake.lock
generated
@ -304,11 +304,11 @@
|
||||
},
|
||||
"nixos-hardware": {
|
||||
"locked": {
|
||||
"lastModified": 1676886000,
|
||||
"narHash": "sha256-t7nxEvJb4ISR7u54YADZiZi9EaKHJKbXQjyyf00Q8TA=",
|
||||
"lastModified": 1676908974,
|
||||
"narHash": "sha256-o7sJTBeumorVIM/b1b/Q4q+WJn8Rou5kx8DEBbKOZJI=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixos-hardware",
|
||||
"rev": "26c9dbdc92abc370510be78889942f38a272d705",
|
||||
"rev": "157e1e4b127b5cb37822be247e8ec37a7f475270",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -109,6 +109,10 @@
|
||||
digitalocean = nixos-generators.nixosGenerate {
|
||||
system = "x86_64-linux";
|
||||
format = "do";
|
||||
modules = [
|
||||
./modules/base
|
||||
./users
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
@ -238,4 +242,3 @@
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -58,12 +58,4 @@
|
||||
};
|
||||
tailscale = { enable = true; };
|
||||
};
|
||||
|
||||
# This value determines the NixOS release from which the default
|
||||
# settings for stateful data, like file locations and database versions
|
||||
# on your system were taken. It‘s perfectly fine and recommended to leave
|
||||
# this value at the release version of the first install of this system.
|
||||
# Before changing this value read the documentation for this option
|
||||
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
||||
system.stateVersion = "22.05"; # Did you read the comment?
|
||||
}
|
||||
|
@ -31,8 +31,4 @@
|
||||
promptInit = "";
|
||||
};
|
||||
};
|
||||
|
||||
# Used for backwards compatibility, please read the changelog before changing.
|
||||
# $ darwin-rebuild changelog
|
||||
system.stateVersion = 4;
|
||||
}
|
||||
|
@ -42,8 +42,4 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
# Used for backwards compatibility, please read the changelog before changing.
|
||||
# $ darwin-rebuild changelog
|
||||
system.stateVersion = 4;
|
||||
}
|
||||
|
@ -175,12 +175,4 @@
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
# This value determines the NixOS release from which the default
|
||||
# settings for stateful data, like file locations and database versions
|
||||
# on your system were taken. It‘s perfectly fine and recommended to leave
|
||||
# this value at the release version of the first install of this system.
|
||||
# Before changing this value read the documentation for this option
|
||||
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
||||
system.stateVersion = "20.09"; # Did you read the comment?
|
||||
}
|
||||
|
@ -78,6 +78,4 @@
|
||||
};
|
||||
tailscale = { enable = true; };
|
||||
};
|
||||
|
||||
system.stateVersion = "22.05";
|
||||
}
|
||||
|
@ -50,4 +50,6 @@ _: {
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
system.stateVersion = 4;
|
||||
}
|
||||
|
@ -16,4 +16,6 @@
|
||||
trusted-users = [ "root" "walkah" ];
|
||||
};
|
||||
};
|
||||
|
||||
system.stateVersion = "23.05";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user