From 1b620d05e7147cc92910b478aa1907de0ac1d8ad Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Wed, 9 Nov 2022 18:24:10 +0000 Subject: [PATCH] updates --- configuration.nix | 14 +++++++++----- hardware-configuration.nix | 38 -------------------------------------- 2 files changed, 9 insertions(+), 43 deletions(-) delete mode 100644 hardware-configuration.nix diff --git a/configuration.nix b/configuration.nix index 167ce03..01569f9 100644 --- a/configuration.nix +++ b/configuration.nix @@ -26,11 +26,14 @@ # xstuffs - services.xserver.enable = true; - services.xserver.autorun = false; - services.xserver.displayManager.startx.enable = true; - services.xserver.windowManager.qtile.enable = true; - services.xserver.desktopManager.plasma5.enable = true; + #services.xserver.enable = true; + #services.xserver.autorun = false; + #services.xserver.displayManager.startx.enable = true; + #services.xserver.windowManager.qtile.enable = true; + #services.xserver.desktopManager.plasma5.enable = true; + +# overrwite default login + services.xserver.displayManager.autoLogin.enable = lib.mkForce false; # Define a user account. Don't forget to set a password with ‘passwd’. users.users.daylin = { @@ -79,6 +82,7 @@ noto-fonts-emoji noto-fonts-extra (nerdfonts.override { fonts = [ "FiraCode" ]; }) + ]; diff --git a/hardware-configuration.nix b/hardware-configuration.nix deleted file mode 100644 index 0a6fd34..0000000 --- a/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, modulesPath, ... }: - -{ - imports = [ ]; - - boot.initrd.availableKernelModules = [ "ata_piix" "ohci_pci" "ehci_pci" "ahci" "sd_mod" "sr_mod" ]; - boot.initrd.kernelModules = [ ]; - boot.kernelModules = [ ]; - boot.extraModulePackages = [ ]; - - fileSystems."/" = - { - device = "/dev/disk/by-uuid/07e57f41-bbe1-4e4e-950b-9be902bc6484"; - fsType = "ext4"; - }; - - fileSystems."/boot" = - { - device = "/dev/disk/by-uuid/0F7D-6BD7"; - fsType = "vfat"; - }; - - swapDevices = - [{ device = "/dev/disk/by-uuid/9a725db7-d6dd-42a6-b13a-920eada1c154"; }]; - - # 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.enp0s3.useDHCP = lib.mkDefault true; - - hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; - virtualisation.virtualbox.guest.enable = true; -}