this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

:construction: work home manager

+61 -2
+33 -1
README.org
··· 17 17 pkgs = import nixpkgs {inherit system;}; 18 18 users = { 19 19 pedro = { 20 - username = "pedro"; 20 + username = "pedro"; 21 + }; 22 + work = { 23 + username = "pedro-correa"; 21 24 }; 22 25 }; 23 26 in { ··· 70 73 #+end_src 71 74 72 75 *** Home Manager 76 + 77 + **** Personal 73 78 #+begin_src nix 74 79 homeConfigurations = { 75 80 pedro = home-manager.lib.homeManagerConfiguration { ··· 85 90 }; 86 91 #+end_src 87 92 93 + **** Work 94 + #+begin_src nix 95 + homeConfigurations = { 96 + work = home-manager.lib.homeManagerConfiguration { 97 + inherit pkgs; 98 + modules = [{ 99 + # Home Manager needs a bit of information about you and the paths it should 100 + # manage. 101 + home.username = users.workusername; 102 + home.homeDirectory = "/home/${users.work.username}"; 103 + 104 + home.stateVersion = stateVersion; # Please read the comment before changing. 105 + 106 + programs = { 107 + home-manager.enable = true; 108 + }; 109 + 110 + imports = [ 111 + ./alacritty 112 + ./emacs 113 + ./neovim 114 + ./vscode 115 + ]; 116 + }]; 117 + }; 118 + }; 119 + #+end_src
+28 -1
flake.nix
··· 16 16 pkgs = import nixpkgs {inherit system;}; 17 17 users = { 18 18 pedro = { 19 - username = "pedro"; 19 + username = "pedro"; 20 + }; 21 + work = { 22 + username = "pedro-correa"; 20 23 }; 21 24 }; 22 25 in { ··· 39 42 modules = [ 40 43 ./home 41 44 ]; 45 + }; 46 + }; 47 + homeConfigurations = { 48 + work = home-manager.lib.homeManagerConfiguration { 49 + inherit pkgs; 50 + modules = [{ 51 + # Home Manager needs a bit of information about you and the paths it should 52 + # manage. 53 + home.username = users.workusername; 54 + home.homeDirectory = "/home/${users.work.username}"; 55 + 56 + home.stateVersion = stateVersion; # Please read the comment before changing. 57 + 58 + programs = { 59 + home-manager.enable = true; 60 + }; 61 + 62 + imports = [ 63 + ./alacritty 64 + ./emacs 65 + ./neovim 66 + ./vscode 67 + ]; 68 + }]; 42 69 }; 43 70 }; 44 71 };