53 lines
1.7 KiB
Nix
53 lines
1.7 KiB
Nix
{
|
|
description = "A very basic flake";
|
|
inputs = {
|
|
#nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
|
|
nixpkgs.url = "github:nixos/nixpkgs?ref=nixpkgs-unstable";
|
|
nixpkgs-stable.url = "github:nixos/nixpkgs/nixos-25.11";
|
|
nixpkgs-master.url = "github:nixos/nixpkgs";
|
|
nix-flatpak.url = "github:gmodena/nix-flatpak";
|
|
preload-ng.url = "github:miguel-b-p/preload-ng";
|
|
#chaotic.url = "github:lonerOrz/nyx-loner";
|
|
nix-cachyos-kernel.url = "github:xddxdd/nix-cachyos-kernel/release";
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager/";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
nur = {
|
|
url = "github:nix-community/NUR";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
zen-browser = {
|
|
url = "github:0xc000022070/zen-browser-flake";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
hayase = {
|
|
url = "github:darkguibrine/hayase-nix";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
};
|
|
outputs = {self ,nixpkgs ,nixpkgs-stable ,nixpkgs-master ,home-manager ,zen-browser ,nur ,hayase ,nix-flatpak ,preload-ng ,nix-cachyos-kernel , ...} @ inputs: {
|
|
nixosConfigurations = {
|
|
"Alfa" = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
specialArgs = { inherit inputs; };
|
|
modules = [
|
|
./configuration.nix
|
|
nur.modules.nixos.default
|
|
nix-flatpak.nixosModules.nix-flatpak
|
|
preload-ng.nixosModules.default
|
|
{services.preload-ng.enable = true;}
|
|
#chaotic.nixosModules.default
|
|
];
|
|
};
|
|
};
|
|
homeConfigurations."gui@Alfa" = home-manager.lib.homeManagerConfiguration {
|
|
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
|
modules = [
|
|
./home.nix
|
|
];
|
|
};
|
|
};
|
|
}
|
|
|