26
flake.nix
26
flake.nix
@@ -11,39 +11,31 @@
|
||||
nix-flatpak.url = "github:gmodena/nix-flatpak/?ref=v0.4.1";
|
||||
# hyprland, plugins and related utils
|
||||
hyprland.url = "github:hyprwm/Hyprland";
|
||||
hyprgrass = {
|
||||
url = "github:horriblename/hyprgrass";
|
||||
inputs.hyprland.follows = "hyprland"; # IMPORTANT
|
||||
};
|
||||
hyprland-virtual-desktops.url = "github:levnikmyskin/hyprland-virtual-desktops";
|
||||
walker.url = "github:abenz1267/walker";
|
||||
hyprpanel.url = "github:Jas-SinghFSU/HyprPanel";
|
||||
stylix.url = "github:danth/stylix/release-24.11";
|
||||
# quicksettings widget
|
||||
better-control.url = "github:rishabh5321/better-control-flake";
|
||||
};
|
||||
|
||||
outputs = {
|
||||
self,
|
||||
nixpkgs,
|
||||
home-manager,
|
||||
hyprgrass,
|
||||
hyprland-virtual-desktops,
|
||||
hyprpanel,
|
||||
stylix,
|
||||
...
|
||||
} @ inputs:
|
||||
} @ inputs:
|
||||
let
|
||||
overlays = [
|
||||
inputs.hyprpanel.overlay
|
||||
];
|
||||
in
|
||||
{
|
||||
|
||||
## NixOS configurations are the main output of this flake
|
||||
# HP Spectre x360 2018
|
||||
nixosConfigurations.spectre = nixpkgs.lib.nixosSystem {
|
||||
nixosConfigurations.Nixtre = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
specialArgs = { inherit inputs; };
|
||||
|
||||
modules = [
|
||||
./hosts/spectre-x360-2018
|
||||
stylix.nixosModules.stylix
|
||||
home-manager.nixosModules.home-manager
|
||||
{
|
||||
home-manager.useGlobalPkgs = true;
|
||||
@@ -53,11 +45,7 @@
|
||||
home-manager.users.remy.imports = [
|
||||
./users/remy.nix
|
||||
inputs.nix-flatpak.homeManagerModules.nix-flatpak
|
||||
inputs.walker.homeManagerModules.default
|
||||
];
|
||||
|
||||
nixpkgs.overlays = [ inputs.hyprpanel.overlay ];
|
||||
# _module.args = { inherit inputs; };
|
||||
}
|
||||
];
|
||||
};
|
||||
|
Reference in New Issue
Block a user