Add base home-manager flake

Signed-off-by: George Kaklamanos <gkaklas@gkaklas.gr>
This commit is contained in:
George Kaklamanos 2024-04-28 22:30:09 +03:00
parent e0e32ffc84
commit e792137d5b
No known key found for this signature in database
GPG key ID: C0CAB8A6BDC9399D
3 changed files with 86 additions and 0 deletions

28
home-manager/flake.nix Normal file
View file

@ -0,0 +1,28 @@
{
description = "Home Manager configuration of gkaklas";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = {
nixpkgs,
home-manager,
...
}: let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in {
homeConfigurations."gkaklas" = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
modules = [
./home.nix
];
};
};
}