2023-11-15 16:09:47 +00:00
|
|
|
{
|
|
|
|
description = "zilti's NixOS";
|
|
|
|
|
|
|
|
nixConfig = {
|
|
|
|
experimental-features = [ "nix-command" "flakes" ];
|
|
|
|
substituters = [
|
|
|
|
"https://cache.nixos.org"
|
|
|
|
];
|
|
|
|
extra-substituters = [
|
|
|
|
"https://cache.nixos.org"
|
|
|
|
"https://hyprland.cachix.org"
|
|
|
|
"https://nix-community.cachix.org"
|
|
|
|
];
|
|
|
|
extra-trusted-public-keys = [
|
|
|
|
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
|
|
|
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
|
|
|
inputs = {
|
2024-07-09 13:58:19 +00:00
|
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05";
|
2023-11-15 16:09:47 +00:00
|
|
|
home-manager = {
|
2024-07-09 13:58:19 +00:00
|
|
|
url = "github:nix-community/home-manager/release-24.05";
|
2023-11-15 16:09:47 +00:00
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
|
|
|
hyprland = {
|
2024-07-09 13:58:19 +00:00
|
|
|
url = "github:hyprwm/Hyprland/v0.41.2";
|
2023-11-15 16:09:47 +00:00
|
|
|
};
|
|
|
|
split-monitor-workspaces = {
|
|
|
|
url = "github:Duckonaut/split-monitor-workspaces";
|
|
|
|
inputs.hyprland.follows = "hyprland";
|
|
|
|
};
|
|
|
|
flatpaks.url = "github:GermanBread/declarative-flatpak/stable";
|
|
|
|
};
|
|
|
|
|
|
|
|
outputs = inputs@{ nixpkgs, home-manager, hyprland, split-monitor-workspaces, flatpaks, ... }: {
|
|
|
|
nixosConfigurations = {
|
|
|
|
"ziltis-desktop" = nixpkgs.lib.nixosSystem {
|
|
|
|
system = "x86_64-linux";
|
|
|
|
#specialArgs = { inherit inputs; };
|
|
|
|
modules = [
|
|
|
|
/etc/nixos/configuration.nix
|
|
|
|
home-manager.nixosModules.home-manager
|
|
|
|
{
|
|
|
|
home-manager.useGlobalPkgs = true;
|
|
|
|
home-manager.useUserPackages = true;
|
|
|
|
home-manager.users.zilti = import ./home.nix;
|
|
|
|
home-manager.extraSpecialArgs = inputs;
|
|
|
|
home-manager.sharedModules = [
|
|
|
|
flatpaks.homeManagerModules.default
|
|
|
|
];
|
|
|
|
}
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|