diff options
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | nixos/beta/configuration.nix | 32 | ||||
-rw-r--r-- | nixos/beta/hardware-configuration.nix | 25 | ||||
-rw-r--r-- | nixos/default.nix | 9 |
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; |