This commit is contained in:
twoneis 2024-08-02 23:49:06 +02:00
parent 16fa4956e5
commit a5b5ea7f59
28 changed files with 164 additions and 123 deletions

View file

@ -1,13 +1,13 @@
{ inputs, lib, config, pkgs, ... }: let
inherit (lib) mkIf;
inherit (config) withNiri username;
inherit (config) conf;
in {
imports = [
./xwl-satellite.service.nix
];
config = mkIf withNiri {
nixpkgs.overlays = mkIf config.withNiri [
config = mkIf conf.niri.enable {
nixpkgs.overlays = [
inputs.niri.overlays.niri
];
@ -26,7 +26,7 @@ in {
lidSwitch = "suspend";
};
home-manager.users.${username} = {
home-manager.users.${conf.username} = {
home.packages = with pkgs; [
brightnessctl
swaybg