feat: move variables into user module

This commit is contained in:
Ahwx 2025-03-24 10:58:27 +01:00
parent 52fc1baf12
commit 8968c1c83e
3 changed files with 3 additions and 5 deletions

View file

@ -1,8 +1,7 @@
{ ... }:
{
imports =
[(import ./../../variables.nix)] # Does not really fit here but I have no clue where else
++ [(import ./docker.nix)]
[(import ./docker.nix)]
++ [(import ./hardware.nix)]
++ [(import ./displaylink.nix)]
# ++ [(import ./printing.nix)]

View file

@ -1,8 +1,7 @@
{ ... }:
{
imports =
[(import ./../../variables.nix)]
++ [(import ./hardware.nix)]
[(import ./hardware.nix)]
++ [(import ./network.nix)]
++ [(import ./program.nix)]
++ [(import ./sshd.nix)]

View file

@ -1,6 +1,6 @@
{ pkgs, inputs, config, username, host, ...}:
{
imports = [ inputs.home-manager.nixosModules.home-manager ] ++ [ ./../../roles ];
imports = [ inputs.home-manager.nixosModules.home-manager ] ++ [ ./../../roles ] ++ [./../../variables.nix];
home-manager = {
useUserPackages = true;
useGlobalPkgs = true;