more testing

This commit is contained in:
RingOfStorms (Joshua Bell) 2025-08-15 10:40:26 -05:00
parent af80dc05e2
commit 1ebdb42d62
4 changed files with 28 additions and 5 deletions

View file

@ -29,7 +29,7 @@ in
type = "filesystem"; type = "filesystem";
format = "vfat"; format = "vfat";
mountpoint = "/boot"; mountpoint = "/boot";
formatOptions = [ extraArgs = [
"-n" "-n"
"NIXBOOT" "NIXBOOT"
]; ];
@ -71,7 +71,7 @@ in
"@swap" = lib.mkIf cfg.withSwap { "@swap" = lib.mkIf cfg.withSwap {
inherit mountOptions; inherit mountOptions;
mountpoint = "/.swapfile"; mountpoint = "/.swapfile";
swap.swapfile.size = 8 * 1024; # 8GB swap.swapfile.size = "8G";
}; };
}; };
}; };

View file

@ -82,6 +82,27 @@
"type": "github" "type": "github"
} }
}, },
"disko": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1746728054,
"narHash": "sha256-eDoSOhxGEm2PykZFa/x9QG5eTH0MJdiJ9aR00VAofXE=",
"owner": "nix-community",
"repo": "disko",
"rev": "ff442f5d1425feb86344c028298548024f21256d",
"type": "github"
},
"original": {
"owner": "nix-community",
"ref": "latest",
"repo": "disko",
"type": "github"
}
},
"flake-utils": { "flake-utils": {
"inputs": { "inputs": {
"systems": "systems_2" "systems": "systems_2"
@ -1159,6 +1180,7 @@
"root": { "root": {
"inputs": { "inputs": {
"common": "common", "common": "common",
"disko": "disko",
"nixpkgs": "nixpkgs_3", "nixpkgs": "nixpkgs_3",
"ros_neovim": "ros_neovim" "ros_neovim": "ros_neovim"
} }

View file

@ -7,8 +7,8 @@
common.url = "path:../../common"; common.url = "path:../../common";
# common.url = "git+https://git.joshuabell.xyz/ringofstorms/dotfiles"; # common.url = "git+https://git.joshuabell.xyz/ringofstorms/dotfiles";
inputs.disko.url = "github:nix-community/disko/latest"; disko.url = "github:nix-community/disko/latest";
inputs.disko.inputs.nixpkgs.follows = "nixpkgs"; disko.inputs.nixpkgs.follows = "nixpkgs";
# impermanence.url = "github:nix-community/impermanence"; # impermanence.url = "github:nix-community/impermanence";
ros_neovim.url = "git+https://git.joshuabell.xyz/ringofstorms/nvim"; ros_neovim.url = "git+https://git.joshuabell.xyz/ringofstorms/nvim";
@ -30,7 +30,7 @@
in in
{ {
packages = { packages = {
x86_64-linux.vm = self.nixosConfigurations.${configuration_name}.config.system.build.vm; x86_64-linux.vm = self.nixosConfigurations.${configuration_name}.config.system.build.vmWithDisko;
}; };
nixosConfigurations = { nixosConfigurations = {
"${configuration_name}" = ( "${configuration_name}" = (
@ -42,6 +42,7 @@
ros_neovim.nixosModules.default ros_neovim.nixosModules.default
./configuration.nix ./configuration.nix
./hardware-configuration.nix ./hardware-configuration.nix
./disko-config.nix
( (
{ config, pkgs, ... }: { config, pkgs, ... }:
{ {

Binary file not shown.