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-08-21 15:30:52 +00:00
|
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
2023-11-15 16:09:47 +00:00
|
|
|
home-manager = {
|
2024-08-21 15:30:52 +00:00
|
|
|
url = "github:nix-community/home-manager/master";
|
2023-11-15 16:09:47 +00:00
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2024-10-03 16:26:14 +00:00
|
|
|
# flatpaks.url = "github:GermanBread/declarative-flatpak/stable-v3";
|
|
|
|
nix-flatpak.url = "github:gmodena/nix-flatpak/?ref=v0.4.1";
|
|
|
|
hyprland.url = "git+https://github.com/hyprwm/Hyprland?submodules=1&ref=refs/tags/v0.43.0";
|
2024-08-22 16:04:26 +00:00
|
|
|
hyprsplit = {
|
|
|
|
url = "github:shezdy/hyprsplit";
|
|
|
|
inputs.hyprland.follows = "hyprland";
|
|
|
|
};
|
2023-11-15 16:09:47 +00:00
|
|
|
};
|
|
|
|
|
2024-10-03 16:26:14 +00:00
|
|
|
outputs = inputs@{ nixpkgs, home-manager, nix-flatpak, ... }: {
|
2023-11-15 16:09:47 +00:00
|
|
|
nixosConfigurations = {
|
|
|
|
"ziltis-desktop" = nixpkgs.lib.nixosSystem {
|
|
|
|
system = "x86_64-linux";
|
2024-08-22 16:04:26 +00:00
|
|
|
specialArgs = { inherit inputs; };
|
2023-11-15 16:09:47 +00:00
|
|
|
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;
|
2024-08-22 16:04:26 +00:00
|
|
|
home-manager.extraSpecialArgs = { inherit inputs; };
|
2023-11-15 16:09:47 +00:00
|
|
|
home-manager.sharedModules = [
|
2024-10-03 16:26:14 +00:00
|
|
|
# flatpaks.homeManagerModules.default
|
|
|
|
nix-flatpak.homeManagerModules.nix-flatpak
|
2023-11-15 16:09:47 +00:00
|
|
|
];
|
|
|
|
}
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|