mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-08-21 18:55:47 +02:00
Compare commits
2 Commits
main
...
bb78dd67a5
| Author | SHA1 | Date | |
|---|---|---|---|
| bb78dd67a5 | |||
| b241f6bbd1 |
@@ -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
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -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";
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -64,7 +64,7 @@
|
|||||||
|
|
||||||
files = [
|
files = [
|
||||||
".ssh/known_hosts"
|
".ssh/known_hosts"
|
||||||
".config/sops-nix/age/keys.txt"
|
".config/sops/age/keys.txt"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -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
@@ -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";
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user