Restructure to allow for modularity and add home-manager with tmux and git

This commit is contained in:
caem 2024-04-04 13:49:19 +02:00
parent eff6860aa2
commit 59842a4ba4
No known key found for this signature in database
GPG key ID: F4F7229F8B860E9F
9 changed files with 110 additions and 11 deletions

View file

@ -3,16 +3,18 @@
inputs = {
impermanence.url = "github:nix-community/impermanence";
home-manager.url = "github:nix-community/home-manager";
};
outputs = { self, nixpkgs, impermanence, ... }:
outputs = { self, nixpkgs, impermanence, home-manager, ... }:
{
nixosConfigurations.workstation = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
impermanence.nixosModules.impermanence
home-manager.nixosModules.home-manager
./machines/workstation.nix
./users/hu.nix
./users/hu/user.nix
];
};
};