summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorTim Keller <tjk@tjkeller.xyz>2024-10-02 22:07:10 -0500
committerTim Keller <tjk@tjkeller.xyz>2024-10-02 22:07:10 -0500
commit4730b215fdc4095800fedfdf690c12fec994bb6b (patch)
tree3c746ece0089625a8093d4ae6bf1149ea903b7dc /flake.nix
parent34b0bb8df42194a0ea433592e3cac27546f0af4e (diff)
downloadnixos-4730b215fdc4095800fedfdf690c12fec994bb6b.tar.xz
nixos-4730b215fdc4095800fedfdf690c12fec994bb6b.zip
more reorganizing and modularizing
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix10
1 files changed, 4 insertions, 6 deletions
diff --git a/flake.nix b/flake.nix
index 1108ba0..e69a67b 100644
--- a/flake.nix
+++ b/flake.nix
@@ -12,29 +12,27 @@
arkenfox = {
url = "github:dwarfmaster/arkenfox-nixos";
inputs.nixpkgs.follows = "nixpkgs";
- #inputs.home-manager.follows = "home-manager";
};
};
outputs = { nixpkgs, home-manager, arkenfox, ... }@inputs :
- # HOSTNAME NIXOS
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in {
- nixosConfigurations.nixos = nixpkgs.lib.nixosSystem {
+ nixosConfigurations.T430 = nixpkgs.lib.nixosSystem {
inherit system;
specialArgs = { inherit inputs; };
modules = [
- ./configuration.nix
- ./modules
+ ./modules/hosts/T430/configuration.nix
+ ./modules/root
];
};
homeConfigurations.timmy = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
modules = [
- ./home.nix
+ ./modules/home
inputs.arkenfox.hmModules.arkenfox
];
};