nixos,graphical: move xdg.nix to users/guanranwang/nixos/presets/desktop.nix
This commit is contained in:
parent
112ae500c3
commit
99d810e25b
3 changed files with 6 additions and 10 deletions
|
@ -5,6 +5,5 @@
|
|||
./gnome-keyring.nix
|
||||
./graphical.nix
|
||||
./polkit.nix
|
||||
./xdg.nix
|
||||
];
|
||||
}
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
{pkgs, ...}: {
|
||||
# XDG portal
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
wlr.enable = true;
|
||||
extraPortals = with pkgs; [xdg-desktop-portal-gtk]; # disable if on gnome
|
||||
};
|
||||
}
|
|
@ -1,4 +1,4 @@
|
|||
{...}: {
|
||||
{pkgs, ...}: {
|
||||
imports = [
|
||||
./core.nix
|
||||
|
||||
|
@ -11,4 +11,9 @@
|
|||
home-manager.users.guanranwang = import ../../home-manager/nixos/presets/desktop.nix;
|
||||
fonts.enableDefaultPackages = false;
|
||||
security.pam.services.swaylock = {};
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
wlr.enable = true;
|
||||
extraPortals = with pkgs; [xdg-desktop-portal-gtk];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue