Remove references to username in home-manager config

This commit is contained in:
Pim Kunis 2024-11-21 20:52:07 +01:00
parent 089436e641
commit fa4cfc0a25
3 changed files with 14 additions and 9 deletions

View file

@ -90,21 +90,13 @@
}; };
}; };
home = {
username = "pim";
homeDirectory = "/home/pim";
stateVersion = "23.05";
};
programs = { programs = {
home-manager.enable = true; home-manager.enable = true;
bat.enable = true; bat.enable = true;
git.delta = { git.delta = {
enable = true; enable = true;
options = { options.syntax-theme = "gruvbox-dark";
syntax-theme = "gruvbox-dark";
};
}; };
fzf = { fzf = {
@ -114,6 +106,7 @@
alacritty = { alacritty = {
enable = true; enable = true;
settings.shell = { settings.shell = {
program = lib.getExe config.programs.tmux.package; program = lib.getExe config.programs.tmux.package;
args = ["attach"]; args = ["attach"];

View file

@ -1,4 +1,10 @@
{pkgs, ...}: { {pkgs, ...}: {
home = {
username = "pim";
homeDirectory = "/home/pim";
stateVersion = "24.05";
};
home.packages = with pkgs.unstable; [ home.packages = with pkgs.unstable; [
devenv devenv
vlc vlc

View file

@ -15,6 +15,12 @@
programs.chromium.enable = true; programs.chromium.enable = true;
home = {
username = "pim";
homeDirectory = "/home/pim";
stateVersion = "23.05";
};
sops = { sops = {
defaultSopsFile = ./home.sops.yaml; defaultSopsFile = ./home.sops.yaml;
age.keyFile = "${config.xdg.configHome}/sops/age/keys.txt"; age.keyFile = "${config.xdg.configHome}/sops/age/keys.txt";