about summary refs log tree commit diff
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2024-01-23 00:36:46 +0900
committersefidel <contact@sefidel.net>2024-01-23 01:05:04 +0900
commited0716c06ebd0199e345e0ccb6ea79b34f551d79 (patch)
treee97945e904684fe85cc9307c54281790e7a27d7d
parent12ac17cc96040cc0ba150dea25b6bcd727fbf9e3 (diff)
downloadnixrc-ed0716c06ebd0199e345e0ccb6ea79b34f551d79.tar.gz
nixrc-ed0716c06ebd0199e345e0ccb6ea79b34f551d79.zip
feat(nixos)!: delete beta
-rw-r--r--README.md2
-rw-r--r--nixos/beta/configuration.nix32
-rw-r--r--nixos/beta/hardware-configuration.nix25
-rw-r--r--nixos/default.nix9
4 files changed, 0 insertions, 68 deletions
diff --git a/README.md b/README.md
index 9f8c006..1fbab0d 100644
--- a/README.md
+++ b/README.md
@@ -35,8 +35,6 @@
 
 `alpha` - My main system.
 
-`beta` - Raspberry Pi, inactive.
-
 `haruka` - Laptop (Thinkpad X1C11)
 
 ## TODO
diff --git a/nixos/beta/configuration.nix b/nixos/beta/configuration.nix
deleted file mode 100644
index 989e4fa..0000000
--- a/nixos/beta/configuration.nix
+++ /dev/null
@@ -1,32 +0,0 @@
-{ config, pkgs, ... }:
-
-{
-  boot.loader.grub.enable = false;
-  boot.loader.generic-extlinux-compatible.enable = true;
-
-  networking.hostName = "beta"; # Define your hostname.
-
-  # Set your time zone.
-  time.timeZone = "Asia/Seoul";
-
-  # Define a user account. Don't forget to set a password with ‘passwd’.
-  users.users.core = {
-    isNormalUser = true;
-    extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user.
-  };
-
-  environment.systemPackages = with pkgs; [ git vim ];
-
-  # Enable the OpenSSH daemon.
-  services.openssh.enable = true;
-  services.openssh.settings.PasswordAuthentication = false;
-
-  # This value determines the NixOS release from which the default
-  # settings for stateful data, like file locations and database versions
-  # on your system were taken. It‘s perfectly fine and recommended to leave
-  # this value at the release version of the first install of this system.
-  # Before changing this value read the documentation for this option
-  # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
-  system.stateVersion = "22.05"; # Did you read the comment?
-
-}
diff --git a/nixos/beta/hardware-configuration.nix b/nixos/beta/hardware-configuration.nix
deleted file mode 100644
index 9d81fb0..0000000
--- a/nixos/beta/hardware-configuration.nix
+++ /dev/null
@@ -1,25 +0,0 @@
-{ config, lib, pkgs, modulesPath, ... }:
-
-{
-  boot.initrd.availableKernelModules = [ "xhci_pci" "usbhid" ];
-  boot.initrd.kernelModules = [ ];
-  boot.kernelModules = [ ];
-  boot.extraModulePackages = [ ];
-
-  fileSystems."/" =
-    {
-      device = "/dev/disk/by-uuid/44444444-4444-4444-8888-888888888888";
-      fsType = "ext4";
-    };
-
-  swapDevices = [ ];
-
-  # The global useDHCP flag is deprecated, therefore explicitly set to false here.
-  # Per-interface useDHCP will be mandatory in the future, so this generated config
-  # replicates the default behaviour.
-  networking.useDHCP = lib.mkDefault false;
-  networking.interfaces.eth0.useDHCP = lib.mkDefault true;
-  networking.interfaces.wlan0.useDHCP = lib.mkDefault true;
-
-  powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand";
-}
diff --git a/nixos/default.nix b/nixos/default.nix
index e19ae58..49ffb27 100644
--- a/nixos/default.nix
+++ b/nixos/default.nix
@@ -15,15 +15,6 @@
     ];
   };
 
-  beta = self.lib.mkSystem {
-    name = "beta";
-    system = "aarch64-linux";
-    nixpkgs = unstable-small;
-    extraModules = [
-      ../modules/security.nix
-    ];
-  };
-
   haruka = self.lib.mkSystem {
     name = "haruka";
     nixpkgs = unstable;