Compare commits

..

171 commits

Author SHA1 Message Date
3be3fd71e7 Fix outdated settings 2024-12-16 13:42:08 +01:00
57d5975311 Create a clean profile 2024-12-16 13:42:06 +01:00
a309bcf053 Enable hsts for nextcloud 2024-12-14 03:53:59 +01:00
cbed3e3405 Store TrackMania in directory 2024-12-14 03:49:46 +01:00
45d89e80b4 Fix path of nextcloud service proxy 2024-12-14 03:45:41 +01:00
796ee6dc84 Add jellyseerr by default 2024-12-13 02:43:32 +01:00
01cbd8644b Improve Nextcloud nginx config 2024-12-13 01:51:47 +01:00
4bea622902 Fix incorrect git ssh script 2024-12-11 04:18:13 +01:00
c969deb7b1 Link gitea to forgejo 2024-12-11 04:18:00 +01:00
f0082107ef Set up authentication automatically 2024-12-11 04:17:48 +01:00
27c9d64564 Make forgejo work under Arch Linux 2024-12-11 03:30:36 +01:00
a1b6b40396 Refactor jellyfin nginx config 2024-12-11 02:27:49 +01:00
a3f1bace8a Name forgejo user properly 2024-12-11 01:30:36 +01:00
8376b74e88 Fix ssh key permission error 2024-12-11 01:17:54 +01:00
07c6503862 Inherit profile script title properly 2024-12-11 01:13:02 +01:00
b36e3631ab Prevent PowerShell errors 2024-12-11 01:12:52 +01:00
1d1250a3e0 Fix malformed yq scripts 2024-12-08 18:04:59 +01:00
cda0e9f5b0 Disable auto login after installation 2024-12-08 17:27:03 +01:00
d3b6d5617e Reboot system as root 2024-12-08 17:18:59 +01:00
5f7f2e8bae Adjust boot label for server 2024-12-08 16:50:16 +01:00
8e10ee6f62 Fix permission issues 2024-12-08 06:15:43 +01:00
ce9c44a904 Return exit code properly 2024-12-08 05:48:20 +01:00
3185077c0e Fix typo 2024-12-08 05:20:42 +01:00
d034d8d471 Prevent unnecessary config values 2024-12-08 04:56:41 +01:00
b1ddb0de48 Remove bash profile during installation script 2024-12-08 04:46:53 +01:00
b61602cd68 Normalize exit code of setup actions 2024-12-08 04:46:13 +01:00
b3f9e2dd23 Fix malformed output 2024-12-08 03:07:54 +01:00
8f26799cbd Install systemd-networkd during setup 2024-12-08 02:49:45 +01:00
f8a7df435e Enable DNS on the server 2024-12-08 02:49:28 +01:00
b5b5d13199 Fix incorrect configuration 2024-12-08 01:57:18 +01:00
f42f1ac777 Install networkmanager only if necessary 2024-12-08 01:47:04 +01:00
49879123a4 Allow configuring networkd 2024-12-08 01:03:06 +01:00
88fc280dd5 Install NetworkManager only if enabled 2024-12-08 00:05:44 +01:00
31da52f412 Allow configuriong systemd-networkd 2024-12-07 23:45:31 +01:00
726dd5da4a Allow choosing between NetworkManager and systemd-networkd 2024-12-07 23:38:17 +01:00
8b01238502 Set profiles of btrfs volume 2024-12-07 23:02:03 +01:00
717f9eeb91 Forcefully write btrfs 2024-12-07 22:40:59 +01:00
4967a1452c Collect all affected devices 2024-12-07 22:18:10 +01:00
2a8d4dc805 Fix outdated config names 2024-12-07 21:46:53 +01:00
d0dbae683d Add support for partitioning btrfs volumes 2024-12-07 21:14:58 +01:00
4dfeb4f26a Add scripts for installing btrfs 2024-12-07 21:14:36 +01:00
cd83727d54 Remove trailing slashes properly 2024-12-07 21:09:18 +01:00
9cfb27902a Fix incorrect config name 2024-12-07 20:03:58 +01:00
120c766c4c Create mount script in fileSystems module 2024-12-07 19:28:42 +01:00
1a60425386 Add a separate option for mounts 2024-12-07 19:11:41 +01:00
10aa988418 Allow partitions without format 2024-12-07 18:45:44 +01:00
f6fbf7df3d Add btrfs support 2024-12-07 18:41:08 +01:00
5cdd1edd5b Remove unnecessary code 2024-12-07 18:36:54 +01:00
6f44a55a35 Rename filesystem directory 2024-12-07 18:36:19 +01:00
f70a1580df Remove redundancy 2024-12-07 17:50:10 +01:00
f9af3388a7 Store device scripts in scripts option 2024-12-07 17:49:57 +01:00
25ba2fbe8a Refactor terminology 2024-12-07 17:43:53 +01:00
b62f3e13c7 Move the script to the fileSystems module 2024-12-07 17:35:31 +01:00
d2d99a4b43 Split up disk script into multiple scripts 2024-12-07 16:12:04 +01:00
127ac0688f Remove separate os disk declaration 2024-12-07 16:11:19 +01:00
03e42c5578 Restructure partition config 2024-12-07 12:24:10 +01:00
7cf715f4d8 Remove duplicated code 2024-12-06 16:22:05 +01:00
f44d0a4a73 Pause tmux session on error 2024-12-06 13:52:26 +01:00
6fb855d385 Fix permission issue 2024-12-06 13:51:08 +01:00
ad336833c1 Add missing location comment 2024-12-06 13:50:58 +01:00
5d64d2d42f Disable cloud sync on the server 2024-12-06 13:40:04 +01:00
f48fc6bb9a Restore permissions in nixpkgs 2024-12-06 00:55:51 +01:00
4f6c92b2a7 Copy the .git directory to the setup environment 2024-12-05 22:36:14 +01:00
ee7ec9782e Ensure the nix channel directory exists 2024-12-05 20:31:56 +01:00
2e2f5fffe6 Keep .git directory of nixpkgs 2024-12-05 19:40:41 +01:00
902276cd48 Install nginx throughout the setup 2024-12-05 18:27:10 +01:00
a71c0535a1 Update to the most recent nixpkgs-unstable commit 2024-12-05 18:22:54 +01:00
0432967c21 Allow commits as nix versions 2024-12-05 18:19:18 +01:00
4bb0e5b996 Fix permission issue 2024-12-05 18:18:57 +01:00
cc5cad8c31 Enable grub on the server 2024-12-05 17:08:41 +01:00
8fc542f602 Ignore exit code of string-split0 2024-12-05 16:34:24 +01:00
38f62a4a59 Prevent unnecessary config fetches 2024-12-05 16:01:41 +01:00
f11913949a Update the nixpkgs version 2024-12-05 15:43:54 +01:00
d26887b9b9 Add openssh as a dependency 2024-12-05 14:59:28 +01:00
7ea2b3952a Install nixpkgs during setup 2024-12-05 14:13:52 +01:00
266b1813eb Prompt backup config during install 2024-12-05 10:40:59 +01:00
3a5e0b7a83 Install valhalla dependencies during setup 2024-12-05 10:33:06 +01:00
d5ffcf2a69 Adjust hook description 2024-12-05 10:25:28 +01:00
ce0b241e50 Fetch missing variables 2024-12-05 10:13:35 +01:00
459ad49386 Add a function for initializing the OS 2024-12-05 10:09:35 +01:00
51ac9da58d Run OS setup first 2024-12-05 09:59:04 +01:00
c6b754f774 Create directories for ssh files 2024-12-05 09:53:31 +01:00
8096e627ff Create ssh key only if necessary 2024-12-05 09:47:32 +01:00
751fdc3561 Fix missing variable 2024-12-05 09:45:49 +01:00
bc7ef1e4af Partition drives after action setup 2024-12-05 09:45:08 +01:00
f74e1d681c Create missing script 2024-12-05 09:41:33 +01:00
782155798f Remove unnecessary function 2024-12-05 09:41:20 +01:00
133f2ce61e Get mount dir for preparing nix 2024-12-05 09:38:38 +01:00
759877b6e4 Fix non-existent variable 2024-12-05 09:27:53 +01:00
092ae9621b Create function for bootstrapping dependencies 2024-12-05 09:25:52 +01:00
254504f91b Fix incorrect repo path 2024-12-04 19:06:32 +01:00
09ec143d68 Allow configuring backup during setup 2024-12-04 19:02:05 +01:00
eb326ce1cb Make config function name more concise 2024-12-04 18:56:17 +01:00
be9750131a Use pre-existing setup user if existent 2024-12-04 18:35:15 +01:00
d29d99c2a1 Add function for configuring backup server 2024-12-04 18:33:30 +01:00
e360a158b1 Enable anki-sync on the server 2024-12-04 18:31:35 +01:00
dd2ae9b720 Create new ssh key implicitly 2024-12-04 18:26:45 +01:00
e9e8e41bfa Add missing docker services 2024-12-04 17:02:54 +01:00
07da3f3464 Format files 2024-12-04 17:02:11 +01:00
5013afea27 Ignore inexistent backup archives 2024-12-04 17:02:01 +01:00
abccaf8cd8 Load backup user variable dynamically 2024-12-04 17:00:36 +01:00
e719ff9e3c Fix collabora service 2024-12-04 16:59:30 +01:00
ae255f897f Add default port for terraria 2024-12-04 16:59:01 +01:00
e25fb820d3 Fix websocket access for wekan 2024-12-04 16:58:51 +01:00
5928b940f8 Configure wekan service properly 2024-12-04 16:58:41 +01:00
21604a0edf Remove custom wekan user 2024-12-04 16:58:18 +01:00
84fc26a1a5 Fix overcomplicated location config 2024-12-04 16:57:58 +01:00
474f9b8c91 Remove unnecessary proxy config 2024-12-04 16:57:40 +01:00
0a68921220 Allow specifying comments for locations 2024-12-04 16:57:25 +01:00
e4cb8cce5f Allow custom schemes for location settings 2024-12-04 16:55:56 +01:00
b361dd4933 Insert comment before location block 2024-12-04 16:54:54 +01:00
c9e1ecac9d Store rtorrent session files in volume 2024-12-04 16:53:24 +01:00
e4a41b6903 Normalize docker volume paths 2024-12-04 16:52:32 +01:00
4f11e64205 Update rtorrent and privoxy to proton community cli 2024-12-04 16:50:29 +01:00
a335b5aaef Remove unnecessary parameter 2024-12-04 16:48:51 +01:00
f981ac4d0b Generate extra server config with full domain 2024-12-04 16:48:35 +01:00
546da1a0e9 Update script for new cgroup version 2024-12-04 16:47:11 +01:00
f8668fe33b Fix typos 2024-12-04 16:46:57 +01:00
5b7698636a Fix permission issues 2024-12-04 16:44:01 +01:00
47417878d8 Enable nix service immediately 2024-12-04 14:41:49 +01:00
83c4b18dbe Normalize location of proton data 2024-11-29 02:20:26 +01:00
d218d0495d Format all files 2024-11-29 01:15:08 +01:00
6d1c9fee53 FIx handling users with no docker services 2024-11-29 01:15:08 +01:00
7f9616be02 Fix invalid git cli call 2024-11-29 01:15:08 +01:00
e20681a1bd Add missing function argument 2024-11-29 01:15:08 +01:00
597fa1ee1f Inherit all env variables in the tmux session 2024-11-29 01:15:08 +01:00
98ff044bc2 Back up teamspeak properly 2024-11-29 01:15:08 +01:00
85b6f8ccc6 Force creation of an ssh key for backups 2024-11-29 01:15:08 +01:00
d1588b4d9f Preserve PATH for setup actions 2024-11-29 01:15:08 +01:00
9b53e96561 Add scripts for installing a terraria server 2024-11-29 01:15:08 +01:00
70d2323d68 Back up extra files using getExtraBackupPatterns 2024-11-29 01:15:08 +01:00
2e1fa261bd Remove world mounts for minecraft services 2024-11-29 01:15:08 +01:00
080d3d3222 Simplify xaseco command handling 2024-11-29 01:15:08 +01:00
1e2ce910c2 Silence unnecessary output 2024-11-29 01:15:08 +01:00
f259592064 Allow specifying xaseco operators and admins 2024-11-29 01:15:08 +01:00
df1077ffe8 Normalize display name of vaultwarden mailer 2024-11-29 01:15:08 +01:00
8bed36aed5 Store all game data of TrackMania service 2024-11-29 01:15:08 +01:00
3b9943f1a1 Add declaration of transmission service 2024-11-29 01:15:08 +01:00
05d0d5a692 Leave user of wekan container unchanged 2024-11-29 01:15:08 +01:00
5970d729af Store domain names in overrides 2024-11-29 01:15:08 +01:00
3b489ee5fb Normalize the save path of service data 2024-11-29 01:15:08 +01:00
ad1d72d85b Improve the format of the docker files 2024-11-29 01:15:08 +01:00
54b6eccbf0 Rename secrets files to overrides 2024-11-29 01:15:08 +01:00
d3134647dd Store Jellyfin domain in secrets 2024-11-29 01:15:08 +01:00
3ab2b71afb Allow specifying overrides for docker services 2024-11-29 01:15:08 +01:00
d144876afb Allow specifying additional patterns to back up 2024-11-29 01:15:08 +01:00
18e531141b Configure forgejo runner by default 2024-11-29 01:15:08 +01:00
4db9a640b3 Store all forgejo files in data/ 2024-11-29 01:15:08 +01:00
5ee149e42a Set forgejo domain by default 2024-11-29 01:15:08 +01:00
269f8b89e9 Reduce redundancy of drone setup 2024-11-29 01:15:08 +01:00
d9ace95328 Fix order of properties in drone templates 2024-11-29 01:15:08 +01:00
7248ec703a Load enabled services from machine config 2024-11-29 01:15:08 +01:00
e25c00cd39 Ensure nix channels are functioning 2024-11-29 01:15:08 +01:00
df2e0ffc16 Force running actions as setup-user 2024-11-29 01:15:08 +01:00
981e6eaa5c Skip backup questions if specified 2024-11-29 01:15:08 +01:00
222467b5ae Create backup whitelist for docker-compose 2024-11-29 01:15:08 +01:00
f8e4e94af5 Add a profile for the server 2024-11-29 01:15:08 +01:00
67e5e04a06 Add options for enabling docker-compose services 2024-11-29 01:15:08 +01:00
3df1501fbc Add scripts for installing woodpecker 2024-11-29 01:15:08 +01:00
395d69c974 Add scripts for installing wekan 2024-11-29 01:15:08 +01:00
567a0d8070 Add scripts for installing TrackMania server 2024-11-29 01:15:08 +01:00
b4b87f37ea Replace yq with go-yq 2024-11-29 01:15:08 +01:00
5e1686402c Add scripts for installing TeamSpeak 2024-11-29 01:15:08 +01:00
885e7cf9d0 Add scripts for installing ryot 2024-11-29 01:15:08 +01:00
8b9758dea0 Add scripts for installing nextcloud 2024-11-29 01:15:08 +01:00
ed237fb750 Restructure service overrides 2024-11-29 01:15:08 +01:00
61276f51c9 Add scripts for installing Minecraft 2024-11-29 01:15:08 +01:00
a4bd5c60d2 Add settings for allowing VPN access in lxc 2024-11-29 01:15:08 +01:00
75fce7964f Improve look & feel of lxc config 2024-11-10 12:56:34 +01:00
01007db6ed Add scripts for installing jellyfin 2024-11-10 12:33:36 +01:00
8b5db412a1 Add a script for installing forgejo 2024-11-07 23:58:06 +01:00
4 changed files with 22 additions and 8 deletions

