diff options
Diffstat (limited to 'machines')
-rw-r--r-- | machines/helium.nix | 34 |
1 files changed, 31 insertions, 3 deletions
diff --git a/machines/helium.nix b/machines/helium.nix index 0f49443..9c75b18 100644 --- a/machines/helium.nix +++ b/machines/helium.nix @@ -1,6 +1,14 @@ { config, lib, pkgs, ... }: -{ +let + nixpkgs = builtins.fetchTarball (import ../nixpkgs.nix); +in { + + security = { + sudo = { + wheelNeedsPassword = false; + }; + }; networking = { hostName = "helium"; @@ -14,6 +22,10 @@ fira fira-code fira-code-symbols ]; + environment.systemPackages = [ + pkgs.brightnessctl + ]; + nixpkgs = { config = { allowUnfree = true; @@ -25,7 +37,6 @@ enableAllFirmware = true; bluetooth.enable = true; bluetooth.package = pkgs.bluezFull; - brightnessctl.enable = true; opengl.enable = true; pulseaudio = { enable = true; @@ -80,6 +91,18 @@ displayManager.sddm.enable = true; + #session = [ + # { + # manage = "desktop"; + # name = "home-manager"; + # start = '' + # ${pkgs.runtimeShell} $HOME/.hm-xsession & + # waitPID=$! + # ''; + # } + #]; + + windowManager.xmonad.enable = true; desktopManager = { xterm.enable = true; }; @@ -102,8 +125,13 @@ powerManagement.enable = true; nix = { + nixPath = [ + "nixpkgs=${nixpkgs}" + "nixos-config=/etc/nixos/configuration.nix" + "/nix/var/nix/profiles/per-user/root/channels" + ]; gc = { - automatic = true; + automatic = false; dates = "03:15"; }; binaryCaches = [ "https://cache.nixos.org/" ]; |