home-manager/flake.nix

51 lines
1.2 KiB
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 = {
2024-07-10 06:17:30 +00:00
user = "mandlm";
userName = "Michael Mandl";
userEmail = "mandlm@molez.net";
2024-07-09 19:58:33 +00:00
theme = "dark";
};
};
2024-07-10 06:10:56 +00:00
"mmandl@NB11313" = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
modules = [
./horsch/home.nix
];
extraSpecialArgs = {
2024-07-10 06:17:30 +00:00
user = "mmandl";
userName = "Michael Mandl";
userEmail = "michael.mandl@horsch.com";
2024-07-10 06:10:56 +00:00
theme = "dark";
};
};
};
};
}