Remove home-manager from nixos configuration
This commit is contained in:
@@ -7,7 +7,6 @@ in
|
||||
{
|
||||
|
||||
imports = [
|
||||
<home-manager/nixos>
|
||||
./desktop-environment/config.nix
|
||||
./terminal-environment/config.nix
|
||||
./system-environment/config.nix
|
||||
@@ -22,52 +21,6 @@ in
|
||||
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 = {
|
||||
description = "Generate SSH key if missing";
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
|
||||
Reference in New Issue
Block a user