feat: added coder workspace home config

main
Ricard Illa 2023-08-16 17:52:24 +02:00
parent e9c3b32d75
commit 3439390ee8
Signed by: rilla
GPG Key ID: 525307BD467E4205
4 changed files with 9 additions and 5 deletions

View File

@ -9,6 +9,8 @@
home = { home = {
packages = [ pkgs.offline-backups ]; packages = [ pkgs.offline-backups ];
stateVersion = "22.11"; stateVersion = "22.11";
username = "rilla";
homeDirectory = "/home/rilla";
}; };
imports = [ imports = [
outputs.homeManagerModules.common outputs.homeManagerModules.common

View File

@ -1,6 +1,11 @@
{ inputs, outputs, config, pkgs, ... }: { inputs, outputs, config, pkgs, ... }:
{ {
home = {
username = "rilla";
homeDirectory = "/home/rilla";
};
nixpkgs = { nixpkgs = {
overlays = [ overlays = [
outputs.overlays.additions outputs.overlays.additions

View File

@ -7,6 +7,8 @@
extraSpecialArgs = { inherit inputs outputs; }; extraSpecialArgs = { inherit inputs outputs; };
users.rilla = { users.rilla = {
home = { home = {
username = "rilla";
homeDirectory = "/home/rilla";
packages = [ pkgs.offline-backups ]; packages = [ pkgs.offline-backups ];
stateVersion = "22.11"; stateVersion = "22.11";
}; };

View File

@ -3,11 +3,6 @@
{ inputs, outputs, lib, config, pkgs, ... }: { inputs, outputs, lib, config, pkgs, ... }:
{ {
home = {
username = "rilla";
homeDirectory = "/home/rilla";
};
programs.home-manager.enable = true; programs.home-manager.enable = true;
imports = [ imports = [