63 lines
1.4 KiB
Nix
63 lines
1.4 KiB
Nix
{
|
|
description = "A very basic flake";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
|
|
#nix-stable.url = "github:nixos/nixpkgs/nixos-24.05";
|
|
|
|
hyprland = {
|
|
url = "github:hyprwm/Hyprland";
|
|
};
|
|
#hyprland-plugins = {
|
|
# url = "github:hyprwm/hyprland-plugins";
|
|
# inputs.hyprland.follows = "hyprland";
|
|
#};
|
|
|
|
#Hyprspace = {
|
|
# url = "github:KZDKM/Hyprspace";
|
|
# # Hyprspace uses latest Hyprland. We declare this to keep them in sync.
|
|
# inputs.hyprland.follows = "hyprland";
|
|
#};
|
|
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
stylix.url = "github:danth/stylix";
|
|
|
|
zen-browser.url = "github:MarceColl/zen-browser-flake";
|
|
|
|
firefox-addons = {
|
|
url = "gitlab:rycee/nur-expressions?dir=pkgs/firefox-addons";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
};
|
|
|
|
outputs = {
|
|
self,
|
|
nixpkgs,
|
|
...
|
|
} @ inputs: let
|
|
system = "x86_64-linux";
|
|
pkgs = import nixpkgs {
|
|
inherit system;
|
|
|
|
config = {
|
|
allowUnfree = true;
|
|
};
|
|
};
|
|
in {
|
|
nixosConfigurations = {
|
|
laptop = nixpkgs.lib.nixosSystem {
|
|
specialArgs = {inherit inputs system;};
|
|
|
|
modules = [
|
|
./nixos/configuration.nix
|
|
inputs.stylix.nixosModules.stylix
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|