From d061dadb7e90b8ba6092cd1f00d045c745111427 Mon Sep 17 00:00:00 2001 From: Greg Leyda Date: Thu, 14 Jul 2022 21:52:03 -0400 Subject: [PATCH] polkit no work --- hardware-configuration.nix | 37 ------------------------------------- modules/packages.nix | 1 - 2 files changed, 38 deletions(-) delete mode 100644 hardware-configuration.nix diff --git a/hardware-configuration.nix b/hardware-configuration.nix deleted file mode 100644 index 1c76595..0000000 --- a/hardware-configuration.nix +++ /dev/null @@ -1,37 +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 = [ "nvme" "xhci_pci" "ahci" "usbhid" "uas" "usb_storage" "sd_mod" ]; - boot.initrd.kernelModules = [ ]; - boot.kernelModules = [ "kvm-amd" ]; - boot.extraModulePackages = [ ]; - - fileSystems."/" = - { device = "/dev/disk/by-uuid/d53e0c4b-3021-4fe4-b506-21c929053d1f"; - fsType = "ext4"; - }; - - fileSystems."/boot" = - { device = "/dev/disk/by-uuid/E6FC-4341"; - fsType = "vfat"; - }; - - 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.enp10s0.useDHCP = lib.mkDefault true; - - nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; - hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; -} diff --git a/modules/packages.nix b/modules/packages.nix index de6f464..2d438a9 100755 --- a/modules/packages.nix +++ b/modules/packages.nix @@ -43,7 +43,6 @@ environment.systemPackages = with pkgs; [ networkmanagerapplet dmenu qsudo - mate.mate-polkit flashfocus pavucontrol gpick