random rice
This commit is contained in:
parent
f080730c99
commit
60613b0a1d
17 changed files with 221 additions and 143 deletions
|
|
@ -1,7 +1,9 @@
|
|||
{
|
||||
host,
|
||||
...
|
||||
}: { # Create plugdev group
|
||||
inputs,
|
||||
host,
|
||||
...
|
||||
}: {
|
||||
# Create plugdev group
|
||||
networking.hostName = host.hostName;
|
||||
time.timeZone = "America/Chicago";
|
||||
users = {
|
||||
|
|
@ -28,6 +30,7 @@ host,
|
|||
|
||||
# Enable flakes and unfree packages
|
||||
nix = {
|
||||
registry.nixpkgs.flake = inputs.nixpkgs;
|
||||
settings = {
|
||||
auto-optimise-store = true;
|
||||
substituters = [
|
||||
|
|
@ -40,11 +43,15 @@ host,
|
|||
];
|
||||
trusted-users = [host.username];
|
||||
experimental-features = ["nix-command" "flakes"];
|
||||
lazy-trees = true;
|
||||
};
|
||||
channel.enable = false;
|
||||
nixPath = ["nixpkgs=flake:nixpkgs"];
|
||||
gc = {
|
||||
automatic = true;
|
||||
dates = "00:00";
|
||||
options = "--delete-older-than 14d";
|
||||
};
|
||||
};
|
||||
security.sudo-rs.enable = true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue