refactor: fix several minor bugs and potential security issues

This commit is contained in:
2026-10-20 15:49:18 -04:00
parent 59fb26b5ca
commit 2e92624d07
7 changed files with 30 additions and 14 deletions
+12 -1
View File
@@ -1,4 +1,15 @@
{ _, ... }:
{
virtualisation.docker.enable = true;
virtualisation.docker = {
enable = true;
rootless = {
enable = true;
setSocketVariable = true;
daemon.settings = {
data-root = "$XDG_DATA_HOME/docker";
};
};
};
}
+7
View File
@@ -0,0 +1,7 @@
{ _, ... }:
{
security.sudo = {
enable = true;
wheelNeedsPassword = true;
};
}
-4
View File
@@ -46,10 +46,6 @@
appId = "com.vysp3r.ProtonPlus";
origin = "flathub";
}
{
appId = "io.mpv.Mpv";
origin = "flathub";
}
{
appId = "org.ghidra_sre.Ghidra";
origin = "flathub";
+1 -1
View File
@@ -54,7 +54,7 @@
};
"/mnt/fileshare" = {
device = "frank@192.168.1.181:/mnt/shares";
device = "frank@vergil.cfl.rr.com:/mnt/shares";
fsType = "sshfs";
options = [
"uid=1000"
+1 -1
View File
@@ -13,6 +13,7 @@
../../features/avahi.nix
../../features/systemd-boot.nix
../../features/i18n.nix
../../features/sudo.nix
./nix-package-manager.nix
];
@@ -172,7 +173,6 @@
"wheel"
"input"
"video"
"docker"
"uinput"
];
};
+1 -1
View File
@@ -11,6 +11,7 @@
../../features/avahi.nix
../../features/systemd-boot.nix
../../features/i18n.nix
../../features/sudo.nix
./nix-package-manager.nix
];
@@ -72,7 +73,6 @@
extraGroups = [
"wheel"
"libvirtd"
"docker"
];
};
+4 -2
View File
@@ -31,12 +31,14 @@
};
};
users.users."remotebuild" = {
users.users = {
"remotebuild" = {
isSystemUser = true;
group = "remotebuild";
useDefaultShell = true;
openssh.authorizedKeys.keyFiles = [ ./remotebuild.pub ];
};
};
users.groups.remotebuild = { };
nix.settings.trusted-users = [ "remotebuild" ];
@@ -86,7 +88,7 @@
jellyfin = {
enable = true;
openFirewall = true;
user = "frank";
user = "jellyfin";
};
};