From ed0716c06ebd0199e345e0ccb6ea79b34f551d79 Mon Sep 17 00:00:00 2001 From: sefidel Date: Tue, 23 Jan 2024 00:36:46 +0900 Subject: feat(nixos)!: delete beta --- nixos/beta/configuration.nix | 32 -------------------------------- nixos/beta/hardware-configuration.nix | 25 ------------------------- nixos/default.nix | 9 --------- 3 files changed, 66 deletions(-) delete mode 100644 nixos/beta/configuration.nix delete mode 100644 nixos/beta/hardware-configuration.nix (limited to 'nixos') 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; -- cgit 1.4.1