Update Nix configurations and bump flake.lock dependencies
Refine hardware and README LUKS syntax. Adjust CUPS publish options and remove the Hyprland portal. Add bubblewrap to Codex packages. Disable Opencode validation and enable mutable settings. Remove the unused beads package from extra-packages. Update flake.lock to newer revisions for all dependencies.
This commit is contained in:
1 parent
514e3a7f62
commit
1b4dd4e329
9 files changed
+40
-53
No files matched your search
@@ -97,12 +97,7 @@ sudo nano /mnt/etc/nixos/hardware-configuration.nix
|
|||||||
|
|
||||||
**Add BEFORE `fileSystems` section (replace UUID with yours):**
|
**Add BEFORE `fileSystems` section (replace UUID with yours):**
|
||||||
```nix
|
```nix
|
||||||
boot.initrd.luks.devices = {
|
boot.initrd.luks.devices.cryptroot.device = "/dev/disk/by-uuid/YOUR-LUKS-UUID";
|
||||||
cryptroot = {
|
|
||||||
device = "/dev/disk/by-uuid/YOUR-LUKS-UUID";
|
|
||||||
preLVM = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
```
|
```
|
||||||
|
|
||||||
**Also make sure SWAP is mounted**
|
**Also make sure SWAP is mounted**
|
||||||
|
|||||||
Generated
+24
-24
@@ -17,11 +17,11 @@
|
|||||||
"wintypes_shim": "wintypes_shim"
|
"wintypes_shim": "wintypes_shim"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1791516752,
|
"lastModified": 1792710311,
|
||||||
"narHash": "sha256-hb1mfDpFUWCTWfGx7rDoFH8B+zItlPbW6jinXRpJnFw=",
|
"narHash": "sha256-Uyd6UpHOZ6ly18cIlWz6HBIw5TfV4lCqVpcr01Lzer0=",
|
||||||
"owner": "mrshmllow",
|
"owner": "mrshmllow",
|
||||||
"repo": "affinity-nix",
|
"repo": "affinity-nix",
|
||||||
"rev": "47d5b16c3e2e2412c0d5df9963c02d0e8c5e97d6",
|
"rev": "69c5cb42a7dd596027183776d82bf206d732fc91",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -116,11 +116,11 @@
|
|||||||
},
|
},
|
||||||
"crane": {
|
"crane": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1790899423,
|
"lastModified": 1792350552,
|
||||||
"narHash": "sha256-THGtz65UGJU+sonZidRboyCMk+9DclpMF7pwL4uDV4M=",
|
"narHash": "sha256-292lvpvxTGKryKxh3/3tcIVi85CwYGdl4oOi113Sob8=",
|
||||||
"owner": "ipetkov",
|
"owner": "ipetkov",
|
||||||
"repo": "crane",
|
"repo": "crane",
|
||||||
"rev": "47b6b27ed9a3a9181415e4367d0c30ab2a0e0250",
|
"rev": "e675a36b7377bebe41d548388a2501cbb16d380d",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -159,11 +159,11 @@
|
|||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"dir": "pkgs/firefox-addons",
|
"dir": "pkgs/firefox-addons",
|
||||||
"lastModified": 1792296368,
|
"lastModified": 1792814573,
|
||||||
"narHash": "sha256-7jUSkqPNuYLZfP46HfiraqKJTbL9FAWMtlKM1DOMmFo=",
|
"narHash": "sha256-7+ojfPKvE9KK61UE4mKK4VrDXXwkGgKbch3Gx9YvFZY=",
|
||||||
"owner": "rycee",
|
"owner": "rycee",
|
||||||
"repo": "nur-expressions",
|
"repo": "nur-expressions",
|
||||||
"rev": "b7117a93a4ede917b7d4a356872b9a4a54967e11",
|
"rev": "59de78807c1f0e7746285a4479ce961f05bb8ad2",
|
||||||
"type": "gitlab"
|
"type": "gitlab"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -303,11 +303,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1790500375,
|
"lastModified": 1791909798,
|
||||||
"narHash": "sha256-XN3sDtn8TU9hAc9xqZ+SqRB/HHm2wjxM6aSWYLJU+oo=",
|
"narHash": "sha256-VAhpCOmrun/KXimYfR8NM88bciKCui7CqHHhThSzgag=",
|
||||||
"owner": "cachix",
|
"owner": "cachix",
|
||||||
"repo": "git-hooks.nix",
|
"repo": "git-hooks.nix",
|
||||||
"rev": "a0e4241b51206fbcbf52fd322eb5f0cd80f153c4",
|
"rev": "1ba1dbfe28738c9a71c266be6efa5b89e75491a9",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -342,11 +342,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1792098797,
|
"lastModified": 1792818371,
|
||||||
"narHash": "sha256-u4DIIZgznEGzByxXrxWCXK19VcMtTBmi/M9gZ7Jk9bM=",
|
"narHash": "sha256-yhEZAzZRNvzYpoAlyFY3wM75V9BmkIXJIueof8S5gOg=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "640725978b99076e18e069f6e7d2959124584f8f",
|
"rev": "2cd3234928f60bbff695a7ee56115ef7799c47cd",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -415,11 +415,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1792094642,
|
"lastModified": 1792773339,
|
||||||
"narHash": "sha256-zp8ToDMnqZcu4o4IH9pdwXFXGp7yLm/M0dEnNWnyd7I=",
|
"narHash": "sha256-rZLrzrC6i+jnTAlvPZHogKDulY7WWDEv9hJeHieO7Zw=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "fe13242281a67641c0102cdb1087f0ebe586c7df",
|
"rev": "3ec636362e1816bc2f0888fa0fa2c69f1bc9e504",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -451,11 +451,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1792347896,
|
"lastModified": 1792871159,
|
||||||
"narHash": "sha256-Ty1wTxDluBqvNUyogrgKz+Bq0ur8RQl1FQ1ZEo3QyCs=",
|
"narHash": "sha256-LPPfc9Dg7Gpu74ihbgqeeFXeg4VDn2WY7CnLEcV2wx4=",
|
||||||
"owner": "noctalia-dev",
|
"owner": "noctalia-dev",
|
||||||
"repo": "noctalia-shell",
|
"repo": "noctalia-shell",
|
||||||
"rev": "aa0aa81ad2432ca63634d49bb5380f5db2114888",
|
"rev": "a44918e576578cce0e69ba22e5ab0ead87d967ce",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -692,11 +692,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1791110613,
|
"lastModified": 1791885023,
|
||||||
"narHash": "sha256-O5XhWb2cQqo+OG0fpDhK/RfsPUetdw24aop/22e74tE=",
|
"narHash": "sha256-C3alQ2MEt0zVrUSho5NUDo3jmhbff72++bfwoqT9Omo=",
|
||||||
"owner": "numtide",
|
"owner": "numtide",
|
||||||
"repo": "treefmt-nix",
|
"repo": "treefmt-nix",
|
||||||
"rev": "930ae5bbd97d4fc4c33c588bfd417c882d353e71",
|
"rev": "0d6d739a833ba9a9c93034862e4a7b061a062a1c",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|||||||
@@ -22,12 +22,7 @@
|
|||||||
"sd_mod"
|
"sd_mod"
|
||||||
];
|
];
|
||||||
kernelModules = ["dm-snapshot"];
|
kernelModules = ["dm-snapshot"];
|
||||||
luks.devices = {
|
luks.devices.cryptroot.device = "/dev/disk/by-uuid/7c018698-d35c-4ee6-92a8-5e4edf914065";
|
||||||
cryptroot = {
|
|
||||||
device = "/dev/disk/by-uuid/7c018698-d35c-4ee6-92a8-5e4edf914065";
|
|
||||||
preLVM = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
kernelModules = ["kvm-amd"];
|
kernelModules = ["kvm-amd"];
|
||||||
extraModulePackages = [];
|
extraModulePackages = [];
|
||||||
|
|||||||
@@ -20,10 +20,7 @@
|
|||||||
"sd_mod"
|
"sd_mod"
|
||||||
];
|
];
|
||||||
kernelModules = ["dm-snapshot"];
|
kernelModules = ["dm-snapshot"];
|
||||||
luks.devices.cryptroot = {
|
luks.devices.cryptroot.device = "/dev/disk/by-uuid/6abc2228-823e-42b0-94c7-48fda757732c";
|
||||||
device = "/dev/disk/by-uuid/6abc2228-823e-42b0-94c7-48fda757732c";
|
|
||||||
preLVM = true;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
kernelModules = ["kvm-amd"];
|
kernelModules = ["kvm-amd"];
|
||||||
extraModulePackages = [];
|
extraModulePackages = [];
|
||||||
|
|||||||
@@ -24,15 +24,11 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
nssmdns4 = true;
|
nssmdns4 = true;
|
||||||
openFirewall = true;
|
openFirewall = true;
|
||||||
publish = {
|
settings.publish = {
|
||||||
enable = true;
|
disable-publishing = false;
|
||||||
userServices = true;
|
disable-user-service-publishing = false;
|
||||||
|
publish-addresses = true;
|
||||||
};
|
};
|
||||||
# settings.publish = {
|
|
||||||
# disable-publishing = false;
|
|
||||||
# disable-user-service-publishing = false;
|
|
||||||
# publish-adresses = true;
|
|
||||||
# };
|
|
||||||
};
|
};
|
||||||
|
|
||||||
ipp-usb.enable = true;
|
ipp-usb.enable = true;
|
||||||
|
|||||||
@@ -3,7 +3,6 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
wlr.enable = true;
|
wlr.enable = true;
|
||||||
extraPortals = with pkgs; [
|
extraPortals = with pkgs; [
|
||||||
xdg-desktop-portal-hyprland
|
|
||||||
xdg-desktop-portal-gtk
|
xdg-desktop-portal-gtk
|
||||||
];
|
];
|
||||||
configPackages = [pkgs.hyprland];
|
configPackages = [pkgs.hyprland];
|
||||||
|
|||||||
@@ -7,8 +7,9 @@
|
|||||||
options.codex.enable = lib.mkEnableOption "Codex";
|
options.codex.enable = lib.mkEnableOption "Codex";
|
||||||
|
|
||||||
config = lib.mkIf config.codex.enable {
|
config = lib.mkIf config.codex.enable {
|
||||||
home.packages = [
|
home.packages = with pkgs; [
|
||||||
pkgs.nodejs
|
nodejs
|
||||||
|
bubblewrap
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.codex = {
|
programs.codex = {
|
||||||
|
|||||||
@@ -9,7 +9,12 @@
|
|||||||
config.programs.opencode = lib.mkIf config.opencode.enable {
|
config.programs.opencode = lib.mkIf config.opencode.enable {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.opencode;
|
package = pkgs.opencode;
|
||||||
validateFiles.config = true;
|
validateFiles = {
|
||||||
|
config = false;
|
||||||
|
cli = false;
|
||||||
|
};
|
||||||
|
mutableSettings = true;
|
||||||
|
cli = {};
|
||||||
};
|
};
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
|
|||||||
@@ -4,7 +4,6 @@
|
|||||||
ruff
|
ruff
|
||||||
biome
|
biome
|
||||||
bun
|
bun
|
||||||
beads
|
|
||||||
rust-analyzer
|
rust-analyzer
|
||||||
alejandra
|
alejandra
|
||||||
docker
|
docker
|
||||||
|
|||||||
Reference in new issue
Block a user