110 lines
2.5 KiB
Nix
110 lines
2.5 KiB
Nix
# flake.nix
|
|
{
|
|
inputs = {
|
|
nixos-hardware.url = "github:NixOS/nixos-hardware";
|
|
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11";
|
|
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
|
|
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager/release-24.11";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
nix-flatpak.url = "github:gmodena/nix-flatpak"; # unstable branch
|
|
|
|
stylix = {
|
|
url = "github:donovanglover/stylix";
|
|
|
|
inputs = {
|
|
nixpkgs.follows = "nixpkgs";
|
|
home-manager.follows = "home-manager";
|
|
};
|
|
};
|
|
|
|
yazi = {
|
|
url = "github:sxyazi/yazi";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
shikane = {
|
|
url = "git+https://gitlab.com/w0lff/shikane";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
kmonad = {
|
|
url = "github:kmonad/kmonad?dir=nix";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
hyprpicker = {
|
|
url = "github:hyprwm/hyprpicker";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
hyprlock = {
|
|
url = "github:hyprwm/hyprlock";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
hypridle = {
|
|
url = "github:hyprwm/hypridle";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
musnix = {
|
|
url = "github:musnix/musnix";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
wezterm = {
|
|
url = "github:wez/wezterm?dir=nix";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
sops-nix = {
|
|
url = "github:Mic92/sops-nix";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
affinity-nix = {
|
|
url = "github:mrshmllow/affinity-nix";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
isd = {
|
|
url = "github:isd-project/isd";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
paperwm = {
|
|
url = "github:paperwm/PaperWM";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
niri = {
|
|
url = "github:YaLTeR/niri";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
};
|
|
|
|
outputs = {nixpkgs, home-manager, self, ... } @ inputs: {
|
|
nixosConfigurations = {
|
|
eddie = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
specialArgs = {
|
|
inherit self inputs;
|
|
};
|
|
modules = [
|
|
inputs.sops-nix.nixosModules.sops
|
|
inputs.nix-flatpak.nixosModules.nix-flatpak
|
|
inputs.kmonad.nixosModules.default
|
|
inputs.musnix.nixosModules.musnix
|
|
home-manager.nixosModules.home-manager
|
|
./hosts/eddie
|
|
./homes/emenel/default.nix
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|