nix: configure target users via nixos
All checks were successful
Build / Create distribution (push) Successful in 2m0s
Test / Run NixOS test (push) Successful in 3m46s

This makes patching home-manager no longer necessary.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2025-01-23 17:04:19 +09:00
parent b5bb7654da
commit 134247b57d
6 changed files with 143 additions and 187 deletions

View File

@@ -26,6 +26,17 @@ in
'';
};
home-manager = mkOption {
type =
let
inherit (types) functionTo attrsOf anything;
in
functionTo (functionTo (attrsOf anything));
description = ''
Target user shared home-manager configuration.
'';
};
apps = mkOption {
type =
let
@@ -50,6 +61,8 @@ in
'';
};
verbose = mkEnableOption "launchers with verbose output";
id = mkOption {
type = nullOr str;
default = null;