28 lines
750 B
Nix
28 lines
750 B
Nix
{
|
|
description = "A very basic flake";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
|
|
home-manager.url = "github:nix-community/home-manager";
|
|
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
outputs = { nixpkgs, home-manager, ... } @ inputs:
|
|
# let
|
|
# pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
|
# in
|
|
{
|
|
nixosConfigurations.valanixos = nixpkgs.lib.nixosSystem {
|
|
specialArgs = { inherit inputs; };
|
|
modules = [
|
|
./configuration.nix
|
|
home-manager.nixosModules.home-manager
|
|
{
|
|
home-manager.useGlobalPkgs = true;
|
|
home-manager.useUserPackages = true;
|
|
home-manager.users.aethrvmn = import ./vasilis.nix;
|
|
}
|
|
];
|
|
};
|
|
};
|
|
}
|