diff options
Diffstat (limited to '')
-rw-r--r-- | sys/default.nix | 2 | ||||
-rw-r--r-- | sys/desktop/river/default.nix | 20 | ||||
-rw-r--r-- | sys/services/flatpak/default.nix | 10 |
3 files changed, 26 insertions, 6 deletions
diff --git a/sys/default.nix b/sys/default.nix index ef20d36..f1dfe31 100644 --- a/sys/default.nix +++ b/sys/default.nix @@ -1,6 +1,6 @@ {...}: { imports = [ - ./desktop/gnome + ./desktop/river ./environment ./nix ./packages diff --git a/sys/desktop/river/default.nix b/sys/desktop/river/default.nix new file mode 100644 index 0000000..fa2720b --- /dev/null +++ b/sys/desktop/river/default.nix @@ -0,0 +1,20 @@ +{pkgs, ...}: { + services.xserver = { + enable = true; + displayManager = { + lightdm.enable = true; + defaultSession = "river"; + session = [ + { + manage = "desktop"; + name = "river"; + start = '' + ${pkgs.river}/bin/river; + ''; + } + ]; + }; + }; +} +# vim: ts=2 + diff --git a/sys/services/flatpak/default.nix b/sys/services/flatpak/default.nix index d1f4586..0cc6108 100644 --- a/sys/services/flatpak/default.nix +++ b/sys/services/flatpak/default.nix @@ -1,11 +1,11 @@ -{...}: { +{pkgs, ...}: { services.flatpak.enable = true; fileSystems."/var/lib/flatpak" = { device = "/srv/flatpak"; options = ["bind"]; }; - # xdg.portal = { - # enable = true; - # extraPortals = [pkgs.xdg-desktop-portal-gtk]; - # }; + xdg.portal = { + enable = true; + extraPortals = [pkgs.xdg-desktop-portal-gtk]; + }; } |