initial graphical config

This commit is contained in:
Astreaprtcl 2025-12-17 16:54:24 +01:00
parent ddd861496e
commit 61ecbd9721
6 changed files with 102 additions and 0 deletions

View file

@ -4,7 +4,9 @@
imports = [
./default.nix
./git.nix
./greetd.nix
./home-manager.nix
./lix.nix
./polkit.nix
];
}

15
programs/greetd.nix Normal file
View file

@ -0,0 +1,15 @@
{ pkgs, ... }:
{
services.greetd = {
enable = true;
settings = {
default_session.command = "${pkgs.tuigreet}/bin/tuigreet -t --asterisks -c 'sway'";
};
};
environment.etc."greetd/environments".text = ''
sway
fish
bash
'';
}

5
programs/polkit.nix Normal file
View file

@ -0,0 +1,5 @@
{ ... }:
{
security.polkit.enable = true;
}