modify gui config, add sddm for launching niri

This commit is contained in:
ulic-youthlic 2025-01-13 19:50:37 +08:00
parent 85c42efac0
commit 6d7b693162
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721
5 changed files with 124 additions and 76 deletions

View file

@ -1,13 +1,16 @@
{ pkgs, inputs, ... }:
{
lib,
pkgs,
inputs,
...
}:
{
imports =
(with inputs; [
nixos-hardware.nixosModules.asus-fx506hm
])
++ [
./gui.nix
./users
./steam.nix
# Include the hardware related config
./hardware-configuration.nix
@ -26,6 +29,16 @@
openssh.enable = true;
steam.enable = true;
};
gui.enabled = "niri";
};
specialisation = {
cosmic = {
inheritParentConfig = true;
configuration = {
youthlic.gui.enabled = lib.mkForce "cosmic";
};
};
};
programs.gnupg.agent = {
@ -55,6 +68,7 @@
wechat-uos
nvtopPackages.full
spotify
localsend
];
environment.variables.EDITOR = "hx";