Compare commits

..

5 commits

6 changed files with 19 additions and 13 deletions

View file

@ -39,11 +39,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1682347289, "lastModified": 1683276747,
"narHash": "sha256-BQHY4lzS3Tkx4XLmZPR5FSjKWMP+cKNtUM8pTC4L9Ek=", "narHash": "sha256-T3st1VBg3wmhHyBQb0z12sTSGsQgiu3mxkS61nLO8Xs=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "0263da497eae3246ea15ed6f0f7875bc15592cef", "rev": "669669fcb403e3137dfe599bbcc26e60502c3543",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -58,11 +58,11 @@
}, },
"locked": { "locked": {
"dir": "nix", "dir": "nix",
"lastModified": 1679982002, "lastModified": 1682527311,
"narHash": "sha256-st3xFK6kgoeTwVQw/zKGc4HLaWSU4yrRyY82d7bfgYk=", "narHash": "sha256-gFiQ62jbBfumg0IR4oXR/DRVunOxMd4lJ5+g+qjz7wA=",
"owner": "kmonad", "owner": "kmonad",
"repo": "kmonad", "repo": "kmonad",
"rev": "a22e0bad9e76b01c7b9e56f193e07c615e82effa", "rev": "3aa2f52536de853efbcb0f6e790c97a3734687ec",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -105,11 +105,11 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1682268651, "lastModified": 1683286087,
"narHash": "sha256-2eZriMhnD24Pmb8ideZWZDiXaAVe6LzJrHQiNPck+Lk=", "narHash": "sha256-xseOd7W7xwF5GOF2RW8qhjmVGrKoBz+caBlreaNzoeI=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "e78d25df6f1036b3fa76750ed4603dd9d5fe90fc", "rev": "3e313808bd2e0a0669430787fb22e43b2f4bf8bf",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -33,7 +33,7 @@
}; };
firewall = { firewall = {
enable = true; enable = true;
allowedTCPPorts = [80 443]; allowedTCPPorts = [80 443 3001]; # port 3001 opened to allow git traffic on the local netword
}; };
}; };

View file

@ -10,9 +10,9 @@
#ui.DEFAULT_THEME = "arc-green"; #ui.DEFAULT_THEME = "arc-green";
# Enable this after the first user has been created # Enable this after the first user has been created
#service.DISABLE_REGISTRATION = true; service.DISABLE_REGISTRATION = true;
session.COOKIE_SECURE = true; #session.COOKIE_SECURE = true;
# external facing ui # external facing ui
server = { server = {
ROOT_URL = "https://git.nickiel.net"; ROOT_URL = "https://git.nickiel.net";

View file

@ -13,6 +13,7 @@
autoUpdateApps.enable = true; autoUpdateApps.enable = true;
database.createLocally = false;
config = { config = {
defaultPhoneRegion = "US"; defaultPhoneRegion = "US";
overwriteProtocol = "https"; overwriteProtocol = "https";
@ -28,7 +29,7 @@
dbuser = "nextcloud"; dbuser = "nextcloud";
dbhost = "/run/postgresql"; dbhost = "/run/postgresql";
dbname = "nextcloud"; dbname = "nextcloud";
dbpassFile = "/Aurora/nextcloud/nextcloud-db-password"; #dbpassFile = "/Aurora/nextcloud/nextcloud-db-password";
# This doesn't seem to be working, see this documation: # This doesn't seem to be working, see this documation:
# https://docs.nextcloud.com/server/latest/admin_manual/configuration_user/reset_admin_password.html # https://docs.nextcloud.com/server/latest/admin_manual/configuration_user/reset_admin_password.html

View file

@ -42,6 +42,7 @@
enableACME = true; enableACME = true;
locations."/".proxyPass = "http://127.0.0.1:3001"; locations."/".proxyPass = "http://127.0.0.1:3001";
}; };
}; };
}; };
} }

View file

@ -6,6 +6,10 @@
./hardware-configuration.nix ./hardware-configuration.nix
]; ];
networking.hosts = {
"10.0.0.183" = [ "files.nickiel.net" "git.nickiel.net" "nickiel.net" "jellyfin.nickiel.net" ];
};
services.xserver.videoDrivers = [ "nvidia" ]; services.xserver.videoDrivers = [ "nvidia" ];
hardware.opengl.enable = true; hardware.opengl.enable = true;