This commit is contained in:
Chris Kruining 2026-03-25 06:45:43 +00:00
parent 59a1fbaf0f
commit ac3dac322d
78 changed files with 893 additions and 802 deletions

View file

@ -1,2 +1,3 @@
{ ... }: {
nixpkgs.hostPlatform = "x86_64-linux";
}

9
machines/default.nix Normal file
View file

@ -0,0 +1,9 @@
{baseNixosModules, lib, sharedContext, ...}: {
clan =
(import ../clan.nix {
inherit baseNixosModules lib;
})
// {
specialArgs = sharedContext;
};
}

View file

@ -5,6 +5,8 @@
./hardware.nix
];
nixpkgs.hostPlatform = "x86_64-linux";
sneeuwvlok = {
hardware.has = {
gpu.nvidia = true;
@ -28,4 +30,4 @@
};
system.stateVersion = "23.11";
}
}

View file

@ -1,3 +0,0 @@
{ ... }: {
imports = [ ./configuration.nix ];
}

View file

@ -1,4 +1,4 @@
{ config, lib, pkgs, modulesPath, system, ... }:
{ config, lib, pkgs, modulesPath, ... }:
let
inherit (lib.modules) mkDefault;
in
@ -13,6 +13,6 @@ in
extraModulePackages = [ ];
};
nixpkgs.hostPlatform = mkDefault system;
nixpkgs.hostPlatform = mkDefault pkgs.stdenv.hostPlatform.system;
hardware.cpu.intel.updateMicrocode = mkDefault config.hardware.enableRedistributableFirmware;
}

View file

@ -4,6 +4,8 @@
./hardware.nix
];
nixpkgs.hostPlatform = "x86_64-linux";
system.activationScripts.remove-gtkrc.text = "rm -f /home/chris/.gtkrc-2.0";
services.logrotate.checkConfig = false;

View file

@ -1,3 +0,0 @@
{ ... }: {
imports = [ ./configuration.nix ];
}

View file

@ -1,4 +1,4 @@
{ config, lib, pkgs, modulesPath, system, ... }:
{ config, lib, pkgs, modulesPath, ... }:
let
inherit (lib.modules) mkDefault;
in
@ -13,6 +13,6 @@ in
extraModulePackages = [ ];
};
nixpkgs.hostPlatform = mkDefault system;
nixpkgs.hostPlatform = mkDefault pkgs.stdenv.hostPlatform.system;
hardware.cpu.amd.updateMicrocode = mkDefault config.hardware.enableRedistributableFirmware;
}

View file

@ -1,2 +1,3 @@
{ ... }: {
nixpkgs.hostPlatform = "x86_64-linux";
}

View file

@ -4,6 +4,8 @@
./hardware.nix
];
nixpkgs.hostPlatform = "x86_64-linux";
environment.systemPackages = with pkgs; [
azure-cli
github-copilot-cli

View file

@ -1,3 +0,0 @@
{ ... }: {
imports = [ ./configuration.nix ];
}

View file

@ -1,4 +1,4 @@
{ config, lib, pkgs, modulesPath, system, ... }:
{ config, lib, pkgs, modulesPath, ... }:
let
inherit (lib.modules) mkDefault;
in
@ -13,6 +13,6 @@ in
extraModulePackages = [ ];
};
nixpkgs.hostPlatform = mkDefault system;
nixpkgs.hostPlatform = mkDefault pkgs.stdenv.hostPlatform.system;
hardware.cpu.intel.updateMicrocode = mkDefault config.hardware.enableRedistributableFirmware;
}

View file

@ -5,6 +5,8 @@
./hardware.nix
];
nixpkgs.hostPlatform = "x86_64-linux";
sneeuwvlok = {
hardware.has = {
gpu.amd = true;

View file

@ -1,3 +0,0 @@
{ ... }: {
imports = [ ./configuration.nix ];
}

View file

@ -1,4 +1,4 @@
{ config, lib, pkgs, modulesPath, system, ... }:
{ config, lib, pkgs, modulesPath, ... }:
let
inherit (lib.modules) mkDefault;
in
@ -13,6 +13,6 @@ in
extraModulePackages = [ ];
};
nixpkgs.hostPlatform = mkDefault system;
nixpkgs.hostPlatform = mkDefault pkgs.stdenv.hostPlatform.system;
hardware.cpu.intel.updateMicrocode = mkDefault config.hardware.enableRedistributableFirmware;
}

View file

@ -4,6 +4,8 @@
./hardware.nix
];
nixpkgs.hostPlatform = "x86_64-linux";
networking = {
interfaces.enp2s0 = {
ipv6.addresses = [

View file

@ -1,3 +0,0 @@
{ ... }: {
imports = [ ./configuration.nix ];
}

View file

@ -1,4 +1,4 @@
{ config, lib, pkgs, modulesPath, system, ... }:
{ config, lib, pkgs, modulesPath, ... }:
let
inherit (lib.modules) mkDefault;
in
@ -13,6 +13,6 @@ in
extraModulePackages = [ ];
};
nixpkgs.hostPlatform = mkDefault system;
nixpkgs.hostPlatform = mkDefault pkgs.stdenv.hostPlatform.system;
hardware.cpu.intel.updateMicrocode = mkDefault config.hardware.enableRedistributableFirmware;
}

View file

@ -1,2 +1,3 @@
{ ... }: {
nixpkgs.hostPlatform = "x86_64-linux";
}

View file

@ -1,2 +1,3 @@
{ ... }: {
nixpkgs.hostPlatform = "x86_64-linux";
}