Compare commits
No commits in common. "b8345d5e0666570d5d228f0e44322115c71a35a9" and "3e3d45f18bd7982dff435529d4d32b57d48122a0" have entirely different histories.
b8345d5e06
...
3e3d45f18b
3 changed files with 1 additions and 39 deletions
|
@ -24,7 +24,7 @@ nix run github:nix-community/nixos-anywhere -- --flake .#<configuration name> ro
|
|||
|
||||
## Deploy configuration
|
||||
|
||||
In order to deploy new configuration changes after the initial NixOS installation, I use [deploy-rs](https://github.com/serokell/deploy-rs). It requires a properly set-up **ssh-agent** and SSH keys being installed on the **root** user.
|
||||
In order to deploy new configuration changes after the initial NixOS installation, I use [deploy-rs](https://github.com/serokell/deploy-rs). It requires a properly set-up **ssh-agent** and SSH keys being installed on the **gaspard** user.
|
||||
|
||||
Then you can deploy the new configuration:
|
||||
|
||||
|
|
|
@ -59,7 +59,6 @@
|
|||
modules = [
|
||||
./hosts/OVHCloud
|
||||
disko.nixosModules.disko
|
||||
home-manager.nixosModules.home-manager
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
{
|
||||
inputs,
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
|
@ -33,39 +31,4 @@
|
|||
helix
|
||||
git
|
||||
];
|
||||
|
||||
# User config
|
||||
users.groups.gaspard = {
|
||||
name = "gaspard";
|
||||
};
|
||||
users.users.gaspard = {
|
||||
isNormalUser = true;
|
||||
extraGroups = [
|
||||
"wheel"
|
||||
];
|
||||
group = "gaspard";
|
||||
openssh.authorizedKeys.keys = config.users.users.root.openssh.authorizedKeys.keys;
|
||||
};
|
||||
|
||||
home-manager = {
|
||||
extraSpecialArgs = {inherit inputs;};
|
||||
users = {
|
||||
# FIX: No user config file
|
||||
"gaspard" = {
|
||||
home.username = "gaspard";
|
||||
home.homeDirectory = "/home/gaspard";
|
||||
home.stateVersion = "24.05";
|
||||
|
||||
programs.home-manager.enable = true;
|
||||
programs.direnv.enable = true;
|
||||
|
||||
imports = [
|
||||
../../shell
|
||||
../../editor
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
system.stateVersion = "24.11";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue