Update Flake with Disko and fix EFI Mount Point

This commit is contained in:
Sravan Balaji 2024-03-24 13:29:50 -04:00
parent b202ec84df
commit 8331551e20
3 changed files with 26 additions and 10 deletions

View File

@ -28,13 +28,8 @@ in {
content = {
type = "luks";
name = "cryptroot";
# disable settings.keyFile if you want to use interactive password entry
settings.allowDiscards = true;
# passwordFile = "/tmp/secret.key"; # Interactive
settings = {
allowDiscards = true;
# keyFile = "/tmp/secret.key";
};
# additionalKeyFiles = [ "/tmp/additionalSecret.key" ];
content = {
type = "btrfs";
extraArgs = [ "-f" ];

27
flake.lock generated
View File

@ -147,6 +147,26 @@
"type": "github"
}
},
"disko": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1711261295,
"narHash": "sha256-5DUNQl9BSmLxgGLbF05G7hi/UTk9DyZq8AuEszhQA7Q=",
"owner": "nix-community",
"repo": "disko",
"rev": "5d2d3e421ade554b19b4dbb0d11a04023378a330",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "disko",
"type": "github"
}
},
"flake-compat": {
"flake": false,
"locked": {
@ -288,6 +308,7 @@
},
"root": {
"inputs": {
"disko": "disko",
"home-manager": "home-manager",
"nixpkgs": "nixpkgs",
"nixpkgs-stable": "nixpkgs-stable",
@ -311,11 +332,11 @@
"nixpkgs": "nixpkgs_2"
},
"locked": {
"lastModified": 1711106191,
"narHash": "sha256-WX1Tyb94jB3ksSQ5UtlTY/1UBsO7FlFNPjG3BXt9/0Q=",
"lastModified": 1711224130,
"narHash": "sha256-RyOvyQASi5lvKLH5ISiGGkdX1eJxYF25aQALGfN9U0k=",
"owner": "danth",
"repo": "stylix",
"rev": "4da2d793e586f3f45a54fb9755ee9bf39d3cd52e",
"rev": "53d3e5d5b36a5227b906e00d7e884dcfb7852403",
"type": "github"
},
"original": {

View File

@ -35,7 +35,7 @@
loader = {
efi = {
canTouchEfiVariables = true;
efiSysMountPoint = "/boot";
efiSysMountPoint = "/boot/EFI";
};
grub = {
enable = true;