diff options
author | Mark Nipper <nipsy@bitgnome.net> | 2024-03-09 13:34:31 -0800 |
---|---|---|
committer | Mark Nipper <nipsy@bitgnome.net> | 2024-03-09 13:34:31 -0800 |
commit | 08062d364056ba5b6f1e48d940be478ac50f6a17 (patch) | |
tree | 575ea46029ce81b6cf8da7f97943056e3dc850f5 | |
parent | 62fbca1c3a2afc2cc20034b30f4d817fe87f84f9 (diff) | |
download | nix-08062d364056ba5b6f1e48d940be478ac50f6a17.tar nix-08062d364056ba5b6f1e48d940be478ac50f6a17.tar.gz nix-08062d364056ba5b6f1e48d940be478ac50f6a17.tar.bz2 nix-08062d364056ba5b6f1e48d940be478ac50f6a17.tar.lz nix-08062d364056ba5b6f1e48d940be478ac50f6a17.tar.xz nix-08062d364056ba5b6f1e48d940be478ac50f6a17.tar.zst nix-08062d364056ba5b6f1e48d940be478ac50f6a17.zip |
Add initial flake configuration
-rw-r--r-- | ginaz/configuration.nix | 4 | ||||
-rw-r--r-- | ginaz/flake.nix | 14 |
2 files changed, 16 insertions, 2 deletions
diff --git a/ginaz/configuration.nix b/ginaz/configuration.nix index e37b044..c3409e9 100644 --- a/ginaz/configuration.nix +++ b/ginaz/configuration.nix @@ -121,7 +121,7 @@ st stoken surge - surge-XT + #surge-XT sxiv synthv1 sysstat @@ -169,6 +169,7 @@ networking.networkmanager.enable = true; networking.nftables.enable = true; + nix.settings.experimental-features = [ "nix-command" "flakes" ]; nixpkgs.config.allowUnfree = true; programs.atop.enable = true; @@ -264,7 +265,6 @@ services.zfs.autoScrub.enable = true; services.zfs.trim.enable = true; - system.copySystemConfiguration = true; system.stateVersion = "23.11"; systemd = { diff --git a/ginaz/flake.nix b/ginaz/flake.nix new file mode 100644 index 0000000..6709960 --- /dev/null +++ b/ginaz/flake.nix @@ -0,0 +1,14 @@ +{ + description = "nipsy's NixOS configuration"; + + inputs = { + nixpkgs.url = github:NixOS/nixpkgs/nixos-unstable; + }; + + outputs = { self, nixpkgs }: { + nixosConfigurations.ginaz = nixpkgs.lib.nixosSystem { + system = "x86_64-linux"; + modules = [ ./configuration.nix ]; + }; + }; +} |