feat: sddm module
This commit is contained in:
parent
9bb12ee272
commit
2c70c86c8e
7 changed files with 172 additions and 69 deletions
|
@ -1,5 +1,6 @@
|
|||
{...}: {
|
||||
imports = [
|
||||
./fish.nix
|
||||
./sddm.nix
|
||||
];
|
||||
}
|
||||
|
|
25
computers/shared/sddm.nix
Normal file
25
computers/shared/sddm.nix
Normal file
|
@ -0,0 +1,25 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
cfg = config.alqueva.sddm;
|
||||
in {
|
||||
options.alqueva.sddm = {
|
||||
enable = lib.mkEnableOption "sddm";
|
||||
};
|
||||
config = lib.mkIf cfg.enable {
|
||||
services.displayManager.sddm = {
|
||||
wayland = {
|
||||
enable = true;
|
||||
compositor = "kwin";
|
||||
};
|
||||
enable = true;
|
||||
theme = "where_is_my_sddm_theme";
|
||||
};
|
||||
environment.systemPackages = [
|
||||
pkgs.i-found-my-sddm-theme
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue