initial graphical config
This commit is contained in:
parent
ddd861496e
commit
61ecbd9721
6 changed files with 102 additions and 0 deletions
|
|
@ -4,7 +4,9 @@
|
|||
imports = [
|
||||
./default.nix
|
||||
./git.nix
|
||||
./greetd.nix
|
||||
./home-manager.nix
|
||||
./lix.nix
|
||||
./polkit.nix
|
||||
];
|
||||
}
|
||||
|
|
|
|||
15
programs/greetd.nix
Normal file
15
programs/greetd.nix
Normal 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
5
programs/polkit.nix
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
security.polkit.enable = true;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue