laptop disko test

This commit is contained in:
2025-02-07 23:31:20 -05:00
parent 508a3ccc9b
commit ae019440a5
4 changed files with 51 additions and 3 deletions

40
etcnixos/disko_mreow.nix Normal file
View File

@@ -0,0 +1,40 @@
{
disko.devices = {
disk = {
main = {
type = "disk";
device = "/dev/sdb";
# device = "/dev/nvme0n1";
content = {
type = "gpt";
partitions = {
ESP = {
size = "500M";
type = "EF00";
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
mountOptions = [ "umask=0077" ];
};
};
luks = {
size = "100%";
content = {
type = "luks";
name = "crypted";
settings.allowDiscards = true;
passwordFile = "/tmp/secret.key";
content = {
type = "filesystem";
format = "ext4";
mountpoint = "/";
};
};
};
};
};
};
};
};
}

View File

@@ -20,6 +20,11 @@
url = "github:chaotic-cx/nyx/nyxpkgs-unstable";
inputs.nixpkgs.follows = "nixpkgs";
};
disko = {
url = "github:nix-community/disko";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs =

View File

@@ -13,6 +13,9 @@
inputs.nixos-hardware.nixosModules.framework-12th-gen-intel
inputs.lanzaboote.nixosModules.lanzaboote
inputs.disko.nixosModules.disko
./disko_mreow.nix
];
hardware.framework.laptop13.audioEnhancement = {

View File

@@ -242,11 +242,11 @@
]
},
"locked": {
"lastModified": 1738951757,
"narHash": "sha256-I0Bmxpjid9m7Gg+z2HVASlpQpKzR7QJq5X8b9wCZFVY=",
"lastModified": 1738984719,
"narHash": "sha256-bejXG9u1z3Er7kcsCF3L9v7pb94J9OiuIYoO/TQgEiQ=",
"owner": "0xc000022070",
"repo": "zen-browser-flake",
"rev": "e2f657fb55f62fb57e614a1e22e9e667996f5234",
"rev": "e81208f101c5e6c85630fd3b35c798e1ac77f1d4",
"type": "github"
},
"original": {