From 157288dced6317666c30b3eacd9d4084a0d40045 Mon Sep 17 00:00:00 2001 From: servostar Date: Fri, 15 Dec 2023 23:06:38 +0100 Subject: [PATCH] added default.nix to module users --- configuration.nix | 10 ++-------- users/default.nix | 9 +++++++++ 2 files changed, 11 insertions(+), 8 deletions(-) create mode 100644 users/default.nix diff --git a/configuration.nix b/configuration.nix index c8189f8..837bd1a 100644 --- a/configuration.nix +++ b/configuration.nix @@ -1,16 +1,10 @@ -{ config, pkgs, lib, ... }: - -let - home-manager = builtins.fetchTarball "https://github.com/nix-community/home-manager/archive/release-23.11.tar.gz"; -in -{ +{ config, pkgs, lib, ... }: { imports = [ # Include the results of the hardware scan. ./hardware-configuration.nix - (import "${home-manager}/nixos") ./nix-settings.nix ./boot.nix - ./users/servostar/user.nix + ./users ./.luks-swap.nix ./fonts.nix ./extra diff --git a/users/default.nix b/users/default.nix new file mode 100644 index 0000000..b277eef --- /dev/null +++ b/users/default.nix @@ -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 + ]; +}