From 43871910aed3eeb2f2981b723013981870ad8833 Mon Sep 17 00:00:00 2001 From: Petri Hienonen Date: Mon, 1 Dec 2025 07:52:10 +0200 Subject: Update general evaluation and use inbuild mail systemd file --- flake.nix | 48 ++++++++---------------------------------------- 1 file changed, 8 insertions(+), 40 deletions(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index ef3299b..ea35f66 100644 --- a/flake.nix +++ b/flake.nix @@ -38,22 +38,16 @@ editor = "nvim"; shell = "fish"; }; - pkgs-unstable = import nixpkgs-unstable { - system = "x86_64-linux"; - config.allowUnfree = true; - }; in { nixosConfigurations = { saarni = nixpkgs.lib.nixosSystem { - system = "x86_64-linux"; specialArgs = { inherit agenix inputs outputs vars - pkgs-unstable ; }; modules = [ @@ -71,7 +65,6 @@ vars inputs outputs - pkgs-unstable ; }; users = { @@ -79,17 +72,16 @@ }; }; } + { nixpkgs.hostPlatform = "x86_64-linux"; } ]; }; pihlaja = nixpkgs.lib.nixosSystem { - system = "x86_64-linux"; specialArgs = { inherit agenix inputs outputs vars - pkgs-unstable ; }; modules = [ @@ -107,7 +99,6 @@ vars inputs outputs - pkgs-unstable ; }; users = { @@ -115,33 +106,21 @@ }; }; } - #{ - #nixpkgs = { - # config.cudaSupport = true; - #hostPlatform = { - # aesSupport = true; - # avx2Support = true; - # # useLLVM = true; - # gcc = { - # arch = "x86-64-v3"; - # }; - # system = "x86_64-linux"; - # linker = "mold"; - # libc = "glibc"; - #}; - #}; - #} + { + nixpkgs = { + config.cudaSupport = true; + hostPlatform = "x86_64-linux"; + }; + } ]; }; kataja = nixpkgs.lib.nixosSystem { - system = "x86_64-linux"; specialArgs = { inherit agenix inputs outputs vars - pkgs-unstable ; }; modules = [ @@ -159,7 +138,6 @@ inputs outputs vars - pkgs-unstable ; }; users = { @@ -170,17 +148,7 @@ { nixpkgs = { config.rocmSupport = true; - #hostPlatform = { - # aesSupport = true; - # avx2Support = true; - # # useLLVM = true; - # gcc = { - # arch = "x86-64-v3"; - # }; - # system = "x86_64-linux"; - # linker = "mold"; - # libc = "glibc"; - #}; + hostPlatform = "x86_64-linux"; }; } ]; -- cgit v1.2.3-70-g09d2