added default.nix to module users

This commit is contained in:
Sven Vogel 2023-12-15 23:06:38 +01:00
parent 2c08c0bd11
commit 157288dced
2 changed files with 11 additions and 8 deletions

View File

@ -1,16 +1,10 @@
{ config, pkgs, lib, ... }: { config, pkgs, lib, ... }: {
let
home-manager = builtins.fetchTarball "https://github.com/nix-community/home-manager/archive/release-23.11.tar.gz";
in
{
imports = [ imports = [
# Include the results of the hardware scan. # Include the results of the hardware scan.
./hardware-configuration.nix ./hardware-configuration.nix
(import "${home-manager}/nixos")
./nix-settings.nix ./nix-settings.nix
./boot.nix ./boot.nix
./users/servostar/user.nix ./users
./.luks-swap.nix ./.luks-swap.nix
./fonts.nix ./fonts.nix
./extra ./extra

9
users/default.nix Normal file
View File

@ -0,0 +1,9 @@
let
home-manager = builtins.fetchTarball "https://github.com/nix-community/home-manager/archive/release-23.11.tar.gz";
in
{
imports = [
(import "${home-manager}/nixos")
./servostar/user.nix
];
}