2 Commits

Author SHA1 Message Date
Hadi bb78dd67a5 fix waybar OSD calls
Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com>
2026-08-13 23:21:04 +02:00
Hadi b241f6bbd1 change the password
Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com>
2026-08-13 23:20:58 +02:00
6 changed files with 10 additions and 8 deletions
+1 -1
View File
@@ -7,7 +7,7 @@
runtimeInputs = with pkgs; [procps coreutils]; runtimeInputs = with pkgs; [procps coreutils];
text = '' text = ''
printf '%s' "$1" > /tmp/waybar-osd printf '%s' "$1" > /tmp/waybar-osd
pkill -x -RTMIN+8 waybar 2>/dev/null || true pkill -f -RTMIN+8 '^waybar$' 2>/dev/null || true
''; '';
}; };
+2
View File
@@ -29,6 +29,8 @@
home-manager.users."${config.var.username}" = import ./home.nix; home-manager.users."${config.var.username}" = import ./home.nix;
users.users.${config.var.username}.hashedPasswordFile = config.sops.secrets.hashedPassword.path;
# Don't touch this # Don't touch this
system.stateVersion = "26.05"; system.stateVersion = "26.05";
} }
+1 -1
View File
@@ -64,7 +64,7 @@
files = [ files = [
".ssh/known_hosts" ".ssh/known_hosts"
".config/sops-nix/age/keys.txt" ".config/sops/age/keys.txt"
]; ];
}; };
+3 -1
View File
@@ -9,9 +9,11 @@
home = "/home/${username}"; home = "/home/${username}";
in { in {
sops = { sops = {
age.keyFile = "${home}/.config/sops-nix/age/keys.txt"; age.keyFile = "${home}/.config/sops/age/keys.txt";
defaultSopsFile = ./secrets.yaml; defaultSopsFile = ./secrets.yaml;
secrets = { secrets = {
hashedPassword.neededForUsers = true;
ssh-config = { ssh-config = {
owner = username; owner = username;
path = "${home}/.ssh/config"; path = "${home}/.ssh/config";
File diff suppressed because one or more lines are too long
-3
View File
@@ -17,9 +17,6 @@ in {
"networkmanager" "networkmanager"
"wheel" "wheel"
]; ];
# CHANGEME: Set your password with: mkpasswd -m sha-512
# Or use initialPassword for first boot, then change it
initialPassword = "nixos";
}; };
}; };
} }