diff --git a/.gitignore b/.gitignore index 556ebed..8ab5ca7 100644 --- a/.gitignore +++ b/.gitignore @@ -4,8 +4,6 @@ !hosts/ -!hosts/altk/ - !hosts/cube/ !hosts/cube/acme/ !hosts/cube/forgejo/ @@ -16,8 +14,6 @@ !hosts/disk/ !hosts/disk/mail/ -!hosts/enka/ - !hosts/nine/ !hosts/nine/github2forgejo/ diff --git a/hosts/altk/default.nix b/hosts/altk/default.nix deleted file mode 100644 index 0f023bc..0000000 --- a/hosts/altk/default.nix +++ /dev/null @@ -1,43 +0,0 @@ -{ themes, config, lib, pkgs, ... }: with lib; merge - -(systemConfiguration { - system.stateVersion = "24.11"; - nixpkgs.hostPlatform = "x86_64-linux"; - - time.timeZone = "Europe/Istanbul"; - - secrets.saidPassword.file = ./password.said.age; - - users.users = { - root.hashedPasswordFile = config.secrets.saidPassword.path; - - said = sudoUser (desktopUser { - description = "Said"; - hashedPasswordFile = config.secrets.saidPassword.path; - }); - }; - - theme = themes.custom (themes.raw.gruvbox-dark-hard // { - cornerRadius = 0; - borderWidth = 1; - - margin = 0; - padding = 6; - - font.size.normal = 12; - font.size.big = 16; - - font.sans.name = "Lexend"; - font.sans.package = pkgs.lexend; - - font.mono.name = "JetBrainsMono Nerd Font"; - font.mono.package = pkgs.nerdfonts.override { fonts = [ "JetBrainsMono"]; }; - - icons.name = "Gruvbox-Plus-Dark"; - icons.package = pkgs.gruvbox-plus-icons; - }); -}) - -(homeConfiguration { - home.stateVersion = "24.11"; -}) diff --git a/hosts/altk/hardware.nix b/hosts/altk/hardware.nix deleted file mode 100644 index e7e09ab..0000000 --- a/hosts/altk/hardware.nix +++ /dev/null @@ -1,35 +0,0 @@ -{ config, lib, ... }: with lib; - -systemConfiguration { - boot.loader = { - systemd-boot = enabled { - editor = false; - }; - - efi.canTouchEfiVariables = true; - }; - - boot.initrd.availableKernelModules = [ - "ahci" - "ehci_pci" - "sd_mod" - "sr_mod" - "usb_storage" - "usbhid" - ]; - - fileSystems."/" = { - device = "/dev/disk/by-label/root"; - fsType = "btrfs"; - options = [ "noatime" ]; - }; - - fileSystems.${config.boot.loader.efi.efiSysMountPoint} = { - device = "/dev/disk/by-label/boot"; - fsType = "vfat"; - options = [ "noatime" ]; - }; - - hardware.enableAllFirmware = true; - hardware.cpu.intel.updateMicrocode = true; -} diff --git a/hosts/altk/id.age b/hosts/altk/id.age deleted file mode 100644 index 81ad6d2..0000000 Binary files a/hosts/altk/id.age and /dev/null differ diff --git a/hosts/altk/password.said.age b/hosts/altk/password.said.age deleted file mode 100644 index a6a922d..0000000 --- a/hosts/altk/password.said.age +++ /dev/null @@ -1,10 +0,0 @@ -age-encryption.org/v1 --> ssh-ed25519 CzqbPQ YpdEAmAsfX1gVJFabC9iR71Fo3hQbnqfdqEOHG7k0ng -a/aOpjWKvwcOrPLDECd/12sIyP2oXySt/q0qX1gb3VU --> ssh-ed25519 CzqbPQ fpyWx9qWw0JG0Zc1Gc8MD6HEDq8M1aY2jYPjMOiMohI -nmIHRcH+P6zlEh47qimm0gAo4WLDLVONjSfQ40BYuO0 --> ssh-ed25519 f5VzMA mljacn96t2J2LVhX8/vzbW2a0zzu5NtWCXZ2OQzBgVk -lCkWWSKlzOo4JHCkNT6csvlb+qMPcqmC6lKa5y24oKY ---- UbeKoJcDPPJ4xW3Y6Z58bpExIihCQjD7+ltak3T9fQk -k_P}|"eП#m6A_:b=A{d6~x.=C FI2 --7s8Fr?|ͣ yQ]q)N{Φ%3?n?-ux\^ \ No newline at end of file diff --git a/hosts/cube/default.nix b/hosts/cube/default.nix index a3ad066..638a60a 100644 --- a/hosts/cube/default.nix +++ b/hosts/cube/default.nix @@ -12,7 +12,7 @@ rgb = sudoUser { description = "RGB"; - openssh.authorizedKeys.keys = [ keys.enka ]; + openssh.authorizedKeys.keys = keys.admins; hashedPasswordFile = config.secrets.rgbPassword.path; }; diff --git a/hosts/disk/default.nix b/hosts/disk/default.nix index 44b7e1d..09ea585 100644 --- a/hosts/disk/default.nix +++ b/hosts/disk/default.nix @@ -12,7 +12,7 @@ floppy = sudoUser { description = "Floppy"; - openssh.authorizedKeys.keys = [ keys.enka ]; + openssh.authorizedKeys.keys = keys.admins; hashedPasswordFile = config.secrets.floppyPassword.path; }; diff --git a/hosts/enka/default.nix b/hosts/enka/default.nix deleted file mode 100644 index d3c91da..0000000 --- a/hosts/enka/default.nix +++ /dev/null @@ -1,31 +0,0 @@ -{ config, lib, ... }: with lib; merge - -(systemConfiguration { - system.stateVersion = "24.11"; - nixpkgs.hostPlatform = "x86_64-linux"; - - time.timeZone = "Europe/Istanbul"; - - secrets = { - orhanPassword.file = ./password.orhan.age; - saidPassword.file = ./password.said.age; - }; - - users.users = { - root.hashedPasswordFile = config.secrets.saidPassword.path; - - orhan = desktopUser { - description = "Orhan"; - hashedPasswordFile = config.secrets.orhanPassword.path; - }; - - said = sudoUser (desktopUser { - description = "Said"; - hashedPasswordFile = config.secrets.saidPassword.path; - }); - }; -}) - -(homeConfiguration { - home.stateVersion = "24.11"; -}) diff --git a/hosts/enka/hardware.nix b/hosts/enka/hardware.nix deleted file mode 100644 index 1213be0..0000000 --- a/hosts/enka/hardware.nix +++ /dev/null @@ -1,38 +0,0 @@ -{ config, lib, ... }: with lib; - -systemConfiguration { - boot.loader = { - systemd-boot = enabled { - editor = false; - }; - - efi.canTouchEfiVariables = true; - }; - - boot.initrd.availableKernelModules = [ - "ahci" - "nvme" - "sr_mod" - "usbhid" - "xhci_pci" - ]; - - boot.kernelModules = [ - "kvm-intel" - ]; - - fileSystems."/" = { - device = "/dev/disk/by-label/root"; - fsType = "btrfs"; - options = [ "noatime" ]; - }; - - fileSystems.${config.boot.loader.efi.efiSysMountPoint} = { - device = "/dev/disk/by-label/ESP"; - fsType = "vfat"; - options = [ "noatime" ]; - }; - - hardware.enableAllFirmware = true; - hardware.cpu.intel.updateMicrocode = true; -} diff --git a/hosts/enka/id.age b/hosts/enka/id.age deleted file mode 100644 index 81ad6d2..0000000 Binary files a/hosts/enka/id.age and /dev/null differ diff --git a/hosts/enka/nvidia.nix b/hosts/enka/nvidia.nix deleted file mode 100644 index bdf65f8..0000000 --- a/hosts/enka/nvidia.nix +++ /dev/null @@ -1,34 +0,0 @@ - -{ hardware, lib, ... }: with lib; - -systemConfiguration { - imports = [ hardware.nixosModules.common-gpu-nvidia ]; - - boot.kernelParams = [ "nvidia-drm.fbdev=1" ]; - - boot.kernelModules = [ - "nvidia" - "nvidia_drm" - "nvidia_modeset" - "nvidia_uvm" - ]; - - hardware.nvidia = { - open = false; - powerManagement = enabled; - - prime = { - intelBusId = "PCI:0:2:0"; - nvidiaBusId = "PCI:1:0:0"; - }; - }; - - environment.sessionVariables = { - GBM_BACKEND = "nvidia-drm"; - LIBVA_DRIVER_NAME = "nvidia"; - NVD_BACKEND = "direct"; - XDG_SESSION_TYPE = "wayland"; - __GLX_VENDOR_LIBRARY_NAME = "nvidia"; - }; -} - diff --git a/hosts/enka/password.orhan.age b/hosts/enka/password.orhan.age deleted file mode 100644 index cafae9d..0000000 --- a/hosts/enka/password.orhan.age +++ /dev/null @@ -1,8 +0,0 @@ -age-encryption.org/v1 --> ssh-ed25519 CzqbPQ S+qzZKEm8R8tBrEzy51XyuGDgcJF7TTswPEIxQdCli0 -/Cfi+/E78lT5V45L7DmWgdne+51tx1s6WzGJxqDRrzM --> ssh-ed25519 f5VzMA 66MxeFz0QxNQ32nJJuM8wFPq6ilZC7k3D+WzDwsAxiQ -HwVYX8Na53eeuQUUiBC/EfyuE9LzeJhbwyD8oC2w1N8 ---- 24UVWQQ8kg3+Eq0VdO/aFZ1C0ruKoe8bemv8rLMpXoY -UD:ƒv WIvM­gC< -FLM3=FdZ&$6h3|B