Compare commits
31 commits
1218a525bf
...
21afc8953b
Author | SHA1 | Date | |
---|---|---|---|
21afc8953b | |||
0546bd693d | |||
4955208b12 | |||
8a27db339c | |||
e54ecfee82 | |||
56042cc774 | |||
a55398d745 | |||
146955817a | |||
af6ccfc80a | |||
e8dc758189 | |||
be5d39cbe3 | |||
d5b59857f5 | |||
31e5a75523 | |||
eef888a521 | |||
84b7e706a2 | |||
560bbd8fd8 | |||
219daf83da | |||
7418ee0538 | |||
0d444a8c5f | |||
0615604cdd | |||
a769f8f2b5 | |||
95cf3c5f72 | |||
372988d88c | |||
894151f6e0 | |||
9d4c963347 | |||
c6e8559963 | |||
8518176f2b | |||
bf382371cb | |||
3bf20808b5 | |||
e53be29b0c | |||
d06253b430 |
12
flake.lock
12
flake.lock
|
@ -1201,15 +1201,15 @@
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1684504342,
|
"lastModified": 1684504342,
|
||||||
"narHash": "sha256-rJ0eH7BuPizvXPc+LjVtovse4gWEuxP2WiyNdXjPNL4=",
|
"narHash": "sha256-rJ0eH7BuPizvXPc+LjVtovse4gWEuxP2WiyNdXjPNL4=",
|
||||||
"owner": "lelgenio",
|
"ref": "refs/heads/main",
|
||||||
"repo": "tlauncher-nix",
|
|
||||||
"rev": "add4df7220bd0b85177a1938c02b60c966c5eb71",
|
"rev": "add4df7220bd0b85177a1938c02b60c966c5eb71",
|
||||||
"type": "github"
|
"revCount": 3,
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://git.lelgenio.xyz/lelgenio/tlauncher-nix"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "lelgenio",
|
"type": "git",
|
||||||
"repo": "tlauncher-nix",
|
"url": "https://git.lelgenio.xyz/lelgenio/tlauncher-nix"
|
||||||
"type": "github"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"utils": {
|
"utils": {
|
||||||
|
|
|
@ -42,7 +42,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
tlauncher = {
|
tlauncher = {
|
||||||
url = "github:lelgenio/tlauncher-nix";
|
url = "git+https://git.lelgenio.xyz/lelgenio/tlauncher-nix";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -15,6 +15,24 @@
|
||||||
./forgejo.nix
|
./forgejo.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
services.nginx.virtualHosts."lelgenio.xyz" = {
|
||||||
|
enableACME = true;
|
||||||
|
forceSSL = true;
|
||||||
|
root = pkgs.runCommand "www-dir" { } ''
|
||||||
|
mkdir -p $out
|
||||||
|
cat > $out/index.html <<EOF
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<body>
|
||||||
|
<h1>
|
||||||
|
Nothing to see here!
|
||||||
|
<h1>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
EOF
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
# # Enable networking
|
# # Enable networking
|
||||||
# networking.networkmanager.enable = true;
|
# networking.networkmanager.enable = true;
|
||||||
# Set your time zone.
|
# Set your time zone.
|
||||||
|
@ -33,7 +51,7 @@
|
||||||
dates = "04:40";
|
dates = "04:40";
|
||||||
operation = "switch";
|
operation = "switch";
|
||||||
flags = [ "--update-input" "nixpkgs" "--no-write-lock-file" "-L" ];
|
flags = [ "--update-input" "nixpkgs" "--no-write-lock-file" "-L" ];
|
||||||
flake = "github:lelgenio/nixos-config#phantom";
|
flake = "git+https://git.lelgenio.xyz/lelgenio/nixos-config#phantom";
|
||||||
};
|
};
|
||||||
|
|
||||||
system.stateVersion = "23.05"; # Never change this
|
system.stateVersion = "23.05"; # Never change this
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
mailserver = {
|
mailserver = {
|
||||||
enable = true;
|
enable = true;
|
||||||
fqdn = "mail.lelgenio.xyz";
|
fqdn = "lelgenio.xyz";
|
||||||
domains = [
|
domains = [
|
||||||
"lelgenio.xyz"
|
"lelgenio.xyz"
|
||||||
"git.lelgenio.xyz"
|
"git.lelgenio.xyz"
|
||||||
|
@ -36,7 +36,7 @@
|
||||||
$config['smtp_host'] = "tls://${hostName}:587";
|
$config['smtp_host'] = "tls://${hostName}:587";
|
||||||
$config['smtp_user'] = "%u";
|
$config['smtp_user'] = "%u";
|
||||||
$config['smtp_pass'] = "%p";
|
$config['smtp_pass'] = "%p";
|
||||||
$config['plugins'] = [ "carddav" ];
|
$config['plugins'] = [ "carddav", "archive" ];
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -9,6 +9,11 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.nginx.virtualHosts.${config.services.nextcloud.hostName} = {
|
||||||
|
forceSSL = true;
|
||||||
|
enableACME = true;
|
||||||
|
};
|
||||||
|
|
||||||
age = {
|
age = {
|
||||||
secrets.phantom-nextcloud = {
|
secrets.phantom-nextcloud = {
|
||||||
file = ../../secrets/phantom-nextcloud.age;
|
file = ../../secrets/phantom-nextcloud.age;
|
||||||
|
|
Loading…
Reference in a new issue