mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-08-21 10:45:49 +02:00
Compare commits
2 Commits
main
...
bb78dd67a5
| Author | SHA1 | Date | |
|---|---|---|---|
| bb78dd67a5 | |||
| b241f6bbd1 |
@@ -7,7 +7,7 @@
|
||||
runtimeInputs = with pkgs; [procps coreutils];
|
||||
text = ''
|
||||
printf '%s' "$1" > /tmp/waybar-osd
|
||||
pkill -x -RTMIN+8 waybar 2>/dev/null || true
|
||||
pkill -f -RTMIN+8 '^waybar$' 2>/dev/null || true
|
||||
'';
|
||||
};
|
||||
|
||||
|
||||
@@ -29,6 +29,8 @@
|
||||
|
||||
home-manager.users."${config.var.username}" = import ./home.nix;
|
||||
|
||||
users.users.${config.var.username}.hashedPasswordFile = config.sops.secrets.hashedPassword.path;
|
||||
|
||||
# Don't touch this
|
||||
system.stateVersion = "26.05";
|
||||
}
|
||||
|
||||
@@ -64,7 +64,7 @@
|
||||
|
||||
files = [
|
||||
".ssh/known_hosts"
|
||||
".config/sops-nix/age/keys.txt"
|
||||
".config/sops/age/keys.txt"
|
||||
];
|
||||
};
|
||||
|
||||
|
||||
@@ -9,9 +9,11 @@
|
||||
home = "/home/${username}";
|
||||
in {
|
||||
sops = {
|
||||
age.keyFile = "${home}/.config/sops-nix/age/keys.txt";
|
||||
age.keyFile = "${home}/.config/sops/age/keys.txt";
|
||||
defaultSopsFile = ./secrets.yaml;
|
||||
secrets = {
|
||||
hashedPassword.neededForUsers = true;
|
||||
|
||||
ssh-config = {
|
||||
owner = username;
|
||||
path = "${home}/.ssh/config";
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -17,9 +17,6 @@ in {
|
||||
"networkmanager"
|
||||
"wheel"
|
||||
];
|
||||
# CHANGEME: Set your password with: mkpasswd -m sha-512
|
||||
# Or use initialPassword for first boot, then change it
|
||||
initialPassword = "nixos";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user