This commit is contained in:
waveringana 2025-07-07 02:53:05 -04:00
parent 6559e6f1c7
commit 0c0e511e66
3 changed files with 59 additions and 7 deletions

46
flake.lock generated
View file

@ -61,6 +61,25 @@
"type": "github" "type": "github"
} }
}, },
"disko": {
"inputs": {
"nixpkgs": "nixpkgs_3"
},
"locked": {
"lastModified": 1736864502,
"narHash": "sha256-ItkIZyebGvNH2dK9jVGzJHGPtb6BSWLN8Gmef16NeY0=",
"owner": "nix-community",
"repo": "disko",
"rev": "0141aabed359f063de7413f80d906e1d98c0c123",
"type": "github"
},
"original": {
"owner": "nix-community",
"ref": "v1.11.0",
"repo": "disko",
"type": "github"
}
},
"flake-utils": { "flake-utils": {
"inputs": { "inputs": {
"systems": "systems_2" "systems": "systems_2"
@ -299,8 +318,24 @@
}, },
"nixpkgs_3": { "nixpkgs_3": {
"locked": { "locked": {
"lastModified": 1751792365, "lastModified": 1736241350,
"narHash": "sha256-J1kI6oAj25IG4EdVlg2hQz8NZTBNYvIS0l4wpr9KcUo=", "narHash": "sha256-CHd7yhaDigUuJyDeX0SADbTM9FXfiWaeNyY34FL1wQU=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "8c9fd3e564728e90829ee7dbac6edc972971cd0f",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_4": {
"locked": {
"lastModified": 1751637120,
"narHash": "sha256-xVNy/XopSfIG9c46nRmPaKfH1Gn/56vQ8++xWA8itO4=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "1fd8bada0b6117e6c7eb54aad5813023eed37ccb", "rev": "1fd8bada0b6117e6c7eb54aad5813023eed37ccb",
@ -313,7 +348,7 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_4": { "nixpkgs_5": {
"locked": { "locked": {
"lastModified": 1682134069, "lastModified": 1682134069,
"narHash": "sha256-TnI/ZXSmRxQDt2sjRYK/8j8iha4B4zP2cnQCZZ3vp7k=", "narHash": "sha256-TnI/ZXSmRxQDt2sjRYK/8j8iha4B4zP2cnQCZZ3vp7k=",
@ -331,11 +366,12 @@
"inputs": { "inputs": {
"agenix": "agenix", "agenix": "agenix",
"catppuccin": "catppuccin", "catppuccin": "catppuccin",
"disko": "disko",
"home-manager": "home-manager_2", "home-manager": "home-manager_2",
"lix-module": "lix-module", "lix-module": "lix-module",
"microvm": "microvm", "microvm": "microvm",
"nixos-hardware": "nixos-hardware", "nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs_3", "nixpkgs": "nixpkgs_4",
"vscode-server": "vscode-server", "vscode-server": "vscode-server",
"zen-browser": "zen-browser" "zen-browser": "zen-browser"
} }
@ -419,7 +455,7 @@
"vscode-server": { "vscode-server": {
"inputs": { "inputs": {
"flake-utils": "flake-utils_3", "flake-utils": "flake-utils_3",
"nixpkgs": "nixpkgs_4" "nixpkgs": "nixpkgs_5"
}, },
"locked": { "locked": {
"lastModified": 1750353031, "lastModified": 1750353031,

View file

@ -18,6 +18,8 @@
microvm.url = "github:astro/microvm.nix"; microvm.url = "github:astro/microvm.nix";
microvm.inputs.nixpkgs.follows = "nixpkgs"; microvm.inputs.nixpkgs.follows = "nixpkgs";
disko.url = "github:nix-community/disko/v1.11.0";
catppuccin.url = "github:catppuccin/nix"; catppuccin.url = "github:catppuccin/nix";
home-manager = { home-manager = {
url = "github:nix-community/home-manager"; url = "github:nix-community/home-manager";
@ -112,6 +114,7 @@
./hosts/baal ./hosts/baal
agenix.nixosModules.default agenix.nixosModules.default
disko.nixosModules.disko
{ imports = builtins.attrValues nixosModules; } { imports = builtins.attrValues nixosModules; }

View file

@ -11,14 +11,25 @@
../../host-secrets.nix ../../host-secrets.nix
]; ];
boot = {
loader = {
systemd-boot.enable = true;
efi = {
canTouchEfiVariables = true;
efiSysMountPoint = "/boot";
};
};
initrd.systemd.enable = true;
};
system.stateVersion = "24.11"; system.stateVersion = "24.11";
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux";
systemd.targets.multi-user.enable = true; systemd.targets.multi-user.enable = true;
networking = { networking = {
hostName = "baal"; hostName = "baal";
hostId = "193mdalf"; hostId = "aaaaaaaa";
networkmanager.enable = true; networkmanager.enable = true;
}; };
@ -26,4 +37,6 @@
enable = true; enable = true;
enableOnBoot = true; enableOnBoot = true;
}; };
documentation.enable = false;
} }