my nix configs for my servers and desktop

fix baal

Changed files
+59 -7
hosts
+41 -5
flake.lock
··· 61 "type": "github" 62 } 63 }, 64 "flake-utils": { 65 "inputs": { 66 "systems": "systems_2" ··· 299 }, 300 "nixpkgs_3": { 301 "locked": { 302 - "lastModified": 1751792365, 303 - "narHash": "sha256-J1kI6oAj25IG4EdVlg2hQz8NZTBNYvIS0l4wpr9KcUo=", 304 "owner": "nixos", 305 "repo": "nixpkgs", 306 "rev": "1fd8bada0b6117e6c7eb54aad5813023eed37ccb", ··· 313 "type": "github" 314 } 315 }, 316 - "nixpkgs_4": { 317 "locked": { 318 "lastModified": 1682134069, 319 "narHash": "sha256-TnI/ZXSmRxQDt2sjRYK/8j8iha4B4zP2cnQCZZ3vp7k=", ··· 331 "inputs": { 332 "agenix": "agenix", 333 "catppuccin": "catppuccin", 334 "home-manager": "home-manager_2", 335 "lix-module": "lix-module", 336 "microvm": "microvm", 337 "nixos-hardware": "nixos-hardware", 338 - "nixpkgs": "nixpkgs_3", 339 "vscode-server": "vscode-server", 340 "zen-browser": "zen-browser" 341 } ··· 419 "vscode-server": { 420 "inputs": { 421 "flake-utils": "flake-utils_3", 422 - "nixpkgs": "nixpkgs_4" 423 }, 424 "locked": { 425 "lastModified": 1750353031,
··· 61 "type": "github" 62 } 63 }, 64 + "disko": { 65 + "inputs": { 66 + "nixpkgs": "nixpkgs_3" 67 + }, 68 + "locked": { 69 + "lastModified": 1736864502, 70 + "narHash": "sha256-ItkIZyebGvNH2dK9jVGzJHGPtb6BSWLN8Gmef16NeY0=", 71 + "owner": "nix-community", 72 + "repo": "disko", 73 + "rev": "0141aabed359f063de7413f80d906e1d98c0c123", 74 + "type": "github" 75 + }, 76 + "original": { 77 + "owner": "nix-community", 78 + "ref": "v1.11.0", 79 + "repo": "disko", 80 + "type": "github" 81 + } 82 + }, 83 "flake-utils": { 84 "inputs": { 85 "systems": "systems_2" ··· 318 }, 319 "nixpkgs_3": { 320 "locked": { 321 + "lastModified": 1736241350, 322 + "narHash": "sha256-CHd7yhaDigUuJyDeX0SADbTM9FXfiWaeNyY34FL1wQU=", 323 + "owner": "NixOS", 324 + "repo": "nixpkgs", 325 + "rev": "8c9fd3e564728e90829ee7dbac6edc972971cd0f", 326 + "type": "github" 327 + }, 328 + "original": { 329 + "owner": "NixOS", 330 + "ref": "nixpkgs-unstable", 331 + "repo": "nixpkgs", 332 + "type": "github" 333 + } 334 + }, 335 + "nixpkgs_4": { 336 + "locked": { 337 + "lastModified": 1751637120, 338 + "narHash": "sha256-xVNy/XopSfIG9c46nRmPaKfH1Gn/56vQ8++xWA8itO4=", 339 "owner": "nixos", 340 "repo": "nixpkgs", 341 "rev": "1fd8bada0b6117e6c7eb54aad5813023eed37ccb", ··· 348 "type": "github" 349 } 350 }, 351 + "nixpkgs_5": { 352 "locked": { 353 "lastModified": 1682134069, 354 "narHash": "sha256-TnI/ZXSmRxQDt2sjRYK/8j8iha4B4zP2cnQCZZ3vp7k=", ··· 366 "inputs": { 367 "agenix": "agenix", 368 "catppuccin": "catppuccin", 369 + "disko": "disko", 370 "home-manager": "home-manager_2", 371 "lix-module": "lix-module", 372 "microvm": "microvm", 373 "nixos-hardware": "nixos-hardware", 374 + "nixpkgs": "nixpkgs_4", 375 "vscode-server": "vscode-server", 376 "zen-browser": "zen-browser" 377 } ··· 455 "vscode-server": { 456 "inputs": { 457 "flake-utils": "flake-utils_3", 458 + "nixpkgs": "nixpkgs_5" 459 }, 460 "locked": { 461 "lastModified": 1750353031,
+3
flake.nix
··· 18 microvm.url = "github:astro/microvm.nix"; 19 microvm.inputs.nixpkgs.follows = "nixpkgs"; 20 21 catppuccin.url = "github:catppuccin/nix"; 22 home-manager = { 23 url = "github:nix-community/home-manager"; ··· 112 ./hosts/baal 113 114 agenix.nixosModules.default 115 116 { imports = builtins.attrValues nixosModules; } 117
··· 18 microvm.url = "github:astro/microvm.nix"; 19 microvm.inputs.nixpkgs.follows = "nixpkgs"; 20 21 + disko.url = "github:nix-community/disko/v1.11.0"; 22 + 23 catppuccin.url = "github:catppuccin/nix"; 24 home-manager = { 25 url = "github:nix-community/home-manager"; ··· 114 ./hosts/baal 115 116 agenix.nixosModules.default 117 + disko.nixosModules.disko 118 119 { imports = builtins.attrValues nixosModules; } 120
+15 -2
hosts/baal/default.nix
··· 11 ../../host-secrets.nix 12 ]; 13 14 system.stateVersion = "24.11"; 15 - nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; 16 17 systemd.targets.multi-user.enable = true; 18 19 networking = { 20 hostName = "baal"; 21 - hostId = "193mdalf"; 22 networkmanager.enable = true; 23 }; 24 ··· 26 enable = true; 27 enableOnBoot = true; 28 }; 29 }
··· 11 ../../host-secrets.nix 12 ]; 13 14 + boot = { 15 + loader = { 16 + systemd-boot.enable = true; 17 + efi = { 18 + canTouchEfiVariables = true; 19 + efiSysMountPoint = "/boot"; 20 + }; 21 + }; 22 + initrd.systemd.enable = true; 23 + }; 24 + 25 system.stateVersion = "24.11"; 26 + nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux"; 27 28 systemd.targets.multi-user.enable = true; 29 30 networking = { 31 hostName = "baal"; 32 + hostId = "aaaaaaaa"; 33 networkmanager.enable = true; 34 }; 35 ··· 37 enable = true; 38 enableOnBoot = true; 39 }; 40 + 41 + documentation.enable = false; 42 }