From 08062d364056ba5b6f1e48d940be478ac50f6a17 Mon Sep 17 00:00:00 2001 From: Mark Nipper Date: Sat, 9 Mar 2024 13:34:31 -0800 Subject: Add initial flake configuration --- ginaz/configuration.nix | 4 ++-- ginaz/flake.nix | 14 ++++++++++++++ 2 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 ginaz/flake.nix 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 ]; + }; + }; +} -- cgit v1.2.3