Compare commits

..

No commits in common. "b8345d5e0666570d5d228f0e44322115c71a35a9" and "3e3d45f18bd7982dff435529d4d32b57d48122a0" have entirely different histories.

3 changed files with 1 additions and 39 deletions

View file

@ -24,7 +24,7 @@ nix run github:nix-community/nixos-anywhere -- --flake .#<configuration name> ro
## Deploy configuration ## 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: Then you can deploy the new configuration:

View file

@ -59,7 +59,6 @@
modules = [ modules = [
./hosts/OVHCloud ./hosts/OVHCloud
disko.nixosModules.disko disko.nixosModules.disko
home-manager.nixosModules.home-manager
]; ];
}; };
}; };

View file

@ -1,6 +1,4 @@
{ {
inputs,
config,
pkgs, pkgs,
lib, lib,
... ...
@ -33,39 +31,4 @@
helix helix
git 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";
} }