View file

@ -46,6 +46,26 @@
DerGeret = import ./profiles/machines/manuel/DerGeret/Arch/config.nix;
ManuSurface = import ./profiles/machines/manuel/ManuSurface/Arch/config.nix;
server = import ./profiles/machines/manuel/server.nix;
clean = { ... }: {
imports = [
./lib/modules/valhalla.nix
];
config = {
valhalla = {
hostname = "Falcon";
windows = {
users.LocalAdmin = {
groups = [ "Administrators" ];
programs.oh-my-posh.theme.source = ./profiles/users/manuel/manuel.omp.json;
};
};
software.essential = true;
};
};
};
};
};
}

View file

@ -44,12 +44,6 @@ let
"/dev/${config.name}";
};
deviceScript = mkOption {
type = types.str;
description = "A command for loading the device path into the device variable";
internal = true;
};
deviceVariable = mkOption {
type = types.str;
description = "The name of the variable holding the name of the disk";

View file

@ -14,7 +14,7 @@
components = [ "Logitech G903" ];
};
partition.os.deviceName = "nvme0n1";
fileSystems.diskSetup.devices.OS.name = "nvme0n1";
};
};
}

View file

@ -15,7 +15,7 @@ services:
FORGEJO__server__ROOT_URL: https://%(DOMAIN)s/
FORGEJO__server__DISABLE_SSH: "false"
FORGEJO__server__LFS_START_SERVER: "true"
FORGEJO__service__REGISTER_MANUAL_CONFIRM: "true"
FORGEJO__service__REGISTER_MANUEL_CONFIRM: "true"
FORGEJO__actions__ENABLED: "true"
FORGEJO__openid__ENABLE_OPENID_SIGNUP: "false"
FORGEJO__cron.git_gc_repos__ENABLED: "true"