Commit graph

164 commits

Author SHA1 Message Date
Manuel Thalmann 8da71a0b9e Refactor config creation 2024-05-16 01:04:09 +02:00
Manuel Thalmann 8653798a3d Allow creating rclone mounts manually 2024-05-16 00:51:36 +02:00
Manuel Thalmann 2596010ac9 Add support for bearer tokens 2024-05-16 00:44:56 +02:00
Manuel Thalmann ebb42250a7 Extend the vendor configuration 2024-05-16 00:40:04 +02:00
Manuel Thalmann 562bcc0574 Store names of vendors only once 2024-05-16 00:38:44 +02:00
Manuel Thalmann f61258a6ae Add Owncloud as a provider 2024-05-16 00:34:29 +02:00
Manuel Thalmann faf4a0a290 Add extended options for Owncloud remotes 2024-05-16 00:32:49 +02:00
Manuel Thalmann 09e60ca053 Replace unnecessary function 2024-05-16 00:20:06 +02:00
Manuel Thalmann 338f9963f0 Allow loading environment variables from files 2024-05-16 00:13:14 +02:00
Manuel Thalmann c9d703464a Remove unnecessary option 2024-05-15 23:24:54 +02:00
Manuel Thalmann ace62b0e4a Store providers as modules 2024-05-15 23:21:00 +02:00
Manuel Thalmann 52e6775be6 Make provider displayname more accessible 2024-05-15 22:37:57 +02:00
Manuel Thalmann 5e7d685d60 Generate a config file for the use with rclone 2024-05-15 21:10:35 +02:00
Manuel Thalmann 824bcbfbe5 Allow specifying the path to mount remote file systems to 2024-05-15 20:51:50 +02:00
Manuel Thalmann 5022fd8103 Add further WebDAV options 2024-05-15 18:48:56 +02:00
Manuel Thalmann 596a005989 Fix confusing descriptions 2024-05-15 18:16:45 +02:00
Manuel Thalmann bff6f47528 Add support for WebDAV providers 2024-05-15 17:45:24 +02:00
Manuel Thalmann e0baf04669 Remove unused variable 2024-05-15 17:24:59 +02:00
Manuel Thalmann 5d88c33a3a Simplify option evaluation 2024-05-15 17:22:34 +02:00
Manuel Thalmann 097a871b75 Remove redundant option 2024-05-15 17:22:13 +02:00
Manuel Thalmann 757ffe9eee Set default for provider sync collection 2024-05-15 16:04:34 +02:00
Manuel Thalmann c4926df9f6 Make sync providers distinguishable 2024-05-15 15:54:03 +02:00
Manuel Thalmann b781eb7e08 Store the provider options flat 2024-05-15 11:48:22 +02:00
Manuel Thalmann 1a7a63e433 Remove unnecessary code segments 2024-05-15 11:44:35 +02:00
Manuel Thalmann ae21cbb3ca Reorder declarations 2024-05-15 10:01:13 +02:00
Manuel Thalmann fdf11f3cee Set password settings to null by default 2024-05-15 09:49:37 +02:00
Manuel Thalmann e8173f7566 Add configurations for individual providers 2024-05-15 09:48:02 +02:00
Manuel Thalmann 29f60a3da9 Allow specifying multiple services per category 2024-05-15 09:09:56 +02:00
Manuel Thalmann b7198ddeac Allow specifying global default systemd dependencies 2024-05-14 15:39:41 +02:00
Manuel Thalmann e27dadb8e4 Allow setting up custom syncs 2024-05-14 15:28:47 +02:00
Manuel Thalmann d5a2a06fde Allow specifying custom envs and secrets for providers 2024-05-14 15:24:17 +02:00
Manuel Thalmann 5b9d42cdc0 Refactor sync type implementation 2024-05-14 14:23:30 +02:00
Manuel Thalmann ceccdea859 Declare options for rclone syncs 2024-05-14 13:18:38 +02:00
Manuel Thalmann 7fdac59f45 Set user services using a direct assignment 2024-05-14 12:47:20 +02:00
Manuel Thalmann 66d6880750 Simplify rclone config 2024-05-14 12:41:37 +02:00
Manuel Thalmann 8c55205c66 Add a module for creating rclone services 2024-05-13 01:20:01 +02:00
Manuel Thalmann 6933014d75 Streamline creation of user modules 2024-05-11 21:35:13 +02:00
Manuel Thalmann 8ca8b885e2 Pass variables to system home-manager 2024-05-11 20:36:37 +02:00
Manuel Thalmann be207d6648 Pass machine variable to user config 2024-05-11 20:32:02 +02:00
Manuel Thalmann c7d6755cb7 Rename userInfo variable to user 2024-05-11 20:30:29 +02:00
Manuel Thalmann 2a0a3aebf9 Use callPackage whenever possible 2024-05-11 20:24:37 +02:00
Manuel Thalmann 4dc4923656 Replace obsolete userConfig variable 2024-05-11 20:15:27 +02:00
Manuel Thalmann 749bdf08c6 Add the userInfo variable to the system-wide home-manager 2024-05-11 20:14:08 +02:00
Manuel Thalmann 58b2763c92 Rename variable holding machine infos 2024-05-11 20:04:14 +02:00
Manuel Thalmann b227f1865f Replace machineConfig variable 2024-05-11 20:02:43 +02:00
Manuel Thalmann 0e092d427b Replace hostname variable with machineInfo 2024-05-11 19:53:58 +02:00
Manuel Thalmann 06efd25d98 Allow mapping the current user's keys into the VM 2024-05-11 01:26:54 +02:00
Manuel Thalmann 3b27b8669f Make global home config optional 2024-05-11 01:25:34 +02:00
Manuel Thalmann ba93800317 Set up home-manager properly 2024-05-09 02:06:59 +02:00
Manuel Thalmann aadf94c27e Allow specifying user mail addresses 2024-05-09 01:56:30 +02:00
Manuel Thalmann b0a08d549f Allow dynamically loading user home configs 2024-05-09 01:10:26 +02:00
Manuel Thalmann 742b1d2029 Add a separate file for the try-files function 2024-05-09 01:04:55 +02:00
Manuel Thalmann 0d399b63b9 Allow configuring user homes 2024-05-09 00:59:02 +02:00
Manuel Thalmann 808926f012 Hook in the hostname separately 2024-05-09 00:35:21 +02:00
Manuel Thalmann c0211a8b76 Allow added unfree software 2024-05-08 16:16:42 +02:00
Manuel Thalmann 157a1cf990 Allow enabling USB redirection 2024-05-08 11:13:07 +02:00
Manuel Thalmann 88b8bdc16b Configure sddm language 2024-05-07 22:31:56 +02:00
Manuel Thalmann 47802f7450 Simplify configuring users 2024-05-07 22:02:12 +02:00
Manuel Thalmann a4cedd467f Set default locales 2024-05-07 14:31:38 +02:00
Manuel Thalmann d768fddeaf Set the keyboard layout for the desktop 2024-05-07 14:25:03 +02:00
Manuel Thalmann 551300b8ff Add keymap to default settings 2024-05-07 14:11:22 +02:00
Manuel Thalmann b6cc8a3f74 Add default settings for systems 2024-05-07 13:57:46 +02:00
Manuel Thalmann 837dbf7fa8 Improve performance of VM 2024-05-07 13:57:22 +02:00
Manuel Thalmann c7d06a8cf3 Infer sopsPasswordOverride enablement 2024-05-03 14:04:14 +02:00
Manuel Thalmann 7fcfd7ecb5 Include the custom-sops-nix module 2024-05-03 14:02:42 +02:00
Manuel Thalmann 4dda383523 Force default sops override password 2024-05-03 12:06:11 +02:00
Manuel Thalmann b8c3cbc2b1 Refactor default sops override config 2024-05-02 13:16:42 +02:00
Manuel Thalmann 9e3fad7501 Add descriptions to settings 2024-05-02 13:14:04 +02:00
Manuel Thalmann bea09f2582 Explain change of code 2024-05-02 13:08:56 +02:00
Manuel Thalmann 83bfad9a1b Refactor sops-nix override configuration 2024-05-02 13:07:43 +02:00
Manuel Thalmann 1a57b9d49b Create a separate module for overriding sops passwords 2024-05-02 13:02:52 +02:00
Manuel Thalmann 354982cf37 Set default password for build-vm-with-bootloader 2024-05-02 04:50:36 +02:00
Manuel Thalmann 018699c7eb Add comments 2024-05-01 19:16:40 +02:00
Manuel Thalmann 92a4e3d332 Restructure the interna of the flake 2024-05-01 18:58:39 +02:00
Manuel Thalmann a2810cb314 Include the name in the configuration 2024-05-01 16:53:40 +02:00
Manuel Thalmann 3693994200 Remove unnecessary attributes 2024-05-01 15:10:54 +02:00
Manuel Thalmann 556706f43c Rename the module directory properly 2024-05-01 15:06:49 +02:00
Manuel Thalmann ea620730a6 Improve readability of custom-build-vm code 2024-05-01 15:06:31 +02:00
Manuel Thalmann 3a2ce0ed87 Normalize format of nix files 2024-05-01 14:00:39 +02:00
Manuel Thalmann c2cca3f6ab Set compatibility version of NixOS 2024-05-01 05:23:58 +02:00
Manuel Thalmann 353a3ac630 Enable key-sharing and virt-viewer for all VMs 2024-05-01 04:55:17 +02:00
Manuel Thalmann ef82a7b754 Add descriptions to new configurations 2024-05-01 04:54:38 +02:00
Manuel Thalmann 3c402009ba Add comments 2024-05-01 04:51:49 +02:00
Manuel Thalmann b53ab2fae4 Rename variables properly 2024-05-01 04:42:31 +02:00
Manuel Thalmann c6c793b3f3 Fix process quitting for sudo processes 2024-05-01 04:40:38 +02:00
Manuel Thalmann 7f862474b4 Clean up the vm script creation 2024-05-01 04:14:37 +02:00
Manuel Thalmann 90368fcda8 Allow running the VM using virt-viewer 2024-05-01 03:21:34 +02:00
Manuel Thalmann 2b5fe69994 Allow enabling spice 2024-05-01 03:07:42 +02:00
Manuel Thalmann 8b4c67b89d Clean up vm config file 2024-05-01 02:55:42 +02:00
Manuel Thalmann 1ea8734a9c Move let bindings to the top 2024-05-01 02:07:12 +02:00
Manuel Thalmann 8bb98177cf Move vm options to the vm variants 2024-05-01 01:38:03 +02:00
Manuel Thalmann 55e075e01b Allow hooking local ssh keys into the vm 2024-05-01 01:22:21 +02:00
Manuel Thalmann 539d770d20 Allow running qemu in background 2024-05-01 00:50:02 +02:00
Manuel Thalmann 467b2036a7 Remove redundancies 2024-05-01 00:43:41 +02:00
Manuel Thalmann 690b33bd08 Fix efi mount point for VMs 2024-05-01 00:40:00 +02:00
Manuel Thalmann cf051abbdf Allow running the VM as root 2024-05-01 00:27:07 +02:00
Manuel Thalmann 0480f0d4a4 Allow adding custom options to individual vms 2024-05-01 00:03:35 +02:00
Manuel Thalmann 591ba4e96e Apply the wrapper to the default vm 2024-04-30 23:22:35 +02:00
Manuel Thalmann 20f1bdaa13 Allow substituting any vm command 2024-04-30 15:00:02 +02:00
Manuel Thalmann c428a2486d Rename variable holding vm configuration 2024-04-30 13:08:35 +02:00