mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 15:00:13 +01:00
feat: move variables into user module
This commit is contained in:
parent
52fc1baf12
commit
8968c1c83e
3 changed files with 3 additions and 5 deletions
|
|
@ -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)]
|
||||
|
|
|
|||
|
|
@ -1,8 +1,7 @@
|
|||
{ ... }:
|
||||
{
|
||||
imports =
|
||||
[(import ./../../variables.nix)]
|
||||
++ [(import ./hardware.nix)]
|
||||
[(import ./hardware.nix)]
|
||||
++ [(import ./network.nix)]
|
||||
++ [(import ./program.nix)]
|
||||
++ [(import ./sshd.nix)]
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue