modularized hosts creatorforge.nix
This commit is contained in:
parent
38d653d2ff
commit
43ed213a93
14 changed files with 146 additions and 123 deletions
27
hosts/creatorforge/creatorforge.nix
Normal file
27
hosts/creatorforge/creatorforge.nix
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{ modulesPath, config, pkgs, lib, self, ... }:
|
||||
|
||||
{
|
||||
# Sets the default version to track for system-pkgs
|
||||
system.stateVersion = "22.11";
|
||||
# Set the default timezone
|
||||
time.timeZone = lib.mkDefault "America/Detroit";
|
||||
# Allow non opensource software to be installed
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
# NixOS Settings
|
||||
nix = {
|
||||
# Sets flakes to unstable track instead of stable #
|
||||
package = pkgs.nixUnstable; # or versioned attributes like nix_2_4
|
||||
# Enable flakes and nix-command
|
||||
extraOptions = ''experimental-features = nix-command flakes'';
|
||||
# Auto maintainence
|
||||
settings.auto-optimise-store = lib.mkDefault true;
|
||||
# Prevent tampering of the pkgstore
|
||||
readOnlyStore = true;
|
||||
# Garbage collection
|
||||
gc = {
|
||||
automatic = true;
|
||||
dates = "weekly";
|
||||
options = "--delete-older-than 7d";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue