added Home-Manager Import in Home

This commit is contained in:
Matthias 2024-07-16 17:48:20 +02:00
parent 5208197533
commit 00a1c32579
2 changed files with 5 additions and 6 deletions

View file

@ -6,6 +6,9 @@
}: }:
with lib; with lib;
with lib.internal;{ with lib.internal;{
imports = with inputs; [
home-manager.nixosModules.home-manager
];
snowfallorg.user.enable = true; snowfallorg.user.enable = true;
snowfallorg.user.name = "kb-work"; snowfallorg.user.name = "kb-work";
home.stateVersion = "23.11"; home.stateVersion = "23.11";

View file

@ -1,7 +1,7 @@
# Edit this configuration file to define what should be installed on # Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page # your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help). # and in the NixOS manual (accessible by running nixos-help).
{ config, pkgs, lib, home-manager, ... }: { config, pkgs, lib, ... }:
let let
lock-false = { lock-false = {
Value = false; Value = false;
@ -17,12 +17,8 @@ let
}; };
in { in {
imports = imports =
[
./hardware.nix
];
modules =
[ [
home-manager.nixosModules.home-manager ./hardware.nix
]; ];
nix.settings.experimental-features = [ "nix-command" "flakes" ]; nix.settings.experimental-features = [ "nix-command" "flakes" ];