diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2022-06-28 14:48:07 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2022-06-28 14:48:07 +0200 |
commit | 13b2dfa81ec3495e37ffbc953c636d62999f0732 (patch) | |
tree | c37d082ee21249c656f77a0667143b9805b40b35 /hosts | |
parent | afb62af249f863b36cd1fe9c51e30ce0e7d6aba6 (diff) | |
download | nixos-13b2dfa81ec3495e37ffbc953c636d62999f0732.tar nixos-13b2dfa81ec3495e37ffbc953c636d62999f0732.tar.gz nixos-13b2dfa81ec3495e37ffbc953c636d62999f0732.tar.bz2 nixos-13b2dfa81ec3495e37ffbc953c636d62999f0732.tar.xz nixos-13b2dfa81ec3495e37ffbc953c636d62999f0732.zip |
...
Diffstat (limited to 'hosts')
-rw-r--r-- | hosts/sif/default.nix | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/hosts/sif/default.nix b/hosts/sif/default.nix index 45f2a87c..2b69bdd0 100644 --- a/hosts/sif/default.nix +++ b/hosts/sif/default.nix | |||
@@ -363,7 +363,7 @@ in { | |||
363 | 363 | ||
364 | desktopManager.xterm.enable = true; | 364 | desktopManager.xterm.enable = true; |
365 | windowManager.twm.enable = true; | 365 | windowManager.twm.enable = true; |
366 | displayManager.defaultSession = "xterm+twm"; | 366 | displayManager.defaultSession = "none+xmonad"; |
367 | 367 | ||
368 | wacom.enable = true; | 368 | wacom.enable = true; |
369 | libinput.enable = true; | 369 | libinput.enable = true; |
@@ -590,7 +590,17 @@ in { | |||
590 | xdg.portal = { | 590 | xdg.portal = { |
591 | enable = true; | 591 | enable = true; |
592 | gtkUsePortal = true; | 592 | gtkUsePortal = true; |
593 | extraPortals = with pkgs; [ xdg-desktop-portal-gtk ]; | 593 | extraPortals = let |
594 | gtk-portal = pkgs.xdg-desktop-portal-gtk.overrideAttrs (oldAttrs: { | ||
595 | postFixup = '' | ||
596 | ${oldAttrs.postFixup or ""} | ||
597 | |||
598 | ${pkgs.gnused}/bin/sed -ri \ | ||
599 | 's|UseIn=gnome|UseIn=gnome;xterm+twm;none+xmonad|' \ | ||
600 | $out/share/xdg-desktop-portal/portals/gtk.portal | ||
601 | ''; | ||
602 | }; | ||
603 | in [ gtk-portal ]; | ||
594 | }; | 604 | }; |
595 | 605 | ||
596 | system.stateVersion = "20.03"; | 606 | system.stateVersion = "20.03"; |