home-manager/flake.nix

86 lines
2.2 KiB
Nix
Raw Permalink 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 11:21:28 +00:00
./shell
./git
./gpg
./neovim
2024-07-10 11:09:24 +00:00
./private.nix
./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-10 10:58:04 +00:00
gpgSigningKey = "4AA25D647AA54CC7";
gpgSSHKeys = [ "1F937AC8F77ED74CE24EAAE79B5601F73C6D115F" ];
2024-07-09 19:58:33 +00:00
theme = "dark";
2024-07-27 20:22:59 +00:00
vimwikiPath = "~/vimwiki";
2024-07-09 19:58:33 +00:00
};
};
2024-07-10 06:10:56 +00:00
"mmandl@NB11313" = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
modules = [
2024-07-10 11:21:28 +00:00
./shell
./git
./gpg
./neovim
2024-07-10 11:09:24 +00:00
./horsch.nix
2024-07-10 06:10:56 +00:00
];
extraSpecialArgs = {
2024-07-10 06:17:30 +00:00
user = "mmandl";
userName = "Michael Mandl";
userEmail = "michael.mandl@horsch.com";
2024-07-10 10:58:04 +00:00
gpgSigningKey = "088ED38F036C7AF2";
gpgSSHKeys = [ "AEB2BF3FF9CF9529E9A3C6F1A202D21686FF9278" ];
2024-07-10 06:10:56 +00:00
theme = "dark";
2024-07-27 20:22:59 +00:00
vimwikiPath = "~/vimwiki";
2024-07-10 06:10:56 +00:00
};
};
"ubuntu" = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
modules = [
./shell
./git
./gpg
./neovim
./horsch.nix
];
extraSpecialArgs = {
user = "ubuntu";
userName = "Michael Mandl";
userEmail = "michael.mandl@horsch.com";
gpgSigningKey = "088ED38F036C7AF2";
gpgSSHKeys = [ "AEB2BF3FF9CF9529E9A3C6F1A202D21686FF9278" ];
theme = "dark";
vimwikiPath = "~/vimwiki";
};
};
};
};
}