.nix/flake.nix

29 lines
750 B
Nix
Raw Normal View History

2024-07-23 19:12:34 +00:00
{
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;
}
];
};
};
}