h2
This commit is contained in:
parent
00da286651
commit
a9a77e75fe
12 changed files with 307 additions and 3 deletions
29
modules/desktop/niri.nix
Normal file
29
modules/desktop/niri.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
options = {
|
||||
desktop = {
|
||||
niri = {
|
||||
enable = lib.mkEnableOption "enable niri";
|
||||
};
|
||||
};
|
||||
};
|
||||
config = lib.mkIf config.desktop.niri.enable {
|
||||
|
||||
# Enable the gnome-keyring secrets vault.
|
||||
# Will be exposed through DBus to programs willing to store secrets.
|
||||
services.gnome.gnome-keyring.enable = true;
|
||||
environment.systemPackages = with pkgs; [
|
||||
xwayland-satellite
|
||||
niri
|
||||
];
|
||||
programs.niri = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue