Files
nix-noctalia/modules/home.nix
2026-07-26 22:03:51 +02:00

32 lines
714 B
Nix
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{ 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
programs.git.settings.peter = {
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";
}