From 4f591cc9c9663c413e8eb5cd8401a34a3251e30c Mon Sep 17 00:00:00 2001 From: Patryk Niedzwiedzinski Date: Sun, 29 Sep 2024 16:23:16 +0200 Subject: Remove old machines --- machines/adax/configuration.nix | 28 ----------------------- machines/adax/default.nix | 6 ----- machines/adax/hardware-configuration.nix | 38 -------------------------------- 3 files changed, 72 deletions(-) delete mode 100755 machines/adax/configuration.nix delete mode 100755 machines/adax/default.nix delete mode 100755 machines/adax/hardware-configuration.nix (limited to 'machines/adax') diff --git a/machines/adax/configuration.nix b/machines/adax/configuration.nix deleted file mode 100755 index 388fa60..0000000 --- a/machines/adax/configuration.nix +++ /dev/null @@ -1,28 +0,0 @@ -{ config, pkgs, ... }: - -{ - - imports = [ - ../base.nix - ../pl.nix - #../../modules/larbs.nix - ]; - - - networking.hostName = "adax"; - - environment.systemPackages = with pkgs; [ - ]; - - # https://sgt.hootr.club/molten-matter/nix-distributed-builds/ - boot.binfmt.emulatedSystems = [ "aarch64-linux" ]; - services.openssh.enable = true; - nix.trustedUsers = [ "bob" ]; - users.users.bob = { - description = "Bob the Builder"; - isNormalUser = true; - createHome = true; - shell = "/bin/sh"; - }; - -} diff --git a/machines/adax/default.nix b/machines/adax/default.nix deleted file mode 100755 index 246ffea..0000000 --- a/machines/adax/default.nix +++ /dev/null @@ -1,6 +0,0 @@ -{ - imports = [ - ./configuration.nix - ./hardware-configuration.nix - ]; -} diff --git a/machines/adax/hardware-configuration.nix b/machines/adax/hardware-configuration.nix deleted file mode 100755 index 99b9002..0000000 --- a/machines/adax/hardware-configuration.nix +++ /dev/null @@ -1,38 +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, ... }: - -{ - imports = - [ - ]; - - boot.initrd.availableKernelModules = [ "uhci_hcd" "ehci_pci" "ata_piix" "usbhid" "usb_storage" "floppy" "sd_mod" ]; - boot.initrd.kernelModules = [ ]; - boot.kernelModules = [ "kvm-intel" ]; - boot.extraModulePackages = [ ]; - - boot.loader.grub.enable = true; - boot.loader.grub.version = 2; - boot.loader.grub.device = "/dev/sdc"; # or "nodev" for efi only - - networking.useDHCP = false; - networking.interfaces.enp3s0.useDHCP = true; - - fileSystems."/" = - { device = "/dev/disk/by-uuid/6b9e05c9-827e-4a34-bb35-f2a3da149f44"; - fsType = "ext4"; - }; - - fileSystems."/boot" = - { device = "/dev/disk/by-uuid/7F96-4F40"; - fsType = "vfat"; - }; - - swapDevices = - [ { device = "/dev/disk/by-uuid/cda58eb8-fc1e-4bea-9dca-b119a1da2267"; } - ]; - - nix.maxJobs = lib.mkDefault 2; -} -- cgit 1.4.1