Compare commits
4 commits
fc2d9b1076
...
fcb86e0709
| Author | SHA1 | Date | |
|---|---|---|---|
| fcb86e0709 | |||
| f21dac2787 | |||
| c573fdf708 | |||
| 54a30af8c2 |
2 changed files with 1 additions and 31 deletions
|
|
@ -31,7 +31,6 @@
|
||||||
./modules/applications/keepassxc.nix
|
./modules/applications/keepassxc.nix
|
||||||
./modules/games/linux.nix
|
./modules/games/linux.nix
|
||||||
./modules/services/archiveteam-warrior.nix
|
./modules/services/archiveteam-warrior.nix
|
||||||
./modules/services/linkding.nix
|
|
||||||
|
|
||||||
./modules/nix/linux.nix
|
./modules/nix/linux.nix
|
||||||
./modules/shell.nix
|
./modules/shell.nix
|
||||||
|
|
@ -42,7 +41,7 @@
|
||||||
./modules/services/forgejo.nix
|
./modules/services/forgejo.nix
|
||||||
./modules/services/miniflux.nix
|
./modules/services/miniflux.nix
|
||||||
./modules/services/ssh.nix
|
./modules/services/ssh.nix
|
||||||
./modules/services/glance.nix
|
./modules/services/adguardhome.nix
|
||||||
./modules/services/media/arr.nix
|
./modules/services/media/arr.nix
|
||||||
./modules/services/media/jellyfin.nix
|
./modules/services/media/jellyfin.nix
|
||||||
|
|
||||||
|
|
@ -51,7 +50,6 @@
|
||||||
|
|
||||||
./modules/users/nico.nix
|
./modules/users/nico.nix
|
||||||
./modules/users/alex.nix
|
./modules/users/alex.nix
|
||||||
./modules/users/deploy.nix
|
|
||||||
./modules/hardware/secureboot.nix
|
./modules/hardware/secureboot.nix
|
||||||
lanzaboote.nixosModules.lanzaboote
|
lanzaboote.nixosModules.lanzaboote
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,28 +0,0 @@
|
||||||
{ config, lib, pkgs, ...}:
|
|
||||||
|
|
||||||
{
|
|
||||||
users.users.deploy = {
|
|
||||||
isNormalUser = true;
|
|
||||||
home = "/var/empty";
|
|
||||||
group = "deploy";
|
|
||||||
};
|
|
||||||
|
|
||||||
users.groups.deploy = {};
|
|
||||||
|
|
||||||
users.users.deploy.openssh.authorizedKeys.keys = [
|
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILXwl+UyfeN/9M/z21mlVS3guYEqIjtgAf5pCPkjXhR0"
|
|
||||||
];
|
|
||||||
|
|
||||||
security.sudo.extraRules = [
|
|
||||||
{
|
|
||||||
users = [ "deploy" ];
|
|
||||||
runAs = "root";
|
|
||||||
commands = [
|
|
||||||
{
|
|
||||||
command = "ALL";
|
|
||||||
options = [ "NOPASSWD" ];
|
|
||||||
}
|
|
||||||
];
|
|
||||||
}
|
|
||||||
];
|
|
||||||
}
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue