This repository has been archived on 2024-12-15. You can view files and clone it, but cannot push or open issues or pull requests.
home-manager/flake.nix

53 lines
1.2 KiB
Nix

{
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};
in
{
homeConfigurations = {
"mandlm@xps" = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
modules = [
./private/home.nix
./xps.nix
];
extraSpecialArgs = {
user = "mandlm";
userName = "Michael Mandl";
userEmail = "mandlm@molez.net";
userSigningKey = "4AA25D647AA54CC7";
theme = "dark";
};
};
"mmandl@NB11313" = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
modules = [
./horsch/home.nix
];
extraSpecialArgs = {
user = "mmandl";
userName = "Michael Mandl";
userEmail = "michael.mandl@horsch.com";
userSigningKey = "088ED38F036C7AF2";
theme = "dark";
};
};
};
};
}