|
22 | 22 | nixos-generators, |
23 | 23 | ... |
24 | 24 | }: let |
25 | | - username = "ryan"; |
26 | | - userfullname = "Ryan Yin"; |
27 | | - useremail = "xiaoyin_c@qq.com"; |
| 25 | + username = "nixos"; |
| 26 | + userfullname = "DataEraserC"; |
| 27 | + useremail = "102341238+DataEraserC@users.noreply.github.com"; |
28 | 28 |
|
29 | 29 | x64_system = "x86_64-linux"; |
30 | 30 | x64_darwin = "x86_64-darwin"; |
|
34 | 34 | macosSystem = import ./lib/macosSystem.nix; |
35 | 35 | in { |
36 | 36 | nixosConfigurations = let |
| 37 | + # y9000k2021h |
| 38 | + idol_y9000k2021h_modules_i3 = { |
| 39 | + nixos-modules = [ |
| 40 | + ./hosts/idols/y9000k2021h |
| 41 | + ./modules/nixos/i3.nix |
| 42 | + ]; |
| 43 | + home-module = import ./home/linux/desktop-i3.nix; |
| 44 | + }; |
| 45 | + idol_y9000k2021h_modules_hyprland = { |
| 46 | + nixos-modules = [ |
| 47 | + ./hosts/idols/y9000k2021h |
| 48 | + ./modules/nixos/hyprland.nix |
| 49 | + ]; |
| 50 | + home-module = import ./home/linux/desktop-hyprland.nix; |
| 51 | + }; |
| 52 | + |
37 | 53 | # 星野 アイ, Hoshino Ai |
38 | 54 | idol_ai_modules_i3 = { |
39 | 55 | nixos-modules = [ |
|
92 | 108 | stable_args = base_args // {inherit nixpkgs;}; |
93 | 109 | unstable_args = base_args // {nixpkgs = nixpkgs-unstable;}; |
94 | 110 | in { |
| 111 | + # y9000k2021h with i3 window manager |
| 112 | + y9000k2021h_i3 = nixosSystem (idol_y9000k2021h_modules_i3 // stable_args); |
| 113 | + # y9000k2021h with hyprland compositor |
| 114 | + y9000k2021h_hyprland = nixosSystem (idol_y9000k2021h_modules_hyprland // stable_args); |
| 115 | + |
95 | 116 | # ai with i3 window manager |
96 | 117 | ai_i3 = nixosSystem (idol_ai_modules_i3 // stable_args); |
97 | 118 | # ai with hyprland compositor |
|
108 | 129 | packages."${x64_system}" = |
109 | 130 | # genAttrs returns an attribute set with the given keys and values(host => image). |
110 | 131 | nixpkgs.lib.genAttrs [ |
| 132 | + "y9000k2021h_i3" |
| 133 | + "y9000k2021h_hyprland" |
111 | 134 | "ai_i3" |
112 | 135 | "ai_hyprland" |
113 | 136 | ] ( |
|
220 | 243 | # my private secrets, it's a private repository, you need to replace it with your own. |
221 | 244 | # use ssh protocol to authenticate via ssh-agent/ssh-key, and shallow clone to save time |
222 | 245 | mysecrets = { |
223 | | - url = "git+ssh://git@github.com/ryan4yin/nix-secrets.git?shallow=1"; |
| 246 | + url = "git+ssh://git@github.com/DataEraserC/nix-secrets.git?shallow=1"; |
224 | 247 | flake = false; |
225 | 248 | }; |
226 | 249 |
|
227 | 250 | # my wallpapers |
228 | 251 | wallpapers = { |
229 | | - url = "github:ryan4yin/wallpapers"; |
| 252 | + # url = "git+file:////home/nixos/Documents/code/wallpapers?shallow=1"; |
| 253 | + url = "github:DataEraserC/wallpapers"; |
230 | 254 | flake = false; |
231 | 255 | }; |
232 | 256 |
|
|
0 commit comments