aboutsummaryrefslogtreecommitdiffstats
path: root/flake.nix
diff options
context:
space:
mode:
authorPetri Hienonen <petri.hienonen@gmail.com>2025-12-01 07:52:10 +0200
committerPetri Hienonen <petri.hienonen@gmail.com>2025-12-01 07:52:10 +0200
commit43871910aed3eeb2f2981b723013981870ad8833 (patch)
treef893655e094685c129aa3b68cf690ae6627220c2 /flake.nix
parentdbb4480f0ff6ef5086460c6bd77bb84ea6055785 (diff)
downloadnixos-43871910aed3eeb2f2981b723013981870ad8833.tar.zst
Update general evaluation and use inbuild mail systemd file
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix48
1 files changed, 8 insertions, 40 deletions
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";
};
}
];