commit
6a0655e3b1
111
flake.lock
111
flake.lock
|
@ -1,81 +1,28 @@
|
||||||
{
|
{
|
||||||
"nodes": {
|
"nodes": {
|
||||||
"dvb-source": {
|
|
||||||
"flake": false,
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1648841086,
|
|
||||||
"narHash": "sha256-OzK9r6tyyjawdDzqrDw9CFh0lf8Bn11rJpQl60YCoT8=",
|
|
||||||
"owner": "revol-xut",
|
|
||||||
"repo": "dvbpy",
|
|
||||||
"rev": "66c975f58b9f831ff6044aa65da58c3246938e5e",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "revol-xut",
|
|
||||||
"repo": "dvbpy",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"flask-misaka-source": {
|
|
||||||
"flake": false,
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1607432564,
|
|
||||||
"narHash": "sha256-RYDD+Bj3+S2isTdccl04zvLjpbalQ5sqb3sYnUy1+bU=",
|
|
||||||
"owner": "singingwolfboy",
|
|
||||||
"repo": "flask-misaka",
|
|
||||||
"rev": "d960e512ac1ea16225d236984fcf130a46bb7b83",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "singingwolfboy",
|
|
||||||
"repo": "flask-misaka",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"fsr-infoscreen": {
|
|
||||||
"inputs": {
|
|
||||||
"dvb-source": "dvb-source",
|
|
||||||
"flask-misaka-source": "flask-misaka-source",
|
|
||||||
"nixpkgs": "nixpkgs",
|
|
||||||
"utils": "utils"
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1652098803,
|
|
||||||
"narHash": "sha256-aE+dL4ggSkRBHKkFZDdqvIhI2KYzZwr0T3K1HXoy9bw=",
|
|
||||||
"owner": "fsr",
|
|
||||||
"repo": "infoscreen",
|
|
||||||
"rev": "60e8a4734aff58a59a8338064bebddb85a714eca",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "fsr",
|
|
||||||
"repo": "infoscreen",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1649490789,
|
"lastModified": 1685004253,
|
||||||
"narHash": "sha256-YrhVxwoofZSx/wLZ4GYET//8vS+uqWX572zvdmP/Etg=",
|
"narHash": "sha256-AbVL1nN/TDicUQ5wXZ8xdLERxz/eJr7+o8lqkIOVuaE=",
|
||||||
"owner": "NixOS",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "c86185d20d708013caf97a6adaa8dc6d72313c75",
|
"rev": "3e01645c40b92d29f3ae76344a6d654986a91a91",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "NixOS",
|
"owner": "nixos",
|
||||||
"ref": "nixos-21.11",
|
"ref": "nixos-23.05",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs-stable": {
|
"nixpkgs-stable": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1681005198,
|
"lastModified": 1684632198,
|
||||||
"narHash": "sha256-5LrnBeXR7Hv8OXh6eany7br4qBW+ZNl4LKf1CJu9zbg=",
|
"narHash": "sha256-SdxMPd0WmU9MnDBuuy7ouR++GftrThmSGL7PCQj/uVI=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "e45cc0138829ad86e7ff17a76acf2d05e781e30a",
|
"rev": "d0dade110dc7072d67ce27826cfe9ab2ab0cf247",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -85,26 +32,9 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs_2": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1681269223,
|
|
||||||
"narHash": "sha256-i6OeI2f7qGvmLfD07l1Az5iBL+bFeP0RHixisWtpUGo=",
|
|
||||||
"owner": "nixos",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"rev": "87edbd74246ccdfa64503f334ed86fa04010bab9",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "nixos",
|
|
||||||
"ref": "nixos-22.11",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"fsr-infoscreen": "fsr-infoscreen",
|
"nixpkgs": "nixpkgs",
|
||||||
"nixpkgs": "nixpkgs_2",
|
|
||||||
"sops-nix": "sops-nix"
|
"sops-nix": "sops-nix"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -116,11 +46,11 @@
|
||||||
"nixpkgs-stable": "nixpkgs-stable"
|
"nixpkgs-stable": "nixpkgs-stable"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1681209176,
|
"lastModified": 1684637723,
|
||||||
"narHash": "sha256-wyQokPpkNZnsl/bVf8m1428tfA0hJ0w/qexq4EizhTc=",
|
"narHash": "sha256-0vAxL7MVMhGbTkAyvzLvleELHjVsaS43p+PR1h9gzNQ=",
|
||||||
"owner": "Mic92",
|
"owner": "Mic92",
|
||||||
"repo": "sops-nix",
|
"repo": "sops-nix",
|
||||||
"rev": "00d5fd73756d424de5263b92235563bc06f2c6e1",
|
"rev": "4ccdfb573f323a108a44c13bb7730e42baf962a9",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -128,21 +58,6 @@
|
||||||
"repo": "sops-nix",
|
"repo": "sops-nix",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
|
||||||
"utils": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1648297722,
|
|
||||||
"narHash": "sha256-W+qlPsiZd8F3XkzXOzAoR+mpFqzm3ekQkJNa+PIh1BQ=",
|
|
||||||
"owner": "numtide",
|
|
||||||
"repo": "flake-utils",
|
|
||||||
"rev": "0f8662f1319ad6abf89b3380dd2722369fc51ade",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "numtide",
|
|
||||||
"repo": "flake-utils",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"root": "root",
|
"root": "root",
|
||||||
|
|
13
flake.nix
13
flake.nix
|
@ -1,13 +1,12 @@
|
||||||
{
|
{
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = github:nixos/nixpkgs/nixos-22.11;
|
nixpkgs.url = github:nixos/nixpkgs/nixos-23.05;
|
||||||
sops-nix.url = github:Mic92/sops-nix;
|
sops-nix.url = github:Mic92/sops-nix;
|
||||||
sops-nix.inputs.nixpkgs.follows = "nixpkgs";
|
sops-nix.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
fsr-infoscreen.url = github:fsr/infoscreen;
|
# fsr-infoscreen.url = github:fsr/infoscreen; # some anonymous strukturer accidentally removed the flake.nix
|
||||||
};
|
};
|
||||||
outputs = { self, nixpkgs, sops-nix, fsr-infoscreen, ... }@inputs:
|
outputs = { self, nixpkgs, sops-nix, ... }@inputs:
|
||||||
let
|
{
|
||||||
in {
|
|
||||||
#packages."aarch64-linux".sanddorn = self.nixosConfigurations.sanddorn.config.system.build.sdImage;
|
#packages."aarch64-linux".sanddorn = self.nixosConfigurations.sanddorn.config.system.build.sdImage;
|
||||||
packages."x86_64-linux".quitte = self.nixosConfigurations.quitte-vm.config.system.build.vm;
|
packages."x86_64-linux".quitte = self.nixosConfigurations.quitte-vm.config.system.build.vm;
|
||||||
packages."x86_64-linux".default = self.packages."x86_64-linux".quitte;
|
packages."x86_64-linux".default = self.packages."x86_64-linux".quitte;
|
||||||
|
@ -18,12 +17,12 @@
|
||||||
system = "aarch64-linux";
|
system = "aarch64-linux";
|
||||||
modules = [
|
modules = [
|
||||||
{
|
{
|
||||||
nixpkgs.overlays = [ fsr-infoscreen.overlay."aarch64-linux" ];
|
# nixpkgs.overlays = [ fsr-infoscreen.overlay."aarch64-linux" ];
|
||||||
nixpkgs.config.allowBroken = true;
|
nixpkgs.config.allowBroken = true;
|
||||||
sdImage.compressImage = false;
|
sdImage.compressImage = false;
|
||||||
}
|
}
|
||||||
./hosts/sanddorn/configuration.nix
|
./hosts/sanddorn/configuration.nix
|
||||||
./modules/infoscreen.nix
|
# ./modules/infoscreen.nix
|
||||||
./modules/base.nix
|
./modules/base.nix
|
||||||
./modules/desktop.nix
|
./modules/desktop.nix
|
||||||
./modules/options.nix
|
./modules/options.nix
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
|
|
||||||
# Enable the OpenSSH daemon.
|
# Enable the OpenSSH daemon.
|
||||||
services.openssh.enable = true;
|
services.openssh.enable = true;
|
||||||
services.openssh.permitRootLogin = "yes";
|
services.openssh.settings.permitRootLogin = "yes";
|
||||||
|
|
||||||
# Open ports in the firewall.
|
# Open ports in the firewall.
|
||||||
networking.firewall.allowedTCPPorts = [ 443 80 ];
|
networking.firewall.allowedTCPPorts = [ 443 80 ];
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
};
|
};
|
||||||
kernelPackages = pkgs.linuxPackages_latest;
|
kernelPackages = pkgs.linuxPackages_latest;
|
||||||
# No ZFS on latest kernel:
|
# No ZFS on latest kernel:
|
||||||
tmpOnTmpfs = true;
|
tmp.useTmpfs = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
nix = {
|
nix = {
|
||||||
|
|
|
@ -30,7 +30,8 @@ in
|
||||||
|
|
||||||
nextcloud = {
|
nextcloud = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.nextcloud25; # Use current latest nextcloud package
|
package = pkgs.nextcloud26; # Use current latest nextcloud package
|
||||||
|
enableBrokenCiphersForSSE = false; # disable the openssl warning
|
||||||
hostName = "${domain}";
|
hostName = "${domain}";
|
||||||
https = true; # Use https for all urls
|
https = true; # Use https for all urls
|
||||||
phpExtraExtensions = all: [
|
phpExtraExtensions = all: [
|
||||||
|
|
|
@ -27,6 +27,7 @@
|
||||||
host = "localhost";
|
host = "localhost";
|
||||||
port = 5432;
|
port = 5432;
|
||||||
passwordFile = config.sops.secrets."mediawiki/postgres".path;
|
passwordFile = config.sops.secrets."mediawiki/postgres".path;
|
||||||
|
createLocally = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
# virtualHost = {
|
# virtualHost = {
|
||||||
|
@ -36,14 +37,14 @@
|
||||||
# enableACME = true;
|
# enableACME = true;
|
||||||
# };
|
# };
|
||||||
|
|
||||||
virtualHost = {
|
httpd.virtualHost = {
|
||||||
hostName = "wiki.quitte.tassilo-tanneberger.de";
|
hostName = "wiki.${config.fsr.domain}";
|
||||||
adminAddr = "root@ifsr.de";
|
adminAddr = "root@ifsr.de";
|
||||||
#forceSSL = true;
|
#forceSSL = true;
|
||||||
#enableACME = true;
|
#enableACME = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
virtualHost.listen = [
|
httpd.virtualHost.listen = [
|
||||||
{
|
{
|
||||||
ip = "127.0.0.1";
|
ip = "127.0.0.1";
|
||||||
port = 8080;
|
port = 8080;
|
||||||
|
|
Loading…
Reference in a new issue