diff --git a/flake.nix b/flake.nix index f6c157e..f86e519 100644 --- a/flake.nix +++ b/flake.nix @@ -44,7 +44,6 @@ "reg" = mkSystem "x86_64-linux" nixpkgs ./machines/reg/configuration.nix; "ray" = mkSystem "x86_64-linux" nixpkgs ./machines/ray/configuration.nix; "mitty" = mkSystem "x86_64-linux" nixpkgs ./machines/mitty/configuration.nix; - "nanachi" = mkSystem "x86_64-linux" nixpkgs ./machines/nanachi/configuration.nix; "riko" = mkSystem "x86_64-linux" nixpkgs ./machines/riko/configuration.nix; "neetdev" = mkSystem "x86_64-linux" nixpkgs ./machines/neet.dev/configuration.nix; "liza" = mkSystem "x86_64-linux" nixpkgs-peertube ./machines/liza/configuration.nix; diff --git a/machines/nanachi/configuration.nix b/machines/nanachi/configuration.nix deleted file mode 100644 index 82904d5..0000000 --- a/machines/nanachi/configuration.nix +++ /dev/null @@ -1,42 +0,0 @@ -{ config, pkgs, lib, ... }: - -{ - imports =[ - ./hardware-configuration.nix - ]; - - # uxzq63kr2uuwutpaqjna2sg4gnk3p65e5bkvedzx5dsxx2mvxhjm7fid.onion - - nix.flakes.enable = true; - - bios = { - enable = true; - device = "/dev/vda"; - }; - - luks = { - enable = true; - device.path = "/dev/disk/by-uuid/e57ac752-bd99-421f-a3b9-0cfa9608a54e"; - }; - - networking.hostName = "nanachi"; - - networking.interfaces.ens3.useDHCP = true; - - services.icecast = { - enable = true; - hostname = "nanachi.neet.dev"; - mount = "stream.mp3"; - fallback = "fallback.mp3"; - }; - - security.acme.acceptTerms = true; - security.acme.email = "letsencrypt+5@tar.ninja"; - - services.nginx.enable = true; - services.nginx.virtualHosts."nanachi.neet.dev" = { - enableACME = true; - forceSSL = true; - root = "/var/www/tmp"; - }; -} diff --git a/machines/nanachi/hardware-configuration.nix b/machines/nanachi/hardware-configuration.nix deleted file mode 100644 index d1ebf17..0000000 --- a/machines/nanachi/hardware-configuration.nix +++ /dev/null @@ -1,37 +0,0 @@ -# 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") - ]; - - boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "virtio_pci" "sr_mod" "virtio_blk" ]; - boot.initrd.kernelModules = [ "dm-snapshot" ]; - boot.kernelModules = [ ]; - boot.extraModulePackages = [ ]; - - fileSystems."/" = - { device = "/dev/mapper/vg-root"; - fsType = "btrfs"; - options = [ "subvol=root" ]; - }; - - fileSystems."/home" = - { device = "/dev/mapper/vg-root"; - fsType = "btrfs"; - options = [ "subvol=home" ]; - }; - - fileSystems."/boot" = - { device = "/dev/disk/by-uuid/47b13d6a-0bbb-42a6-abd9-2b06f76d9718"; - fsType = "ext3"; - }; - - swapDevices = - [ { device = "/dev/disk/by-uuid/b7533a50-6dd2-4a64-953b-a8218e77d9fa"; } - ]; - -} \ No newline at end of file