From 28e4448d49c70ad867477d13ffd86a7efc05ef24 Mon Sep 17 00:00:00 2001 From: EsVagy42 Date: Wed, 11 Jun 2025 18:11:11 +0200 Subject: [PATCH] Removed alt config --- commit_text | 2 +- devices/alt/alt-hardware-configuration.nix | 39 ---------------------- devices/alt/alt.nix | 20 ----------- flake.nix | 16 --------- 4 files changed, 1 insertion(+), 76 deletions(-) delete mode 100644 devices/alt/alt-hardware-configuration.nix delete mode 100644 devices/alt/alt.nix diff --git a/commit_text b/commit_text index fdaa369..40c8445 100644 --- a/commit_text +++ b/commit_text @@ -1 +1 @@ -Removed lock on startup from kscreenlocker +Removed alt config diff --git a/devices/alt/alt-hardware-configuration.nix b/devices/alt/alt-hardware-configuration.nix deleted file mode 100644 index 96e4792..0000000 --- a/devices/alt/alt-hardware-configuration.nix +++ /dev/null @@ -1,39 +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, modulesPath, ... }: - -{ - imports = - [ (modulesPath + "/installer/scan/not-detected.nix") - ]; - - boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "vmd" "ahci" "nvme" "rtsx_pci_sdmmc" ]; - boot.initrd.kernelModules = [ ]; - boot.kernelModules = [ "kvm-intel" ]; - boot.extraModulePackages = [ ]; - - fileSystems."/" = - { device = "/dev/disk/by-uuid/b3b5b00d-8cbd-4566-8849-494ef36a226b"; - fsType = "ext4"; - }; - - fileSystems."/boot" = - { device = "/dev/disk/by-uuid/42F8-3997"; - fsType = "vfat"; - options = [ "fmask=0077" "dmask=0077" ]; - }; - - swapDevices = [ ]; - - # Enables DHCP on each ethernet and wireless interface. In case of scripted networking - # (the default) this is the recommended approach. When using systemd-networkd it's - # still possible to use this option, but it's recommended to use it in conjunction - # with explicit per-interface declarations with `networking.interfaces..useDHCP`. - networking.useDHCP = lib.mkDefault true; - # networking.interfaces.enp0s31f6.useDHCP = lib.mkDefault true; - # networking.interfaces.wlp0s20f3.useDHCP = lib.mkDefault true; - - nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; - hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; -} diff --git a/devices/alt/alt.nix b/devices/alt/alt.nix deleted file mode 100644 index 5e48866..0000000 --- a/devices/alt/alt.nix +++ /dev/null @@ -1,20 +0,0 @@ -# Edit this configuration file to define what should be installed on -# your system. Help is available in the configuration.nix(5) man page -# and in the NixOS manual (accessible by running ‘nixos-help’). - -{ config, pkgs, lib, ... }: - -{ - imports = [ # Include the results of the hardware scan. - ./alt-hardware-configuration.nix - ]; - - swapDevices = [{ - device = "/var/lib/swapfile"; - size = 16 * 1024; - }]; - boot.initrd.systemd.enable = true; - - -} - diff --git a/flake.nix b/flake.nix index b44939a..7f1cce4 100644 --- a/flake.nix +++ b/flake.nix @@ -59,22 +59,6 @@ in { nixos = baseSystem { productiveBuild = false; }; productive = baseSystem { productiveBuild = true; }; - alt = lib.nixosSystem { - inherit system; - modules = [ - ./configuration.nix - ./devices/alt/alt.nix - home-manager.nixosModules.home-manager - { - home-manager.useGlobalPkgs = true; - home-manager.useUserPackages = true; - home-manager.sharedModules = - [ plasma-manager.homeManagerModules.plasma-manager ]; - - home-manager.users.esvagy = { imports = [ ./home.nix ]; }; - } - ]; - }; }; }; }