mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-02-19 19:27:31 -08:00
22 lines
695 B
Nix
22 lines
695 B
Nix
{ lib, specialArgs, system, inputs, agenix, home-manager, ... }:
|
|
let
|
|
user = specialArgs.user;
|
|
hostname = specialArgs.hostname;
|
|
in {
|
|
inherit system;
|
|
specialArgs = { inherit user inputs home-manager; };
|
|
modules = [
|
|
../default # shared by all configs
|
|
../default/physical/configuration.nix # shared by physical machines
|
|
./configuration.nix # shivan specific
|
|
./hardware.nix
|
|
../../modules
|
|
agenix.nixosModules.default
|
|
home-manager.nixosModules.home-manager {
|
|
home-manager.useGlobalPkgs = true;
|
|
home-manager.useUserPackages = true;
|
|
home-manager.extraSpecialArgs = { inherit user; };
|
|
}
|
|
];
|
|
}
|