summaryrefslogtreecommitdiff
path: root/nixos/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/flake.nix')
-rw-r--r--nixos/flake.nix32
1 files changed, 28 insertions, 4 deletions
diff --git a/nixos/flake.nix b/nixos/flake.nix
index 4626c89..c1fda9e 100644
--- a/nixos/flake.nix
+++ b/nixos/flake.nix
@@ -12,16 +12,40 @@
outputs = { self, nixpkgs, home-manager, ... }@inputs: {
nixosConfigurations = {
- litterbox = nixpkgs.lib.nixosSystem {
+ box = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
- ./configuration.nix
-
+ ./common.nix
+ ./hosts/box
home-manager.nixosModules.home-manager
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
- home-manager.users.cat = import ./mngr.nix;
+ home-manager.users.cat = {
+ imports = [
+ ./mngr.nix
+ ./hypr.nix
+ ./shell.nix
+ ];
+ };
+ }
+ ];
+ };
+
+ bin = nixpkgs.lib.nixosSystem {
+ system = "x86_64-linux";
+ modules = [
+ ./common.nix
+ ./hosts/bin
+ home-manager.nixosModules.home-manager
+ {
+ home-manager.useGlobalPkgs = true;
+ home-manager.useUserPackages = true;
+ home-manager.users.cat = {
+ imports = [
+ ./mngr.nix
+ ];
+ };
}
];
};