Files
nix-noctalia/modules/home.nix

32 lines
714 B
Nix
Raw Normal View History

2026-07-25 22:56:20 +02:00
{ config, pkgs, lazyvim, lib, inputs, ... }:
let
lazyvim-config = pkgs.runCommand "lazyvim-config" {} ''
cp -r ${inputs.lazyvim} $out
rm -rf $out/.git
'';
in {
# Dein Benutzername und HomeVerzeichnis
home.username = "peter";
home.homeDirectory = "/home/peter";
# Pakete, die nur für diesen Benutzer installiert werden
home.packages = with pkgs; [
];
# Beispiel: GitKonfiguration
2026-07-26 22:03:51 +02:00
programs.git.settings.peter = {
2026-07-25 22:56:20 +02:00
enable = true;
userName = "peter";
userEmail = "peter@email";
};
home.file.".config/nvim" = {
source = lazyvim-config;
recursive = true;
};
# Wichtig: StateVersion (an deine NixOSVersion anpassen)
# home.stateVersion = "23.11";
}