mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 09:07:21 +01:00
31 lines
822 B
Nix
31 lines
822 B
Nix
{ self, inputs, outputs, ... }:
|
|
let
|
|
profilesPath = "${self}/profiles";
|
|
in
|
|
{
|
|
imports = [
|
|
"${profilesPath}/darwin/nixos/common"
|
|
|
|
inputs.home-manager.darwinModules.home-manager
|
|
{
|
|
home-manager.users."leon.schwarzaeugl".imports = [
|
|
"${profilesPath}/darwin/home"
|
|
] ++ (builtins.attrValues outputs.homeManagerModules);
|
|
}
|
|
] ++ (builtins.attrValues outputs.nixosModules) ++ (builtins.attrValues outputs.homeManagerModules);
|
|
|
|
|
|
# Auto upgrade nix package and the daemon service.
|
|
services.nix-daemon.enable = true;
|
|
services.karabiner-elements.enable = true;
|
|
|
|
home-manager.users."leon.schwarzaeugl".home = {
|
|
username = lib.mkForce "leon.schwarzaeugl";
|
|
swarselsystems = {
|
|
isDarwin = true;
|
|
isLaptop = true;
|
|
isNixos = false;
|
|
isBtrfs = false;
|
|
};
|
|
};
|
|
}
|