diff --git a/flake.lock b/flake.lock index b134f23..8ac7676 100755 --- a/flake.lock +++ b/flake.lock @@ -341,6 +341,26 @@ "type": "github" } }, + "nixos-avf": { + "inputs": { + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1758048506, + "narHash": "sha256-I7cLckLwnppaqoUFvTrgGKDevNnIn3qV/3ELxetm6jk=", + "owner": "nix-community", + "repo": "nixos-avf", + "rev": "1b7bf91cef5e3aeada4bc81977eb12b71585b45c", + "type": "github" + }, + "original": { + "owner": "nix-community", + "repo": "nixos-avf", + "type": "github" + } + }, "nixos-hardware": { "locked": { "lastModified": 1759261527, @@ -556,6 +576,7 @@ "authentik-nix": "authentik-nix", "home-manager": "home-manager", "niri": "niri", + "nixos-avf": "nixos-avf", "nixos-hardware": "nixos-hardware", "nixpkgs": "nixpkgs_2", "nixpkgs-pin": "nixpkgs-pin", diff --git a/flake.nix b/flake.nix index 3513642..24b7fe4 100755 --- a/flake.nix +++ b/flake.nix @@ -8,6 +8,11 @@ authentik-nix.url = "github:nix-community/authentik-nix"; + nixos-avf = { + url = "github:nix-community/nixos-avf"; + inputs.nixpkgs.follows = "nixpkgs"; + }; + nixos-hardware.url = "github:NixOS/nixos-hardware/master"; home-manager = { @@ -43,8 +48,8 @@ }; outputs = inputs@{ ... }: - let - system = "x86_64-linux"; + let + system = inputs.nixpkgs.lib.mkDefault "x86_64-linux"; nixosSystem = hostName: inputs.nixpkgs.lib.nixosSystem { @@ -56,6 +61,7 @@ Swordsmachine = nixosSystem "Swordsmachine"; Earthmover = nixosSystem "Earthmover"; Drone = nixosSystem "Drone"; + Mindflayer = nixosSystem "Mindflayer"; }; }; } diff --git a/hosts/Mindflayer/default.nix b/hosts/Mindflayer/default.nix new file mode 100644 index 0000000..524c0d9 --- /dev/null +++ b/hosts/Mindflayer/default.nix @@ -0,0 +1,16 @@ +{ inputs, config, ... }: + +{ + imports = [ + ../../common/locales.nix + ../../common/nix.nix + ../../common/users.nix + + inputs.nixos-avf.nixosModules.avf + ]; + + networking.hostName = "Mindflayer"; + + nixpkgs.hostPlatform = "aarch64-linux"; + system.stateVersion = "25.05"; +} \ No newline at end of file