fix: NixOS | update sops configs

This commit is contained in:
2025-02-04 10:35:37 +05:00
parent d816cd6326
commit d63beab0b0
2 changed files with 28 additions and 27 deletions

48
flake.lock generated
View File

@@ -20,11 +20,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1738183445, "lastModified": 1738456976,
"narHash": "sha256-C1He3N1SA8D2u+TSlldbA9wiYwDvXI4GxX3zKaeD7qU=", "narHash": "sha256-cufyHbOMnSt9V4w4OVSzNcpJ+8DwzRZRJaca2Q89KVI=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "aquamarine", "repo": "aquamarine",
"rev": "48a000cf35dd10bfeb231152735aebbe875f4b74", "rev": "257b2050790ab3b1eb389e0f8bdc400eb9510139",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -172,11 +172,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1738448366, "lastModified": 1738610386,
"narHash": "sha256-4ATtQqBlgsGqkHTemta0ydY6f7JBRXz4Hf574NHQpkg=", "narHash": "sha256-yb6a5efA1e8xze1vcdN2HBxqYr340EsxFMrDUHL3WZM=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "18fa9f323d8adbb0b7b8b98a8488db308210ed93", "rev": "066ba0c5cfddbc9e0dddaec73b1561ad38aa8abe",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -230,11 +230,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1738018829, "lastModified": 1738437059,
"narHash": "sha256-5Ol5iahMlELx3lWuChyZsqqLk6sP6aqaJCJFw92OZGo=", "narHash": "sha256-J+8ecqaP3zD9GHeN8Y4hUapoELSoggp0IZI8laTFt/0=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "hyprgraphics", "repo": "hyprgraphics",
"rev": "12cd7034e441a5ebfdef1a090c0788413b4a635b", "rev": "5ac80e3686a4dfa55d2bd15c81a266b89594a295",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -259,11 +259,11 @@
"xdph": "xdph" "xdph": "xdph"
}, },
"locked": { "locked": {
"lastModified": 1738499523, "lastModified": 1738622170,
"narHash": "sha256-vSdIeH/G/qEuz9TTjWWQC7W5VFrYjXRlJrK2zekJK1Y=", "narHash": "sha256-M9lm/lbT10cOXcfMMEzRFLehDlVWnkiy38xVDPWyqk4=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "Hyprland", "repo": "Hyprland",
"rev": "97a24ec6f3abd2b2ce4c2e00627679a2713848dd", "rev": "5e7292434a9189d0550187f8a6fb687848194a41",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -284,11 +284,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1737556638, "lastModified": 1738422629,
"narHash": "sha256-laKgI3mr2qz6tas/q3tuGPxMdsGhBi/w+HO+hO2f1AY=", "narHash": "sha256-5v+bv75wJWvahyM2xcMTSNNxmV8a7hb01Eey5zYnBJw=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "hyprland-protocols", "repo": "hyprland-protocols",
"rev": "4c75dd5c015c8a0e5a34c6d02a018a650f57feb5", "rev": "755aef8dab49d0fc4663c715fa4ad221b2aedaed",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -473,10 +473,10 @@
"nix-secrets": { "nix-secrets": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1738498247, "lastModified": 1738647282,
"narHash": "sha256-xMq5P/UOmLy5iaQo6/5X4JK1MNnmL7EJAfWqPmjtRMQ=", "narHash": "sha256-6HEgOqVCaoBBEPvqrLdYxuIs47d0GYYsfxtRqM7Ak6Q=",
"ref": "main", "ref": "main",
"rev": "270597e8706aead70607fbed0a78366ed9c2b3c5", "rev": "314b4c2745e277d28132d7988f7e3e6f3424fddb",
"shallow": true, "shallow": true,
"type": "git", "type": "git",
"url": "ssh://git@git.dogar.dev/shahab/nix-secrets" "url": "ssh://git@git.dogar.dev/shahab/nix-secrets"
@@ -490,11 +490,11 @@
}, },
"nixos-hardware": { "nixos-hardware": {
"locked": { "locked": {
"lastModified": 1738471961, "lastModified": 1738638143,
"narHash": "sha256-cgXDFrplNGs7bCVzXhRofjD8oJYqqXGcmUzXjHmip6Y=", "narHash": "sha256-ZYMe4c4OCtIUBn5hx15PEGr0+B1cNEpl2dsaLxwY2W0=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixos-hardware", "repo": "nixos-hardware",
"rev": "537286c3c59b40311e5418a180b38034661d2536", "rev": "9bdd53f5908453e4d03f395eb1615c3e9a351f70",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -506,11 +506,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1737885589, "lastModified": 1738410390,
"narHash": "sha256-Zf0hSrtzaM1DEz8//+Xs51k/wdSajticVrATqDrfQjg=", "narHash": "sha256-xvTo0Aw0+veek7hvEVLzErmJyQkEcRk6PSR4zsRQFEc=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "852ff1d9e153d8875a83602e03fdef8a63f0ecf8", "rev": "3a228057f5b619feb3186e986dbe76278d707b6e",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@@ -126,18 +126,18 @@ in
isNormalUser = true; isNormalUser = true;
description = "Shahab Dogar"; description = "Shahab Dogar";
extraGroups = [ "networkmanager" "wheel" "input" "libvirtd" ]; extraGroups = [ "networkmanager" "wheel" "input" "libvirtd" ];
hashedPasswordFile = config.sops.secrets.shahab_passwd.path; hashedPasswordFile = config.sops.secrets."user_passwords/shahab".path;
}; };
sops = { sops = {
defaultSopsFile = "${secretspath}/secrets.yaml"; defaultSopsFile = "${secretspath}/secrets.yaml";
age = { age = {
sshKeyPaths = ["/home/shahab/.ssh/id_ed25519"]; sshKeyPaths = ["/home/shahab/.ssh/id_ed25519"];
keyFile = "/home/shahab/.config/sops/age/key.txt"; keyFile = "/home/shahab/.config/sops/age/keys.txt";
generateKey = true; generateKey = true;
}; };
secrets = { secrets = {
shahab_passwd = { "user_passwords/shahab" = {
neededForUsers = true; neededForUsers = true;
}; };
}; };
@@ -162,6 +162,7 @@ in
spice-protocol spice-protocol
win-virtio win-virtio
win-spice win-spice
sops
sbctl # Secure boot sbctl # Secure boot
# Gaming stuff # Gaming stuff