Skip to content

Commit 9c6d926

Browse files
committed
Reset from d9161cd
1 parent 08d8c4c commit 9c6d926

17 files changed

Lines changed: 526 additions & 66 deletions

File tree

flake.lock

Lines changed: 37 additions & 37 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 29 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@
2222
nixos-generators,
2323
...
2424
}: 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";
2828

2929
x64_system = "x86_64-linux";
3030
x64_darwin = "x86_64-darwin";
@@ -34,6 +34,22 @@
3434
macosSystem = import ./lib/macosSystem.nix;
3535
in {
3636
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+
3753
# 星野 アイ, Hoshino Ai
3854
idol_ai_modules_i3 = {
3955
nixos-modules = [
@@ -92,6 +108,11 @@
92108
stable_args = base_args // {inherit nixpkgs;};
93109
unstable_args = base_args // {nixpkgs = nixpkgs-unstable;};
94110
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+
95116
# ai with i3 window manager
96117
ai_i3 = nixosSystem (idol_ai_modules_i3 // stable_args);
97118
# ai with hyprland compositor
@@ -108,6 +129,8 @@
108129
packages."${x64_system}" =
109130
# genAttrs returns an attribute set with the given keys and values(host => image).
110131
nixpkgs.lib.genAttrs [
132+
"y9000k2021h_i3"
133+
"y9000k2021h_hyprland"
111134
"ai_i3"
112135
"ai_hyprland"
113136
] (
@@ -220,13 +243,14 @@
220243
# my private secrets, it's a private repository, you need to replace it with your own.
221244
# use ssh protocol to authenticate via ssh-agent/ssh-key, and shallow clone to save time
222245
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";
224247
flake = false;
225248
};
226249

227250
# my wallpapers
228251
wallpapers = {
229-
url = "github:ryan4yin/wallpapers";
252+
# url = "git+file:////home/nixos/Documents/code/wallpapers?shallow=1";
253+
url = "github:DataEraserC/wallpapers";
230254
flake = false;
231255
};
232256

0 commit comments

Comments
 (0)