diff options
author | Ben Sima <ben@bsima.me> | 2020-11-30 19:56:11 -0500 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2020-11-30 19:56:11 -0500 |
commit | 42743afe59bbb7535d8a7ec30ce206f89a3c7a55 (patch) | |
tree | b3ae195c1dab4abdbe6a227c31bdb012d71d25a0 /machines | |
parent | f252a7d637956c2a3eddd762e10fbc020cf6bd04 (diff) |
helium: use urxvt, fix xmonad, and pin nixpkgs
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/" ]; |