home-manager/flake.nix

35 lines
739 B
Nix
Raw Normal View History

{
2024-07-09 19:58:33 +00:00
description = "Home Manager configuration";
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};
2024-07-09 19:58:33 +00:00
in
{
homeConfigurations = {
"mandlm@xps" = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
2024-07-09 19:58:33 +00:00
modules = [
2024-07-10 06:09:32 +00:00
./private/home.nix
./private/xps.nix
2024-07-09 19:58:33 +00:00
];
2024-07-09 19:58:33 +00:00
extraSpecialArgs = {
username = "mandlm";
theme = "dark";
};
};
};
};
}