diff --git a/nixos/common-services.nix b/nixos/common-services.nix index afe40503..270f056a 100644 --- a/nixos/common-services.nix +++ b/nixos/common-services.nix @@ -41,6 +41,7 @@ autorandr.enable = true; + colord.enable = true; xserver = { enable = true; layout = "pl"; diff --git a/nixos/gui.nix b/nixos/gui.nix index 51fb474c..fa4b4a8d 100644 --- a/nixos/gui.nix +++ b/nixos/gui.nix @@ -14,7 +14,6 @@ hopper (wine.override { wineBuild = "wineWow"; }) winetricks steam - kicad-with-packages3d unstable.qemu unstable.aqemu ]; diff --git a/nixos/i3/i3.nix b/nixos/i3/i3.nix index 1b045d4f..2dc4b885 100644 --- a/nixos/i3/i3.nix +++ b/nixos/i3/i3.nix @@ -11,7 +11,7 @@ in startup = [ { command = "exec hsetroot -solid '#002b36'"; always = true; notification = false; } { command = "exec setxkbmap -layout pl"; always = true; notification = false; } - { command = "exec autorandr -c"; always = true; notification = false; } + { command = "exec autorandr -c"; always = false; notification = false; } { command = "exec $HOME/dev/dotfiles/nixos/i3/lock.sh"; always = false; notification = false; } { command = "exec xdg-mime default org.gnome.Evince.desktop application/pdf"; always = false; notification = false; } ]; diff --git a/nixos/user-xsession.nix b/nixos/user-xsession.nix index 8fbd2337..4c075eb9 100644 --- a/nixos/user-xsession.nix +++ b/nixos/user-xsession.nix @@ -22,8 +22,9 @@ hooks = { postswitch = { - "restart-polybar" = "systemctl --user restart polybar"; - "restart-kde-connect-indicator" = "systemctl --user restart kdeconnect-indicator"; + "restart-compton" = "systemctl --user restart compton"; + "restart-i3" = "i3-msg restart"; + "restart-services" = "systemctl --user restart kdeconnect-indicator.service kdeconnect.service network-manager-applet.service pasystray.service polybar.service"; }; }; @@ -47,18 +48,18 @@ DP1 ="00ffffffffffff0026cd4d66f3030000271d0103803c22782ef6d5a7544b9e250d5054bfef80714f8140818081c09500b300d1c001014dd000a0f0703e8030203500544f2100001a000000ff0031313636333933393031303131000000fd00184c1fa03c000a202020202020000000fc00504c3237393255480a2020202001bd020340f35410050403020716011f12131420151106615d5e5f23090707830100006d030c001000387820006001020367d85dc40178c000e3050301e40f000001023a801871382d40582c4500544f2100001e565e00a0a0a0295030203500544f2100001af45100a0f070198030203500544f2100001e000000000000000000d6"; }; config = { - eDP1 = { - enable = true; - primary = false; - mode = "2560x1440"; - dpi = 144; - position = "3840x0"; - }; DP1 = { enable = true; primary = true; position = "0x0"; mode = "3840x2160"; + dpi = 192; + }; + eDP1 = { + enable = false; + primary = false; + position = "3840x0"; + mode = "2560x1440"; }; }; };