diff --git a/nixos/common.nix b/nixos/common.nix index fd75d9d1..d2fc7ff0 100644 --- a/nixos/common.nix +++ b/nixos/common.nix @@ -25,7 +25,7 @@ in }; environment.systemPackages = with pkgs; [ - wget git gnupg curl tmux python36Packages.glances vim htop atop firefox home-manager alacritty + wget git gnupg curl tmux python36Packages.glances vim htop atop firefox home-manager alacritty pciutils ]; i18n.defaultLocale = "en_GB.UTF-8"; diff --git a/nixos/user-xsession.nix b/nixos/user-xsession.nix index 6538f062..ed306a52 100644 --- a/nixos/user-xsession.nix +++ b/nixos/user-xsession.nix @@ -5,7 +5,6 @@ in { services = { network-manager-applet.enable = true; - }; xsession = { @@ -20,7 +19,7 @@ in bars = []; gaps = { - inner = 12; + inner = 8; outer = 0; smartGaps = true; smartBorders = "on"; @@ -40,6 +39,27 @@ in }; }; + programs.autorandr = { + enable = true; + profiles = { + "foureighty-alone" = { + fingerprint = { + eDP1 = "00ffffffffffff0006af362300000000001b0104a51f117802f4f5a4544d9c270f505400000001010101010101010101010101010101e65f00a0a0a040503020350035ae100000180000000f0000000000000000000000000020000000fe0041554f0a202020202020202020000000fe004231343051414e30322e33200a00b2"; + }; + config = { + eDP1 = { + enable = true; + primary = true; + position = "0x0"; + mode = "2560x1440"; + rate = "60.00"; + scale = { x=1.25; y=1.25; }; + }; + }; + }; + }; + }; + imports = [ ./polybar.nix ];