Remove home-manager from nixos configuration
This commit is contained in:
@@ -45,18 +45,4 @@ in
|
|||||||
programs.waybar = {
|
programs.waybar = {
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
home-manager.users.${profile.username} = { ... }: {
|
|
||||||
home.file.".config/hypr" = {
|
|
||||||
source = dotfiles_hypr;
|
|
||||||
recursive = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
home.file.".config/waybar" = {
|
|
||||||
source = dotfiles_waybar;
|
|
||||||
recursive = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
};
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,7 +7,6 @@ in
|
|||||||
{
|
{
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
<home-manager/nixos>
|
|
||||||
./desktop-environment/config.nix
|
./desktop-environment/config.nix
|
||||||
./terminal-environment/config.nix
|
./terminal-environment/config.nix
|
||||||
./system-environment/config.nix
|
./system-environment/config.nix
|
||||||
@@ -22,52 +21,6 @@ in
|
|||||||
hashedPassword = profile.hashed-password;
|
hashedPassword = profile.hashed-password;
|
||||||
};
|
};
|
||||||
|
|
||||||
home-manager.backupFileExtension = "bck.lck";
|
|
||||||
|
|
||||||
home-manager.users.${profile.username} = { pkgs, ... }: {
|
|
||||||
|
|
||||||
imports = [
|
|
||||||
./terminal-environment/genv
|
|
||||||
];
|
|
||||||
|
|
||||||
home.stateVersion = "25.11";
|
|
||||||
programs.git = {
|
|
||||||
enable = true;
|
|
||||||
settings = {
|
|
||||||
user = {
|
|
||||||
name = "Nina Chlóe Kassandra Reiß";
|
|
||||||
email = "nina.reiss@nickr.eu";
|
|
||||||
};
|
|
||||||
push = {
|
|
||||||
autoSetupRemote = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
programs.ssh = {
|
|
||||||
enable = true;
|
|
||||||
|
|
||||||
extraConfig = ''
|
|
||||||
Host git.nickr.eu
|
|
||||||
HostName git.nickr.eu
|
|
||||||
Port 22
|
|
||||||
|
|
||||||
Host nickr.eu
|
|
||||||
HostName nickr.eu
|
|
||||||
Port 222
|
|
||||||
|
|
||||||
Host nichkara.eu
|
|
||||||
HostName nichkara.eu
|
|
||||||
Port 222
|
|
||||||
|
|
||||||
Host git.nichkara.eu
|
|
||||||
HostName git.nichkara.eu
|
|
||||||
Port 22
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
systemd.services.generate-ssh-key = {
|
systemd.services.generate-ssh-key = {
|
||||||
description = "Generate SSH key if missing";
|
description = "Generate SSH key if missing";
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
|
|||||||
@@ -64,58 +64,4 @@ in
|
|||||||
theme = "sonicradish";
|
theme = "sonicradish";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
home-manager.users.${profile.username} = { ... }: {
|
|
||||||
programs.zsh = {
|
|
||||||
enable = true;
|
|
||||||
enableCompletion = true;
|
|
||||||
autocd = true;
|
|
||||||
|
|
||||||
autosuggestion = {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
syntaxHighlighting = {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
history = {
|
|
||||||
size = 4096;
|
|
||||||
ignoreSpace = true;
|
|
||||||
ignorePatterns = [ ];
|
|
||||||
saveNoDups = true;
|
|
||||||
ignoreAllDups = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
oh-my-zsh = {
|
|
||||||
enable = true;
|
|
||||||
theme = "sonicradish";
|
|
||||||
plugins = [
|
|
||||||
"git"
|
|
||||||
"z"
|
|
||||||
"dotenv"
|
|
||||||
"battery"
|
|
||||||
"emoji"
|
|
||||||
"emoji-clock"
|
|
||||||
"fzf"
|
|
||||||
"kitty"
|
|
||||||
"themes"
|
|
||||||
"tmux"
|
|
||||||
"vi-mode"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
setOptions = [
|
|
||||||
"HIST_IGNORE_ALL_DUPS"
|
|
||||||
];
|
|
||||||
|
|
||||||
shellAliases = {
|
|
||||||
ll = "ls -lh";
|
|
||||||
nix-check = "nixos-rebuild build";
|
|
||||||
nix-update = "sudo nixos-rebuild switch";
|
|
||||||
sirc = "ssh -t nichkara.eu tmux new-session -A -s weechat weechat";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user