Archived
Watch
1
0
Fork
You've already forked nixos
0
This commit is contained in:
asnev 2026-06-12 07:54:22 +07:00
commit 7ccb19fb6f
Signed by: asnev
SSH key fingerprint: SHA256:8hagYq9hDUuS5clQ78FKhIoQDvg5crdkYMHX+3g7wB4

49
flake.nix Normal file
View file

@ -0,0 +1,49 @@
{
description = "asnev's NixOS configuration";
inputs = {
nixpkgs = {
url = "github:nixos/nixpkgs/nixos-26.05";
};
#nixpkgs-unstable = {
# url = "github:nixos/nixpkgs/nixos-unstable";
#};
home-manager = {
url = "github:nix-community/home-manager/release-26.05";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = inputs @ {
self,
nixpkgs,
#nixpkgs-unstable,
home-manager,
...
}: let
system = "x86_64-linux";
#pkgs-unstable = import nixpkgs-unstable {inherit system;};
in {
nixosConfigurations = {
phostron = nixpkgs.lib.nixosSystem {
inherit system;
specialArgs = {inherit inputs;};
modules = [
./configuration.nix
./hosts/phostron/default.nix
./users/coyote/default.nix
./profiles/kde.nix
home-manager.nixosModules.home-manager
{
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
extraSpecialArgs = {inherit inputs;};
users.coyote = ./users/coyote/home.nix;
};
}
];
};
};
};
}