From 6fa0b2f154620cf8da209320865ac4a20e83b9ae Mon Sep 17 00:00:00 2001 From: Seth Flynn Date: Thu, 13 Feb 2025 20:10:29 -0500 Subject: nixos+darwin: make separate user modules --- modules/darwin/users/seth.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 modules/darwin/users/seth.nix (limited to 'modules/darwin/users/seth.nix') diff --git a/modules/darwin/users/seth.nix b/modules/darwin/users/seth.nix new file mode 100644 index 0000000..44eb4d3 --- /dev/null +++ b/modules/darwin/users/seth.nix @@ -0,0 +1,16 @@ +{ config, lib, ... }: + +let + cfg = config.borealis.users.seth; +in + +{ + config = lib.mkMerge [ + (lib.mkIf cfg.enable { + home-manager.users.seth = { + # NOTE: this module is for linux, not mac + seth.desktop.enable = false; + }; + }) + ]; +} -- cgit v1.2.3