mirror of
https://github.com/EdenQwQ/nixos.git
synced 2026-07-16 22:16:51 +08:00
opencode, noctalia nightlight, waydeeper rust
This commit is contained in:
parent
307fc4579b
commit
b6e64c1ebc
5 changed files with 70 additions and 27 deletions
59
flake.lock
generated
59
flake.lock
generated
|
|
@ -199,6 +199,21 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"crane": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1774313767,
|
||||||
|
"narHash": "sha256-hy0XTQND6avzGEUFrJtYBBpFa/POiiaGBr2vpU6Y9tY=",
|
||||||
|
"owner": "ipetkov",
|
||||||
|
"repo": "crane",
|
||||||
|
"rev": "3d9df76e29656c679c744968b17fbaf28f0e923d",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "ipetkov",
|
||||||
|
"repo": "crane",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"dank-material-shell": {
|
"dank-material-shell": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": "nixpkgs_5",
|
"nixpkgs": "nixpkgs_5",
|
||||||
|
|
@ -1209,11 +1224,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs_19": {
|
"nixpkgs_19": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1774386573,
|
"lastModified": 1774709303,
|
||||||
"narHash": "sha256-4hAV26quOxdC6iyG7kYaZcM3VOskcPUrdCQd/nx8obc=",
|
"narHash": "sha256-D3Q07BbIA2KnTcSXIqqu9P586uWxN74zNoCH3h2ESHg=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "46db2e09e1d3f113a13c0d7b81e2f221c63b8ce9",
|
"rev": "8110df5ad7abf5d4c0f6fb0f8f978390e77f9685",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -1647,6 +1662,27 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"rust-overlay_2": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"waydeeper",
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1774840424,
|
||||||
|
"narHash": "sha256-3Oi4mBKzOCFQYLUyEjyc0s5cnlNj1MzmhpVKoLptpe8=",
|
||||||
|
"owner": "oxalica",
|
||||||
|
"repo": "rust-overlay",
|
||||||
|
"rev": "d9f52b51548e76ab8b6e7d647763047ebdec835c",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "oxalica",
|
||||||
|
"repo": "rust-overlay",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"scenefx": {
|
"scenefx": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
|
|
@ -2021,21 +2057,22 @@
|
||||||
},
|
},
|
||||||
"waydeeper": {
|
"waydeeper": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
|
"crane": "crane",
|
||||||
"flake-utils": "flake-utils_5",
|
"flake-utils": "flake-utils_5",
|
||||||
"nixpkgs": "nixpkgs_19"
|
"nixpkgs": "nixpkgs_19",
|
||||||
|
"rust-overlay": "rust-overlay_2"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1774881107,
|
"dirtyRev": "513dcbe23ac7393f1e16c4b6d124242ed496bfbe-dirty",
|
||||||
"narHash": "sha256-FVTsoJ1WTY4KN1MWjlURXh3UqOQNiziwWGAhsj7SGe4=",
|
"dirtyShortRev": "513dcbe-dirty",
|
||||||
"ref": "refs/heads/main",
|
"lastModified": 1774931319,
|
||||||
"rev": "33b29e209a01a16419f23057726cb3a22f164411",
|
"narHash": "sha256-aYYoy620oTc32v/gFmw51vkUTzG0S6GmVvY1+ZxOOfk=",
|
||||||
"revCount": 14,
|
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "file:///home/eden/Repos/waydeeper"
|
"url": "file:///home/eden/Repos/waydeeper-rust"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "file:///home/eden/Repos/waydeeper"
|
"url": "file:///home/eden/Repos/waydeeper-rust"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"xwayland-satellite-stable": {
|
"xwayland-satellite-stable": {
|
||||||
|
|
|
||||||
|
|
@ -105,6 +105,6 @@
|
||||||
hexecute.url = "github:ThatOtherAndrew/Hexecute";
|
hexecute.url = "github:ThatOtherAndrew/Hexecute";
|
||||||
kimi-cli.url = "github:MoonshotAI/kimi-cli";
|
kimi-cli.url = "github:MoonshotAI/kimi-cli";
|
||||||
awww.url = "git+https://codeberg.org/LGFae/awww";
|
awww.url = "git+https://codeberg.org/LGFae/awww";
|
||||||
waydeeper.url = "git+file:///home/eden/Repos/waydeeper";
|
waydeeper.url = "git+file:///home/eden/Repos/waydeeper-rust";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -26,27 +26,27 @@ let
|
||||||
killall swhks
|
killall swhks
|
||||||
swhks &
|
swhks &
|
||||||
doas swhkd -c ~/.config/niri/swhkd/niri.swhkdrc &
|
doas swhkd -c ~/.config/niri/swhkd/niri.swhkdrc &
|
||||||
awww kill
|
# awww kill
|
||||||
awww-daemon --namespace "background" &
|
# awww-daemon --namespace "background" &
|
||||||
awww-daemon --namespace "backdrop" &
|
# awww-daemon --namespace "backdrop" &
|
||||||
# awww restore --namespace "background"
|
# awww restore --namespace "background"
|
||||||
# awww restore --namespace "backdrop"
|
# awww restore --namespace "backdrop"
|
||||||
mihomo -d ~/.config/clash &
|
mihomo -d ~/.config/clash &
|
||||||
wlsunset -s 00:00 -S 00:00 -t 5000 -T 5001 &
|
wlsunset -s 00:00 -S 00:00 -t 5000 -T 5001 &
|
||||||
sleep 0.2
|
sleep 0.2
|
||||||
''
|
''
|
||||||
+ (
|
# + (
|
||||||
builtins.attrNames config.monitors
|
# builtins.attrNames config.monitors
|
||||||
|> map (monitor: [
|
# |> map (monitor: [
|
||||||
"awww img --namespace background -o ${monitor} \"/home/${user}/Pictures/Wallpapers/generated/$(cat ~/Pictures/Wallpapers/${monitor}-file)\""
|
# "awww img --namespace background -o ${monitor} \"/home/${user}/Pictures/Wallpapers/generated/$(cat ~/Pictures/Wallpapers/${monitor}-file)\""
|
||||||
"sleep 0.2"
|
# "sleep 0.2"
|
||||||
"awww img --namespace backdrop -o ${monitor} \"/home/${user}/Pictures/Wallpapers/generated/$(cat ~/Pictures/Wallpapers/${monitor}-blurred-file)\""
|
# "awww img --namespace backdrop -o ${monitor} \"/home/${user}/Pictures/Wallpapers/generated/$(cat ~/Pictures/Wallpapers/${monitor}-blurred-file)\""
|
||||||
"sleep 0.2"
|
# "sleep 0.2"
|
||||||
])
|
# ])
|
||||||
|> builtins.concatLists
|
# |> builtins.concatLists
|
||||||
|> builtins.concatStringsSep "\n"
|
# |> builtins.concatStringsSep "\n"
|
||||||
)
|
# )
|
||||||
+ "\n"
|
# + "\n"
|
||||||
+ (
|
+ (
|
||||||
if config.desktopShell == "caelestia" then
|
if config.desktopShell == "caelestia" then
|
||||||
# bash
|
# bash
|
||||||
|
|
|
||||||
|
|
@ -146,6 +146,11 @@
|
||||||
};
|
};
|
||||||
dock.enabled = false;
|
dock.enabled = false;
|
||||||
wallpaper.enabled = false;
|
wallpaper.enabled = false;
|
||||||
|
nightLight = {
|
||||||
|
enabled = true;
|
||||||
|
forced = true;
|
||||||
|
nightTemp = "5000";
|
||||||
|
};
|
||||||
desktopWidgets = {
|
desktopWidgets = {
|
||||||
editMode = false;
|
editMode = false;
|
||||||
enabled = true;
|
enabled = true;
|
||||||
|
|
|
||||||
|
|
@ -22,5 +22,6 @@
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
inputs.kimi-cli.packages.${pkgs.stdenv.hostPlatform.system}.default
|
inputs.kimi-cli.packages.${pkgs.stdenv.hostPlatform.system}.default
|
||||||
#inputs.airi.packages.${pkgs.stdenv.hostPlatform.system}.default
|
#inputs.airi.packages.${pkgs.stdenv.hostPlatform.system}.default
|
||||||
|
opencode
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue