moved Home-Manager import to system

This commit is contained in:
Kaybee 2024-07-16 18:03:40 +02:00
parent 5d2e0e3959
commit 492a7de4d9
2 changed files with 3 additions and 5 deletions

View file

@ -7,9 +7,6 @@
}: }:
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, ... }: { config, pkgs, lib, inputs, ... }:
let let
lock-false = { lock-false = {
Value = false; Value = false;
@ -18,7 +18,8 @@ let
in { in {
imports = imports =
[ [
./hardware.nix ./hardware.nix.
inputs.home-manager.nixosModules.home-manager
]; ];
nix.settings.experimental-features = [ "nix-command" "flakes" ]; nix.settings.experimental-features = [ "nix-command" "flakes" ];