no pihole
This commit is contained in:
@@ -111,12 +111,9 @@
|
|||||||
|
|
||||||
users.users."nathan" = {
|
users.users."nathan" = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
initialPassword = "7567";
|
hashedPasswordFile = config.sops.secrets."nathan/pass".path;
|
||||||
#hashedPasswordFile = config.sops.secrets."nathan/pass".path;
|
|
||||||
extraGroups = [
|
extraGroups = [
|
||||||
"wheel"
|
"wheel"
|
||||||
"docker"
|
|
||||||
"podman"
|
|
||||||
]; # Enable ‘sudo’ for the user.
|
]; # Enable ‘sudo’ for the user.
|
||||||
openssh.authorizedKeys.keys = [
|
openssh.authorizedKeys.keys = [
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAsU69CxfQk58CvItPN426h5Alnpb60SH37wet97Vb57 nathan@laptop"
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAsU69CxfQk58CvItPN426h5Alnpb60SH37wet97Vb57 nathan@laptop"
|
||||||
@@ -124,19 +121,12 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
nix = {
|
nix = {
|
||||||
nixPath = [ "nixpkgs=${inputs.nixpkgs}" "unstable=${inputs.nixpkgs-us}" ];
|
nixPath = [ "nixpkgs=${inputs.nixpkgs}" ];
|
||||||
settings = {
|
settings = {
|
||||||
experimental-features = [ "nix-command" "flakes" ];
|
experimental-features = [ "nix-command" "flakes" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
virtualisation.docker.enable = true;
|
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
docker
|
|
||||||
docker-compose
|
|
||||||
];
|
|
||||||
|
|
||||||
sops = {
|
sops = {
|
||||||
age.keyFile = "/home/nathan/.config/sops/age/keys.txt";
|
age.keyFile = "/home/nathan/.config/sops/age/keys.txt";
|
||||||
defaultSopsFile = ./secrets.yaml;
|
defaultSopsFile = ./secrets.yaml;
|
||||||
@@ -146,11 +136,6 @@
|
|||||||
"nathan/pass" = {
|
"nathan/pass" = {
|
||||||
neededForUsers = true;
|
neededForUsers = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
"authentik/pass" = {};
|
|
||||||
"authentik/secret_key" = {};
|
|
||||||
|
|
||||||
"nextcloud/pass" = {};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -217,7 +202,7 @@
|
|||||||
faster-whisper = true;
|
faster-whisper = true;
|
||||||
};
|
};
|
||||||
rustdesk.enable = false; #broken
|
rustdesk.enable = false; #broken
|
||||||
pihole.enable = true; #broken
|
pihole.enable = false; #broken
|
||||||
code-server.enable = false;
|
code-server.enable = false;
|
||||||
novnc.enable = true;
|
novnc.enable = true;
|
||||||
minecraft.enable = true;
|
minecraft.enable = true;
|
||||||
|
|||||||
@@ -7,6 +7,8 @@
|
|||||||
|
|
||||||
config = lib.mkIf config.sysconfig.opts.virtualization.nextcloud.enable {
|
config = lib.mkIf config.sysconfig.opts.virtualization.nextcloud.enable {
|
||||||
|
|
||||||
|
sops.secrets."nextcloud/pass" = {};
|
||||||
|
|
||||||
containers.nextcloud = {
|
containers.nextcloud = {
|
||||||
|
|
||||||
autoStart = true;
|
autoStart = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user