feat: add home-manager directly in NixOS-95
For users that already use home-manager, this shouldn't change anything (they just have to pin the home-manager input to their own version). However for users that currently do not use home-manager this will allow them to not care about it. This way, home-manager will become an 'implementation detail'
This commit is contained in:
parent
11686d0192
commit
8b2e87c159
4 changed files with 17 additions and 8 deletions
|
|
@ -2,6 +2,9 @@
|
|||
cfg = config.nixos95;
|
||||
in lib.mkIf cfg.enable {
|
||||
|
||||
|
||||
home-manager.users.${cfg.user}.home.stateVersion = lib.mkDefault "25.05";
|
||||
|
||||
services.xserver = {
|
||||
enable = true;
|
||||
desktopManager.xfce.enable = true;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{ config, lib, ...}: let
|
||||
{ home-manager }: { config, lib, ...}: let
|
||||
cfg = config.nixos95;
|
||||
in {
|
||||
|
||||
|
|
@ -14,6 +14,8 @@ in {
|
|||
};
|
||||
|
||||
imports = [
|
||||
home-manager.nixosModules.home-manager
|
||||
|
||||
./core.nix
|
||||
./desktop.nix
|
||||
./keybinds.nix
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue