From 53fc3f21001886fa4dc7358cd6dd46168208c62a Mon Sep 17 00:00:00 2001 From: Ranomier <> Date: Tue, 17 Jun 2025 01:28:13 +0200 Subject: [PATCH] fix: rename jitsi to srv-videoconf --- hosts/jitsi/hardware-configuration.nix | 3 -- hosts/{jitsi => srv-videoconf}/default.nix | 0 .../srv-videoconf/hardware-configuration.nix | 33 +++++++++++++++++++ outputs.nix | 2 +- 4 files changed, 34 insertions(+), 4 deletions(-) delete mode 100644 hosts/jitsi/hardware-configuration.nix rename hosts/{jitsi => srv-videoconf}/default.nix (100%) create mode 100644 hosts/srv-videoconf/hardware-configuration.nix diff --git a/hosts/jitsi/hardware-configuration.nix b/hosts/jitsi/hardware-configuration.nix deleted file mode 100644 index f8c86aa..0000000 --- a/hosts/jitsi/hardware-configuration.nix +++ /dev/null @@ -1,3 +0,0 @@ -{lib, ...}: { - nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; -} diff --git a/hosts/jitsi/default.nix b/hosts/srv-videoconf/default.nix similarity index 100% rename from hosts/jitsi/default.nix rename to hosts/srv-videoconf/default.nix diff --git a/hosts/srv-videoconf/hardware-configuration.nix b/hosts/srv-videoconf/hardware-configuration.nix new file mode 100644 index 0000000..e26ed92 --- /dev/null +++ b/hosts/srv-videoconf/hardware-configuration.nix @@ -0,0 +1,33 @@ +# 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. +{ + lib, + modulesPath, + ... +}: { + boot = { + initrd.availableKernelModules = ["ata_piix" "uhci_hcd" "virtio_pci" "sr_mod" "virtio_blk"]; + initrd.kernelModules = []; + kernelModules = []; + extraModulePackages = []; + }; + + fileSystems."/" = { + device = "/dev/disk/by-uuid/d290e12c-d93c-45f6-b737-135b551c1951"; + fsType = "ext4"; + }; + + swapDevices = [ + {device = "/dev/disk/by-uuid/8c56f52e-568a-4e03-b22c-6d1c7de7c118";} + ]; + + # 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 + # still possible to use this option, but it's recommended to use it in conjunction + # with explicit per-interface declarations with `networking.interfaces..useDHCP`. + networking.useDHCP = lib.mkDefault true; + # networking.interfaces.ens18.useDHCP = lib.mkDefault true; + + nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; +} diff --git a/outputs.nix b/outputs.nix index 658d9f9..5c64096 100644 --- a/outputs.nix +++ b/outputs.nix @@ -15,7 +15,7 @@ in { nixosConfigurations = builtins.mapAttrs (hostName: hostOptions: (hostHelper hostName hostOptions)) { crocoite = {stateVersion = "24.05";}; - #jitsi = {stateVersion = "24.11";}; + #srv-videoconf = {stateVersion = "24.11";}; game-luanti = {stateVersion = "25.05";};