From 63f03aacdb79320644d80d41481bd7269a88722d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20R=C3=B6ger?= Date: Sat, 5 Apr 2025 02:33:41 +0200 Subject: [PATCH] Home Gen490 @ 2025-04-05-02:33 --- home/jonas@comfy-station.nix | 6 +--- hosts/harbor/hardware-configuration.nix | 42 ++++++++++++++----------- modules/home/nextcloud/config.nix | 6 ++++ modules/home/nextcloud/default.nix | 3 ++ 4 files changed, 33 insertions(+), 24 deletions(-) create mode 100644 modules/home/nextcloud/config.nix create mode 100644 modules/home/nextcloud/default.nix diff --git a/home/jonas@comfy-station.nix b/home/jonas@comfy-station.nix index 8aefaee..f8cb7a1 100644 --- a/home/jonas@comfy-station.nix +++ b/home/jonas@comfy-station.nix @@ -11,6 +11,7 @@ ../modules/home/hyprland ../modules/home/kdeconnect.nix ../modules/home/kitty + ../modules/home/nextcloud ../modules/home/ranger ../modules/home/ssh.nix ../modules/home/swaync @@ -65,11 +66,6 @@ # release notes. home.stateVersion = "24.11"; # Please read the comment before changing. - # The home.packages option allows you to install Nix packages into your - # environment. - home.packages = with pkgs; [ - ]; - home.sessionVariables = { EDITOR = "vim"; }; diff --git a/hosts/harbor/hardware-configuration.nix b/hosts/harbor/hardware-configuration.nix index a4f3fbe..809e0f7 100644 --- a/hosts/harbor/hardware-configuration.nix +++ b/hosts/harbor/hardware-configuration.nix @@ -1,30 +1,34 @@ # Do not modify this file! It was generated by ‘nixos-generate-config’ # and may be overwritten by future invocations. Please make changes # to /etc/nixos/configuration.nix instead. -{ config, lib, pkgs, modulesPath, ... }: - { - imports = - [ (modulesPath + "/profiles/qemu-guest.nix") - ]; + config, + lib, + pkgs, + modulesPath, + ... +}: { + imports = [ + (modulesPath + "/profiles/qemu-guest.nix") + ]; - boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "virtio_pci" "virtio_scsi" "sd_mod" ]; - boot.initrd.kernelModules = [ ]; - boot.kernelModules = [ ]; - boot.extraModulePackages = [ ]; + boot.initrd.availableKernelModules = ["ata_piix" "uhci_hcd" "virtio_pci" "virtio_scsi" "sd_mod"]; + boot.initrd.kernelModules = []; + boot.kernelModules = []; + boot.extraModulePackages = []; - fileSystems."/" = - { device = "/dev/disk/by-uuid/a9ac5007-f148-4001-ba49-f6a0bfad85cc"; - fsType = "ext4"; - }; + fileSystems."/" = { + device = "/dev/disk/by-uuid/a9ac5007-f148-4001-ba49-f6a0bfad85cc"; + fsType = "ext4"; + }; - fileSystems."/boot" = - { device = "/dev/disk/by-uuid/12CE-A600"; - fsType = "vfat"; - options = [ "fmask=0022" "dmask=0022" ]; - }; + fileSystems."/boot" = { + device = "/dev/disk/by-uuid/12CE-A600"; + fsType = "vfat"; + options = ["fmask=0022" "dmask=0022"]; + }; - swapDevices = [ ]; + swapDevices = []; # Enables DHCP on each ethernet and wireless interface. In case of scripted networking # (the default) this is the recommended approach. When using systemd-networkd it's diff --git a/modules/home/nextcloud/config.nix b/modules/home/nextcloud/config.nix new file mode 100644 index 0000000..411b663 --- /dev/null +++ b/modules/home/nextcloud/config.nix @@ -0,0 +1,6 @@ +{...}: { + services.nextcloud-client = { + enable = true; + startInBackground = true; + }; +} diff --git a/modules/home/nextcloud/default.nix b/modules/home/nextcloud/default.nix new file mode 100644 index 0000000..6a4cc23 --- /dev/null +++ b/modules/home/nextcloud/default.nix @@ -0,0 +1,3 @@ +{...}: { + imports = [./config.nix]; +}