diff --git a/alex/core.nix b/alex/core.nix index 0858964..940502a 100644 --- a/alex/core.nix +++ b/alex/core.nix @@ -95,6 +95,8 @@ zoxide ]; + programs.command-not-found.enable = true; + # basic configuration of git, please change to your own programs.git = { enable = true; diff --git a/hosts/armitage/configuration.nix b/hosts/armitage/configuration.nix index 2eeb99f..834ac42 100644 --- a/hosts/armitage/configuration.nix +++ b/hosts/armitage/configuration.nix @@ -3,7 +3,6 @@ # and in the NixOS manual (accessible by running ‘nixos-help’). { config, pkgs, inputs, ... }: - { imports = [ # Include the results of the hardware scan. diff --git a/hosts/modules/base.nix b/hosts/modules/base.nix index d1e473d..07d95d2 100644 --- a/hosts/modules/base.nix +++ b/hosts/modules/base.nix @@ -16,12 +16,6 @@ # break fish man completion and apropos. documentation.man.generateCaches = false; - # enable a 1GB swap file - swapDevices = [{ - device = "/swapfile"; - size = 1024; - }]; - # enable zram. not totally sure if this does it in physical ram or just swap zramSwap.enable = true; diff --git a/hosts/modules/desktop.nix b/hosts/modules/desktop.nix index df38831..39d200e 100644 --- a/hosts/modules/desktop.nix +++ b/hosts/modules/desktop.nix @@ -14,6 +14,7 @@ ./certs/alt-caddy.crt ]; + # Enable the GNOME Desktop Environment. services.displayManager.gdm = { enable = true; wayland = true; diff --git a/hosts/modules/laptop.nix b/hosts/modules/laptop.nix index a7dfb4b..3de31ec 100644 --- a/hosts/modules/laptop.nix +++ b/hosts/modules/laptop.nix @@ -3,6 +3,7 @@ services.thermald.enable = true; services.power-profiles-daemon.enable = false; + services.logind.settings.Login.HandleLidSwitchExternalPower = "ignore"; services.tlp = { enable = true;