Setup roles as modules and switch to sway

This commit is contained in:
2024-09-08 13:49:28 -07:00
parent f22ff0e286
commit 692cebc839
14 changed files with 307 additions and 471 deletions

View File

@@ -8,17 +8,6 @@
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
hyprland = {
type = "git";
url = "https://github.com/hyprwm/Hyprland";
submodules = true;
inputs.nixpkgs.follows = "nixpkgs";
};
hy3 = {
url = "github:outfoxxed/hy3";
inputs.hyprland.follows = "hyprland";
};
};
outputs = { self, nixpkgs, ... } @ inputs: {
@@ -39,8 +28,8 @@
nixosConfigurations.nix-book = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = { inherit inputs; };
modules = [
./roles
./machines/nix-book/configuration.nix
inputs.home-manager.nixosModules.home-manager
{
@@ -52,7 +41,7 @@
];
};
nixosConfigurations.boxy= nixpkgs.lib.nixosSystem {
nixosConfigurations.boxy = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = { inherit inputs; };
modules = [