nixconfig/flake.nix

53 lines
1.7 KiB
Nix
Raw Normal View History

{
inputs = {
# ...
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
sunshine.url = "github:NixOS/nixpkgs/13e6ece4709970e8f36f2713366ee9902e6ef137";
flatpaks.url = "github:GermanBread/declarative-flatpak/dev";
flatpaks.inputs.nixpkgs.follows = "nixpkgs";
hyprland.url = "github:hyprwm/Hyprland";
hyprland.inputs.nixpkgs.follows = "nixpkgs";
agenix.url = "github:ryantm/agenix";
agenix.inputs.nixpkgs.follows = "nixpkgs";
2024-04-13 19:42:15 +00:00
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { nixpkgs, sunshine, flatpaks, agenix, home-manager, ... } @ inputs: {
nixosConfigurations.insertpclinux = nixpkgs.lib.nixosSystem {
2024-04-13 20:27:31 +00:00
specialArgs = { inherit inputs; };
modules = [
flatpaks.nixosModules.default
./configuration.nix
./special/insertpclinux.nix
agenix.nixosModules.default
home-manager.nixosModules.home-manager
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users.insert = import /home/insert/Documents/nixos/home.nix;
}
];
};
nixosConfigurations.insertlaptop = nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs; };
modules = [
flatpaks.nixosModules.default
./configuration.nix
./special/insertlaptop.nix
agenix.nixosModules.default
2024-04-13 19:42:15 +00:00
home-manager.nixosModules.home-manager
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users.insert = import /home/insert/Documents/nixos/home.nix;
}
];
};
};
}