add hyprland and greetd
This commit is contained in:
parent
7a6da71236
commit
77b3ecebb7
22 changed files with 84 additions and 321 deletions
|
|
@ -2,4 +2,5 @@
|
|||
{
|
||||
services.gnome.gnome-keyring.enable = true;
|
||||
security.pam.services.login.enableGnomeKeyring = true;
|
||||
security.pam.services.greetd.enableGnomeKeyring = true;
|
||||
}
|
||||
|
|
|
|||
13
hosts/common/services/greetd.nix
Normal file
13
hosts/common/services/greetd.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{ config, pkgs, ... }:
|
||||
{
|
||||
services.greetd = {
|
||||
enable = true;
|
||||
settings = {
|
||||
default_session = {
|
||||
# for niri
|
||||
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --remember --remember-user-session --cmd ${config.programs.niri.package}/bin/niri-session";
|
||||
# for hyprland
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
12
hosts/common/services/protonmail.nix
Normal file
12
hosts/common/services/protonmail.nix
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
services.protonmail-bridge = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
systemd.user.services.protonmail-bridge.serviceConfig = {
|
||||
ExecStartPre = "${pkgs.bash}/bin/bash -c 'until ${pkgs.systemd}/bin/busctl --user list | grep -q org.freedesktop.secrets; do sleep 1; done'";
|
||||
RestartSec = "10s";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue