File tree 6 files changed +29
-36
lines changed
6 files changed +29
-36
lines changed Original file line number Diff line number Diff line change 176
176
homeManagerModules = nixpkgs . lib . attrsets . foldAttrs ( item : acc : item ++ acc ) [ ] [
177
177
{
178
178
root = [
179
- ./generic/users/root/home-manager .nix
179
+ ./generic/users/raoul .nix
180
180
] ;
181
181
}
182
182
homeManagerModules
385
385
secureboot = false ;
386
386
genericHomeManagerModules = [ ] ;
387
387
homeManagerModules = {
388
- root = [ ./generic/users/root/home-manager .nix ] ;
389
- nixos = [ ./generic/users/default.nix ] ;
388
+ root = [ ./generic/users/raoul .nix ] ;
389
+ nixos = [ ] ;
390
390
} ;
391
391
} ;
392
392
} ;
406
406
secureboot = false ;
407
407
genericHomeManagerModules = [ ] ;
408
408
homeManagerModules = {
409
- root = [ ./generic/users/root/home-manager .nix ] ;
410
- nixos = [ ./generic/users/default.nix ] ;
409
+ root = [ ./generic/users/raoul .nix ] ;
410
+ nixos = [ ] ;
411
411
} ;
412
412
} ;
413
413
} ;
Original file line number Diff line number Diff line change 78
78
the following will change the users to attribute sets with home manager config
79
79
*/
80
80
users = builtins . mapAttrs ( userName : modules : {
81
- imports = modules ;
81
+ imports = modules ++ [ ./users/default.nix ] ;
82
82
83
83
home . username = userName ;
84
84
home . homeDirectory = if userName == "root" then "/root" else "/home/${ userName } " ;
Original file line number Diff line number Diff line change 12
12
{
13
13
home . file = {
14
14
".ssh/keys" . source = ../sshPubkeys ;
15
- ".p10k.zsh" . source = ./p10k.zsh ;
16
15
#".zshrc".source = ./zshrc;
17
16
} ;
18
17
19
- home . packages = with pkgs ; [
20
- grepcidr
21
- ] ;
22
-
23
18
programs . zsh = {
24
19
enable = true ;
25
20
enableVteIntegration = true ;
26
21
autosuggestion . enable = true ;
27
22
initExtra = "[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh" ;
28
23
localVariables = {
29
- YSU_HARDCORE = 1 ;
30
24
YSU_IGNORED_ALIASES = [ "g" ] ;
31
25
} ;
32
26
} ;
41
35
ssh = {
42
36
enable = true ;
43
37
extraConfig = ''
44
- user raoul
45
38
identitiesOnly yes
46
39
'' ;
47
40
matchBlocks = rec {
133
126
} ;
134
127
} ;
135
128
136
- # Signal start in tray fix
137
- home . file . ".local/share/applications/signal-desktop.desktop" = {
138
- enable = osConfig . services . desktopManager . plasma6 . enable ;
139
- text = ''
140
- [Desktop Entry]
141
- Name=Signal
142
- Exec=LANGUAGE="de-DE:en-US" ${ pkgs . signal-desktop } /bin/signal-desktop --no-sandbox --start-in-tray %U
143
- Terminal=false
144
- Type=Application
145
- Icon=signal-desktop
146
- StartupWMClass=Signal
147
- Comment=Private messaging from your desktop
148
- MimeType=x-scheme-handler/sgnl;x-scheme-handler/signalcaptcha;
149
- Categories=Network;InstantMessaging;Chat;
150
- '' ;
151
- } ;
152
129
}
Original file line number Diff line number Diff line change
1
+ {
2
+ ...
3
+ } :
4
+ {
5
+ home . file = {
6
+ ".p10k.zsh" . source = ./p10k.zsh ;
7
+
8
+ } ;
9
+
10
+ programs . zsh = {
11
+ localVariables . YSU_HARDCORE = 1 ;
12
+ } ;
13
+
14
+ programs . ssh = {
15
+ extraConfig = ''
16
+ user raoul
17
+ '' ;
18
+ } ;
19
+ }
Original file line number Diff line number Diff line change 7
7
} :
8
8
with lib ;
9
9
{
10
- imports = [ ./../default.nix ] ;
10
+ imports = [
11
+ ./../default.nix
12
+ ../raoul.nix
13
+ ] ;
11
14
# home.stateVersion = "23.05";
12
15
13
16
home . packages = with pkgs ; [
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments