From 79f95f31729ab9684f05c94a5f6476404177d562 Mon Sep 17 00:00:00 2001 From: zuckerberg <5-zuckerberg@users.noreply.git.neet.dev> Date: Fri, 27 Aug 2021 15:35:47 -0400 Subject: [PATCH] remove riko --- flake.nix | 1 - machines/riko/configuration.nix | 34 ---------------------- machines/riko/hardware-configuration.nix | 37 ------------------------ 3 files changed, 72 deletions(-) delete mode 100644 machines/riko/configuration.nix delete mode 100644 machines/riko/hardware-configuration.nix diff --git a/flake.nix b/flake.nix index f86e519..58d8920 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; - "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; "s0" = mkSystem "aarch64-linux" nixpkgs ./machines/storage/s0/configuration.nix; diff --git a/machines/riko/configuration.nix b/machines/riko/configuration.nix deleted file mode 100644 index b4f0d1f..0000000 --- a/machines/riko/configuration.nix +++ /dev/null @@ -1,34 +0,0 @@ -{ config, pkgs, lib, ... }: - -{ - imports =[ - ./hardware-configuration.nix - ]; - - # rzv5fm2vrmnbmffe3bgh2kxdpa66jwdjw57wallgw4j4q64kaknb55id.onion - - nix.flakes.enable = true; - - bios = { - enable = true; - device = "/dev/vda"; - }; - - luks = { - enable = true; - device.path = "/dev/disk/by-uuid/60051e7a-c2fe-4065-9ef0-110aaac78f0c"; - }; - - networking.hostName = "riko"; - - networking.interfaces.ens3.useDHCP = true; - - security.acme.acceptTerms = true; - security.acme.email = "letsencrypt+5@tar.ninja"; - - services.nginx.enable = true; - services.nginx.virtualHosts."riko.neet.dev" = { - enableACME = true; - forceSSL = true; - }; -} diff --git a/machines/riko/hardware-configuration.nix b/machines/riko/hardware-configuration.nix deleted file mode 100644 index fb1ea76..0000000 --- a/machines/riko/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 = [ "kvm-intel" ]; - 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/e65c8351-d869-456a-bade-0c23e483570f"; - fsType = "ext3"; - }; - - swapDevices = - [ { device = "/dev/disk/by-uuid/43dd30f1-f428-4b67-a1ce-5c7c336428c4"; } - ]; - -} \ No newline at end of file