cute refactor

This commit is contained in:
waveringana 2025-06-04 02:48:23 -04:00
parent 3e9d95c2a3
commit 7fb32811d4
12 changed files with 252 additions and 181 deletions

View file

@ -13,13 +13,15 @@
../../modules/common/services.nix
# Services specific to this host
../../services/garage.nix
#../../services/forgejo.nix
# Common secrets
../../host-secrets.nix
];
system.stateVersion = "24.11";
modules.garage.enable = true;
# pin host platform & microcode
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault

View file

@ -20,13 +20,12 @@
# Nvidia
../../modules/common/nvidia.nix
# Services specific to this host
#../../services/xyz.nix
# Common secrets
#../../host-secrets.nix
];
system.stateVersion = "24.11";
# pin host platform & microcode
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault
@ -62,6 +61,7 @@
environment.systemPackages = with pkgs; [
#lm_sensors
code-server
agenix.packages.x86_64-linux.default
];
environment.sessionVariables.WLR_RENDERER = "vulkan";

View file

@ -14,14 +14,16 @@
../../modules/common/services.nix
../../modules/common/efi.nix
# Services specific to this host
../../services/garage.nix
../../services/forgejo.nix
# Common secrets
../../host-secrets.nix
];
# Enable modules
modules.garage.enable = true;
modules.forgejo.enable = true;
system.stateVersion = "24.11";
# pin host platform & microcode
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault
@ -83,9 +85,13 @@
services.zfs.autoScrub.enable = true;
services.zfs.trim.enable = true;
services.vscode-server.enable = true;
services.vscode-server.nodejsPackage = pkgs.nodejs_20;
environment.systemPackages = with pkgs; [
lm_sensors
code-server
agenix.packages.x86_64-linux.default
];
virtualisation.docker = {