This commit is contained in:
Julian Sutter 2025-09-08 10:25:10 -07:00
parent 7048577c26
commit aaa0cf7659
3 changed files with 478 additions and 29 deletions

View file

@ -14,9 +14,10 @@
inputs.nixpkgs.follows = "nixpkgs";
inputs.home-manager.follows = "home-manager";
};
hyprland.url = "github:hyprwm/Hyprland";
};
outputs = { self, nixpkgs, nixpkgs-unstable, nixos-hardware, home-manager, plasma-manager }:
outputs = { self, nixpkgs, nixpkgs-unstable, nixos-hardware, home-manager, plasma-manager, hyprland }:
let
system = "x86_64-linux";
@ -34,6 +35,7 @@
specialArgs = commonSpecialArgs;
modules = [
home-manager.nixosModules.home-manager
hyprland.nixosModules.default
] ++ hardware ++ modules;
};
@ -49,6 +51,19 @@
./desktop/virtualization.nix
./desktop/dnm.nix
];
# Hyprland desktop modules (for transition)
hyprlandDesktopModules = [
./systems/common.nix
./users/jsutter.nix
./desktop/hyprland.nix
./desktop/dev.nix
./desktop/office.nix
./desktop/gaming.nix
./desktop/media.nix
./desktop/virtualization.nix
./desktop/dnm.nix
];
in {
nixosConfigurations = {
framework = mkSystem {
@ -58,6 +73,13 @@
./desktop/daw.nix
];
};
framework-hyprland = mkSystem {
hardware = [ nixos-hardware.nixosModules.framework-16-7040-amd ];
modules = hyprlandDesktopModules ++ [
./systems/framework.nix
./desktop/daw.nix
];
};
aurora = mkSystem {
modules = commonDesktopModules ++ [
./systems/aurora.nix