Compare commits

..

5 commits

6 changed files with 19 additions and 13 deletions

View file

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

View file

@ -33,7 +33,7 @@
};
firewall = {
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";
# 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
server = {
ROOT_URL = "https://git.nickiel.net";

View file

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

View file

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

View file

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