nixcfg/nixosModules/desktop/greetd/default.nix
Aly Raffauf 7453aedb63
flake: update inputs (#156)
* flake.lock: Update

Flake lock file updates:

• Updated input 'disko':
    'github:nix-community/disko/3979285062d6781525cded0f6c4ff92e71376b55?narHash=sha256-o5m5WzvY6cGIDupuOvjgNSS8AN6yP2iI9MtUC6q/uos%3D' (2024-10-29)
  → 'github:nix-community/disko/856a2902156ba304efebd4c1096dbf7465569454?narHash=sha256-sdY29RWz0S7VbaoTwSy6RummdHKf0wUTaBlqPxrtvmQ%3D' (2024-11-04)
• Updated input 'home-manager':
    'github:nix-community/home-manager/8ca921e5a806b5b6171add542defe7bdac79d189?narHash=sha256-0AfApF8aexgB6o34qqLW2cCX4LaWJajBVdU6ddiWZBM%3D' (2024-11-01)
  → 'github:nix-community/home-manager/2f607e07f3ac7e53541120536708e824acccfaa8?narHash=sha256-0kZL4m%2BbKBJUBQse0HanewWO0g8hDdCvBhudzxgehqc%3D' (2024-11-05)
• Updated input 'jovian':
    'github:Jovian-Experiments/Jovian-NixOS/bd1da5657b8903b293a0ff51eb896a91a544ebed?narHash=sha256-xmZQFGeIm2TzXv4jGaQ3nfBoUbt4gKbIv/SHVWw93ag%3D' (2024-11-01)
  → 'github:Jovian-Experiments/Jovian-NixOS/84da0883c26098a343b3056c025943d991d1c7f5?narHash=sha256-c9N34iMGlYvIhEDGEzidYoua/nJCjtXI0Sf/ZYtY4Ds%3D' (2024-11-06)
• Updated input 'nix-gaming':
    'github:fufexan/nix-gaming/bcc7c896b56ccd644ca2daea74dac05c1731f59d?narHash=sha256-dfxO6mkn1KkotGQXV93m/2MoS9ayLUwaIIbR3mReLd0%3D' (2024-11-01)
  → 'github:fufexan/nix-gaming/0c25376479d11073346ed22de8571805543ede71?narHash=sha256-UHm56cW/04efHY4NgboGFOXliGQCqRRY%2Bl1HM7c8/Ms%3D' (2024-11-05)
• Updated input 'nix-gaming/flake-parts':
    'github:hercules-ci/flake-parts/3d04084d54bedc3d6b8b736c70ef449225c361b1?narHash=sha256-K5ZLCyfO/Zj9mPFldf3iwS6oZStJcU4tSpiXTMYaaL0%3D' (2024-10-01)
  → 'github:hercules-ci/flake-parts/506278e768c2a08bec68eb62932193e341f55c90?narHash=sha256-hgmguH29K2fvs9szpq2r3pz2/8cJd2LPS%2Bb4tfNFCwE%3D' (2024-11-01)
• Updated input 'nix-gaming/flake-parts/nixpkgs-lib':
    'fb192fec7c.tar.gz?narHash=sha256-0xHYkMkeLVQAMa7gvkddbPqpxph%2BhDzdu1XdGPJR%2BOs%3D' (2024-10-01)
  → 'cc2f280002.tar.gz?narHash=sha256-lXvH/vOfb4aGYyvFmZK/HlsNsr/0CVWlwYvo2rxJk3s%3D' (2024-11-01)
• Updated input 'nix-gaming/umu':
    'git+https://github.com/Open-Wine-Components/umu-launcher/?dir=packaging/nix&ref=refs/heads/main&rev=72499f349ca81cb2838eced9d7c465b2cf71c4a2&submodules=1' (2024-10-26)
  → 'git+https://github.com/Open-Wine-Components/umu-launcher/?dir=packaging/nix&ref=refs/heads/main&rev=70645c290dfc6ed10282bf4d2ae38c0bf7b1a3fb&submodules=1' (2024-11-02)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/2768c7d042a37de65bb1b5b3268fc987e534c49d?narHash=sha256-AlcmCXJZPIlO5dmFzV3V2XF6x/OpNWUV8Y/FMPGd8Z4%3D' (2024-10-23)
  → 'github:nixos/nixpkgs/4aa36568d413aca0ea84a1684d2d46f55dbabad7?narHash=sha256-Zwl8YgTVJTEum%2BL%2B0zVAWvXAGbWAuXHax3KzuejaDyo%3D' (2024-11-05)
• Updated input 'nur':
    'github:nix-community/NUR/0cec4b96fa9a9f3b348439ede1fd5ef46593b966?narHash=sha256-J8dDwKgRXrS6Jfija3Fu/UhsjtESq7LVc6rSd3TCRzc%3D' (2024-11-01)
  → 'github:nix-community/NUR/340b8c3ca8a5fcfe8a2230a5e76442b36f68e2ca?narHash=sha256-YDJ1R6NmTpGhLpXrlqp3p9H/ktr2BJD1GoG1WMagYRc%3D' (2024-11-06)
• Updated input 'stylix':
    'github:danth/stylix/04afcfc0684d9bbb24bb1dc77afda7c1843ec93b?narHash=sha256-uGjTjvvlGQfQ0yypVP%2Bat0NizI2nrb6kz4wGAqzRGbY%3D' (2024-10-26)
  → 'github:danth/stylix/762c07ee10b381bc8e085be5b6c2ec43139f13b0?narHash=sha256-tGvmW0qih%2BdCAH9L4BEMYMiHcBoJVZtESbC9WH0EEuw%3D' (2024-11-06)

* flake: lock stylix to avoid hyprland config issues

* greetd: format

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-11-06 20:10:01 -05:00

36 lines
1 KiB
Nix

{
config,
lib,
pkgs,
...
}: {
config = lib.mkIf config.ar.desktop.greetd.enable {
security.pam.services.greetd = {
enableGnomeKeyring = true;
gnupg.enable = true;
kwallet.enable = true;
};
services.greetd = {
enable = true;
settings =
if config.ar.desktop.greetd.autologin != null
then {
default_session = {
command = lib.mkDefault "${lib.getExe pkgs.greetd.tuigreet} --asterisks --user-menu -g 'Welcome to NixOS ${config.system.nixos.release}' --time --remember --cmd ${config.ar.desktop.greetd.session}";
};
initial_session = {
command = config.ar.desktop.greetd.session;
user = config.ar.desktop.greetd.autologin;
};
}
else {
default_session = {
command = lib.mkDefault "${lib.getExe pkgs.greetd.tuigreet} --asterisks --user-menu -g 'Welcome to NixOS ${config.system.nixos.release}' --time --remember --cmd ${config.ar.desktop.greetd.session}";
};
};
};
};
}