add cosmic, add mihomo

This commit is contained in:
EdenQwQ 2025-12-20 15:35:29 +08:00
parent 1c17d8bb87
commit 8e6d41ea30
8 changed files with 44 additions and 40 deletions

58
flake.lock generated
View file

@ -42,17 +42,17 @@
"base16-fish": { "base16-fish": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1754405784, "lastModified": 1765809053,
"narHash": "sha256-l9xHIy+85FN+bEo6yquq2IjD1rSg9fjfjpyGP1W8YXo=", "narHash": "sha256-XCUQLoLfBJ8saWms2HCIj4NEN+xNsWBlU1NrEPcQG4s=",
"owner": "tomyun", "owner": "tomyun",
"repo": "base16-fish", "repo": "base16-fish",
"rev": "23ae20a0093dca0d7b39d76ba2401af0ccf9c561", "rev": "86cbea4dca62e08fb7fd83a70e96472f92574782",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "tomyun", "owner": "tomyun",
"repo": "base16-fish", "repo": "base16-fish",
"rev": "23ae20a0093dca0d7b39d76ba2401af0ccf9c561", "rev": "86cbea4dca62e08fb7fd83a70e96472f92574782",
"type": "github" "type": "github"
} }
}, },
@ -740,11 +740,11 @@
"xwayland-satellite-unstable": "xwayland-satellite-unstable" "xwayland-satellite-unstable": "xwayland-satellite-unstable"
}, },
"locked": { "locked": {
"lastModified": 1764165116, "lastModified": 1766209779,
"narHash": "sha256-DN0m9X9dFPxNTfhaUWlHoM2CFbNiWgxVHzC4j0AIiuc=", "narHash": "sha256-aYOnrT1M5xxqn1Ka66jh9JspE9GejyX16bgA2Fex9dQ=",
"owner": "sodiboo", "owner": "sodiboo",
"repo": "niri-flake", "repo": "niri-flake",
"rev": "ae097a3c5ef217f9441d0da1c0bc14bbb4796b94", "rev": "3a174fe817fc39f09267a464d0ba93606aac7277",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -773,11 +773,11 @@
"niri-unstable": { "niri-unstable": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1764160906, "lastModified": 1766207058,
"narHash": "sha256-6Dud/oe0UnkgCe+JAGF+GjXl6S6ynpcAUYWCdbXjJL4=", "narHash": "sha256-7E45lo+Yt4zaOlrCQWGSGwvFKzS5MxlP0gPCkggy+8w=",
"owner": "YaLTeR", "owner": "YaLTeR",
"repo": "niri", "repo": "niri",
"rev": "8370c539fb584f78924b826d0ac0ad8fa068cf95", "rev": "7a237e519c69ec493851ffac169abb3aa917a7b3",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -940,16 +940,16 @@
}, },
"nixpkgs-stable": { "nixpkgs-stable": {
"locked": { "locked": {
"lastModified": 1763948260, "lastModified": 1765838191,
"narHash": "sha256-dY9qLD0H0zOUgU3vWacPY6Qc421BeQAfm8kBuBtPVE0=", "narHash": "sha256-m5KWt1nOm76ILk/JSCxBM4MfK3rYY7Wq9/TZIIeGnT8=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "1c8ba8d3f7634acac4a2094eef7c32ad9106532c", "rev": "c6f52ebd45e5925c188d1a20119978aa4ffd5ef6",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "NixOS", "owner": "NixOS",
"ref": "nixos-25.05", "ref": "nixos-25.11",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }
@ -992,11 +992,11 @@
}, },
"nixpkgs_10": { "nixpkgs_10": {
"locked": { "locked": {
"lastModified": 1763966396, "lastModified": 1766070988,
"narHash": "sha256-6eeL1YPcY1MV3DDStIDIdy/zZCDKgHdkCmsrLJFiZf0=", "narHash": "sha256-G/WVghka6c4bAzMhTwT2vjLccg/awmHkdKSd2JrycLc=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "5ae3b07d8d6527c42f17c876e404993199144b6a", "rev": "c6245e83d836d0433170a16eb185cefe0572f8b8",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1023,11 +1023,11 @@
}, },
"nixpkgs_12": { "nixpkgs_12": {
"locked": { "locked": {
"lastModified": 1764245472, "lastModified": 1766167171,
"narHash": "sha256-udCSZoKawLiNJKFQgikkN96tvVJggs61ihRq8sRt8tM=", "narHash": "sha256-byMhqfXhykDuUKSytViHmGXJMBbnblp2MHjpvaYDlqI=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "6c16b7ce10e5ef1fee3aecfb327be61888818a7a", "rev": "921addc42f4ed749811038255434820e0adb744d",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1251,11 +1251,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1765782681, "lastModified": 1766202991,
"narHash": "sha256-mpqMpz6N+DGi/eO+HKuyj5nVM4QbQe3IX51/nbV5OSo=", "narHash": "sha256-i0bSny2EeEdWjErFUXbFfoJOZMJLMsxEYMyw/f5oZu0=",
"owner": "noctalia-dev", "owner": "noctalia-dev",
"repo": "noctalia-shell", "repo": "noctalia-shell",
"rev": "c31f38ce0cea7db4348bbe8f8708f6ab38987dbb", "rev": "c8b76c7b90c1a9efa8c8c5a5c3229ca86b855830",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1444,11 +1444,11 @@
"tinted-zed": "tinted-zed" "tinted-zed": "tinted-zed"
}, },
"locked": { "locked": {
"lastModified": 1765047449, "lastModified": 1765897595,
"narHash": "sha256-VQcqjJ2g0kT9TW4ENwA2HBQJzfbCUd5s1Wm3K+R2QZY=", "narHash": "sha256-NgTRxiEC5y96zrhdBygnY+mSzk5FWMML39PcRGVJmxg=",
"owner": "nix-community", "owner": "nix-community",
"repo": "stylix", "repo": "stylix",
"rev": "bd00e01aab676aee88e6cc5c9238b4a5a7d6639a", "rev": "e6829552d4bb659ebab00f08c61d8c62754763f3",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1702,11 +1702,11 @@
"xwayland-satellite-unstable": { "xwayland-satellite-unstable": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1763704521, "lastModified": 1765935116,
"narHash": "sha256-ceYEV6PnvUN8Zixao4gpPuN+VT3B0SlAXKuPNHZhqUY=", "narHash": "sha256-lNyckAdrhNKXsi9pNOBYajntNFlWs+BITVoIZuNuwX0=",
"owner": "Supreeeme", "owner": "Supreeeme",
"repo": "xwayland-satellite", "repo": "xwayland-satellite",
"rev": "f379ff5722a821212eb59ada9cf8e51cb3654aad", "rev": "979eab242e60cf481a31d9de508a1bdaf2dcf7d4",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -38,6 +38,7 @@ let
umap umap
concaveman concaveman
Rtsne Rtsne
see
(buildRPackage { (buildRPackage {
name = "cmdstanr"; name = "cmdstanr";
src = pkgs.fetchFromGitHub { src = pkgs.fetchFromGitHub {

View file

@ -10,7 +10,7 @@ let
name = "niri-autostart"; name = "niri-autostart";
runtimeInputs = with pkgs; [ runtimeInputs = with pkgs; [
swww swww
clash-meta mihomo
wlsunset wlsunset
systemd systemd
killall killall
@ -31,7 +31,7 @@ let
swww-daemon --namespace "backdrop" & swww-daemon --namespace "backdrop" &
# swww restore --namespace "background" # swww restore --namespace "background"
# swww restore --namespace "backdrop" # swww restore --namespace "backdrop"
clash-meta -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 &
'' ''
+ ( + (

View file

@ -2,5 +2,6 @@
{ {
home.packages = with pkgs; [ home.packages = with pkgs; [
clash-meta clash-meta
mihomo
]; ];
} }

10
os/programs/cosmic.nix Normal file
View file

@ -0,0 +1,10 @@
{ pkgs, ... }:
{
services.desktopManager.cosmic.enable = true;
environment.cosmic.excludePackages = with pkgs; [
cosmic-edit
cosmic-player
cosmic-wallpapers
cosmic-store
];
}

View file

@ -4,9 +4,9 @@
./doas.nix ./doas.nix
./niri.nix ./niri.nix
./swhkd.nix ./swhkd.nix
# ./mango.nix
./matlab.nix ./matlab.nix
./misc.nix ./misc.nix
./tuigreet.nix ./tuigreet.nix
./cosmic.nix
]; ];
} }

View file

@ -1,5 +0,0 @@
{
programs = {
mango.enable = true;
};
}

View file

@ -1,3 +0,0 @@
{
programs.wayland.miracle-wm.enable = true;
}