mirror of
https://github.com/Dichgrem/DCGOS.git
synced 2025-12-18 12:02:00 -05:00
Compare commits
5 Commits
8650ac8879
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9f94d6c794 | ||
|
|
0ce3551780 | ||
|
|
0bd5d771c0 | ||
|
|
85ee50e214 | ||
|
|
d0c16e345a |
2
dotfiles/.config/niri/switch_monitors.sh
vendored
2
dotfiles/.config/niri/switch_monitors.sh
vendored
@@ -50,3 +50,5 @@ sleep 0.5
|
|||||||
niri msg reload-layout >/dev/null 2>&1 || true
|
niri msg reload-layout >/dev/null 2>&1 || true
|
||||||
pkill swayosd-server
|
pkill swayosd-server
|
||||||
(swayosd-server &>/dev/null &)
|
(swayosd-server &>/dev/null &)
|
||||||
|
pkill wl-gammarelay-rs
|
||||||
|
(wl-gammarelay-rs &>/dev/null &)
|
||||||
|
|||||||
411
flake.lock
generated
411
flake.lock
generated
@@ -21,17 +21,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"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -68,48 +68,6 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"chaotic": {
|
|
||||||
"inputs": {
|
|
||||||
"flake-schemas": "flake-schemas",
|
|
||||||
"home-manager": "home-manager",
|
|
||||||
"jovian": "jovian",
|
|
||||||
"nixpkgs": "nixpkgs",
|
|
||||||
"rust-overlay": "rust-overlay"
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1764720660,
|
|
||||||
"narHash": "sha256-zrU6DwLb5zXCg6JxfVJyNCJex0LjuTUXchotq44Vn+w=",
|
|
||||||
"owner": "chaotic-cx",
|
|
||||||
"repo": "nyx",
|
|
||||||
"rev": "1739cb8049b3184496279dc6a272b56d466ddd58",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "chaotic-cx",
|
|
||||||
"ref": "nyxpkgs-unstable",
|
|
||||||
"repo": "nyx",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"daeuniverse": {
|
|
||||||
"inputs": {
|
|
||||||
"flake-parts": "flake-parts",
|
|
||||||
"nixpkgs": "nixpkgs_2"
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1762203410,
|
|
||||||
"narHash": "sha256-+WqPI5Il43oI2/TMUrZUzzReLW/dnWM6GNqrekDXgos=",
|
|
||||||
"owner": "daeuniverse",
|
|
||||||
"repo": "flake.nix",
|
|
||||||
"rev": "effa0f113add0f982a657f5bce92bac503b542b6",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "daeuniverse",
|
|
||||||
"repo": "flake.nix",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"disko": {
|
"disko": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
@@ -117,11 +75,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1764627417,
|
"lastModified": 1765794845,
|
||||||
"narHash": "sha256-D6xc3Rl8Ab6wucJWdvjNsGYGSxNjQHzRc2EZ6eeQ6l4=",
|
"narHash": "sha256-YD5QWlGnusNbZCqR3pxG8tRxx9yUXayLZfAJRWspq2s=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "disko",
|
"repo": "disko",
|
||||||
"rev": "5a88a6eceb8fd732b983e72b732f6f4b8269bef3",
|
"rev": "7194cfe5b7a3660726b0fe7296070eaef601cae9",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -147,45 +105,6 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"flake-parts": {
|
"flake-parts": {
|
||||||
"inputs": {
|
|
||||||
"nixpkgs-lib": "nixpkgs-lib"
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1738453229,
|
|
||||||
"narHash": "sha256-7H9XgNiGLKN1G1CgRh0vUL4AheZSYzPm+zmZ7vxbJdo=",
|
|
||||||
"owner": "hercules-ci",
|
|
||||||
"repo": "flake-parts",
|
|
||||||
"rev": "32ea77a06711b758da0ad9bd6a844c5740a87abd",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "hercules-ci",
|
|
||||||
"repo": "flake-parts",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"flake-parts_2": {
|
|
||||||
"inputs": {
|
|
||||||
"nixpkgs-lib": [
|
|
||||||
"nixvim",
|
|
||||||
"nixpkgs"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1763759067,
|
|
||||||
"narHash": "sha256-LlLt2Jo/gMNYAwOgdRQBrsRoOz7BPRkzvNaI/fzXi2Q=",
|
|
||||||
"owner": "hercules-ci",
|
|
||||||
"repo": "flake-parts",
|
|
||||||
"rev": "2cccadc7357c0ba201788ae99c4dfa90728ef5e0",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "hercules-ci",
|
|
||||||
"repo": "flake-parts",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"flake-parts_3": {
|
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs-lib": [
|
"nixpkgs-lib": [
|
||||||
"stylix",
|
"stylix",
|
||||||
@@ -206,38 +125,6 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"flake-schemas": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1721999734,
|
|
||||||
"narHash": "sha256-G5CxYeJVm4lcEtaO87LKzOsVnWeTcHGKbKxNamNWgOw=",
|
|
||||||
"rev": "0a5c42297d870156d9c57d8f99e476b738dcd982",
|
|
||||||
"revCount": 75,
|
|
||||||
"type": "tarball",
|
|
||||||
"url": "https://api.flakehub.com/f/pinned/DeterminateSystems/flake-schemas/0.1.5/0190ef2f-61e0-794b-ba14-e82f225e55e6/source.tar.gz"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"type": "tarball",
|
|
||||||
"url": "https://flakehub.com/f/DeterminateSystems/flake-schemas/%3D0.1.5.tar.gz"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"flake-utils": {
|
|
||||||
"inputs": {
|
|
||||||
"systems": "systems"
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1731533236,
|
|
||||||
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
|
|
||||||
"owner": "numtide",
|
|
||||||
"repo": "flake-utils",
|
|
||||||
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "numtide",
|
|
||||||
"repo": "flake-utils",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"fromYaml": {
|
"fromYaml": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
@@ -276,16 +163,15 @@
|
|||||||
"home-manager": {
|
"home-manager": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"chaotic",
|
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1764636297,
|
"lastModified": 1765980955,
|
||||||
"narHash": "sha256-S41K55kw+hWgDfgKmZ9/fMZ3F0BQDMvqFfE120fMHeE=",
|
"narHash": "sha256-rB45jv4uwC90vM9UZ70plfvY/2Kdygs+zlQ07dGQFk4=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "ff067cfc619fdf6f82d50344e7d19ff2323f0827",
|
"rev": "89c9508bbe9b40d36b3dc206c2483ef176f15173",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -294,150 +180,13 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"home-manager_2": {
|
|
||||||
"inputs": {
|
|
||||||
"nixpkgs": [
|
|
||||||
"nixpkgs"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1764788330,
|
|
||||||
"narHash": "sha256-hE/gXK+Z0j654T0tsW+KcndRqsgZXe8HyWchjBJgQpw=",
|
|
||||||
"owner": "nix-community",
|
|
||||||
"repo": "home-manager",
|
|
||||||
"rev": "fca4cba863e76c26cfe48e5903c2ff4bac2b2d5d",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "nix-community",
|
|
||||||
"repo": "home-manager",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"ixx": {
|
|
||||||
"inputs": {
|
|
||||||
"flake-utils": [
|
|
||||||
"nixvim",
|
|
||||||
"nuschtosSearch",
|
|
||||||
"flake-utils"
|
|
||||||
],
|
|
||||||
"nixpkgs": [
|
|
||||||
"nixvim",
|
|
||||||
"nuschtosSearch",
|
|
||||||
"nixpkgs"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1754860581,
|
|
||||||
"narHash": "sha256-EM0IE63OHxXCOpDHXaTyHIOk2cNvMCGPqLt/IdtVxgk=",
|
|
||||||
"owner": "NuschtOS",
|
|
||||||
"repo": "ixx",
|
|
||||||
"rev": "babfe85a876162c4acc9ab6fb4483df88fa1f281",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "NuschtOS",
|
|
||||||
"ref": "v0.1.1",
|
|
||||||
"repo": "ixx",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"jovian": {
|
|
||||||
"inputs": {
|
|
||||||
"nix-github-actions": "nix-github-actions",
|
|
||||||
"nixpkgs": [
|
|
||||||
"chaotic",
|
|
||||||
"nixpkgs"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1764655750,
|
|
||||||
"narHash": "sha256-tBrcUSu/47u+E+81SUVUpXrqhkcM3Xqg/4taWFI/99k=",
|
|
||||||
"owner": "Jovian-Experiments",
|
|
||||||
"repo": "Jovian-NixOS",
|
|
||||||
"rev": "1127a4fc66425cceae683becb93f038819cf2633",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "Jovian-Experiments",
|
|
||||||
"repo": "Jovian-NixOS",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nix-github-actions": {
|
|
||||||
"inputs": {
|
|
||||||
"nixpkgs": [
|
|
||||||
"chaotic",
|
|
||||||
"jovian",
|
|
||||||
"nixpkgs"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1729697500,
|
|
||||||
"narHash": "sha256-VFTWrbzDlZyFHHb1AlKRiD/qqCJIripXKiCSFS8fAOY=",
|
|
||||||
"owner": "zhaofengli",
|
|
||||||
"repo": "nix-github-actions",
|
|
||||||
"rev": "e418aeb728b6aa5ca8c5c71974e7159c2df1d8cf",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "zhaofengli",
|
|
||||||
"ref": "matrix-name",
|
|
||||||
"repo": "nix-github-actions",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1764517877,
|
"lastModified": 1765779637,
|
||||||
"narHash": "sha256-pp3uT4hHijIC8JUK5MEqeAWmParJrgBVzHLNfJDZxg4=",
|
"narHash": "sha256-KJ2wa/BLSrTqDjbfyNx70ov/HdgNBCBBSQP3BIzKnv4=",
|
||||||
"owner": "NixOS",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"rev": "2d293cbfa5a793b4c50d17c05ef9e385b90edf6c",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "NixOS",
|
|
||||||
"ref": "nixos-unstable",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nixpkgs-lib": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1738452942,
|
|
||||||
"narHash": "sha256-vJzFZGaCpnmo7I6i416HaBLpC+hvcURh/BQwROcGIp8=",
|
|
||||||
"type": "tarball",
|
|
||||||
"url": "https://github.com/NixOS/nixpkgs/archive/072a6db25e947df2f31aab9eccd0ab75d5b2da11.tar.gz"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"type": "tarball",
|
|
||||||
"url": "https://github.com/NixOS/nixpkgs/archive/072a6db25e947df2f31aab9eccd0ab75d5b2da11.tar.gz"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nixpkgs_2": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1739866667,
|
|
||||||
"narHash": "sha256-EO1ygNKZlsAC9avfcwHkKGMsmipUk1Uc0TbrEZpkn64=",
|
|
||||||
"owner": "NixOS",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"rev": "73cf49b8ad837ade2de76f87eb53fc85ed5d4680",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "NixOS",
|
|
||||||
"ref": "nixos-unstable",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nixpkgs_3": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1764667669,
|
|
||||||
"narHash": "sha256-7WUCZfmqLAssbDqwg9cUDAXrSoXN79eEEq17qhTNM/Y=",
|
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "418468ac9527e799809c900eda37cbff999199b6",
|
"rev": "1306659b587dc277866c7b69eb97e5f07864d8c4",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -447,45 +196,6 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs_4": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1764517877,
|
|
||||||
"narHash": "sha256-pp3uT4hHijIC8JUK5MEqeAWmParJrgBVzHLNfJDZxg4=",
|
|
||||||
"owner": "NixOS",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"rev": "2d293cbfa5a793b4c50d17c05ef9e385b90edf6c",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "NixOS",
|
|
||||||
"ref": "nixos-unstable",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nixvim": {
|
|
||||||
"inputs": {
|
|
||||||
"flake-parts": "flake-parts_2",
|
|
||||||
"nixpkgs": [
|
|
||||||
"nixpkgs"
|
|
||||||
],
|
|
||||||
"nuschtosSearch": "nuschtosSearch",
|
|
||||||
"systems": "systems_2"
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1764803799,
|
|
||||||
"narHash": "sha256-94SMf4Uw5iSoX37ui6LAdcadCUHUDfrvggGay0uWkis=",
|
|
||||||
"owner": "nix-community",
|
|
||||||
"repo": "nixvim",
|
|
||||||
"rev": "5d1c27e53c96e2c94e69f2e2d083ef147b3a3ccb",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "nix-community",
|
|
||||||
"repo": "nixvim",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nur": {
|
"nur": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-parts": [
|
"flake-parts": [
|
||||||
@@ -511,61 +221,14 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nuschtosSearch": {
|
|
||||||
"inputs": {
|
|
||||||
"flake-utils": "flake-utils",
|
|
||||||
"ixx": "ixx",
|
|
||||||
"nixpkgs": [
|
|
||||||
"nixvim",
|
|
||||||
"nixpkgs"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1761730856,
|
|
||||||
"narHash": "sha256-t1i5p/vSWwueZSC0Z2BImxx3BjoUDNKyC2mk24krcMY=",
|
|
||||||
"owner": "NuschtOS",
|
|
||||||
"repo": "search",
|
|
||||||
"rev": "e29de6db0cb3182e9aee75a3b1fd1919d995d85b",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "NuschtOS",
|
|
||||||
"repo": "search",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"chaotic": "chaotic",
|
|
||||||
"daeuniverse": "daeuniverse",
|
|
||||||
"disko": "disko",
|
"disko": "disko",
|
||||||
"home-manager": "home-manager_2",
|
"home-manager": "home-manager",
|
||||||
"nixpkgs": "nixpkgs_3",
|
"nixpkgs": "nixpkgs",
|
||||||
"nixvim": "nixvim",
|
|
||||||
"stylix": "stylix"
|
"stylix": "stylix"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"rust-overlay": {
|
|
||||||
"inputs": {
|
|
||||||
"nixpkgs": [
|
|
||||||
"chaotic",
|
|
||||||
"nixpkgs"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1764643237,
|
|
||||||
"narHash": "sha256-6Ezx9DqVv5UZ7DBK9rcNwBuQUENFyWPS7M09I+FvNao=",
|
|
||||||
"owner": "oxalica",
|
|
||||||
"repo": "rust-overlay",
|
|
||||||
"rev": "e66d6b924ac59e6c722f69332f6540ea57c69233",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "oxalica",
|
|
||||||
"repo": "rust-overlay",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"stylix": {
|
"stylix": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"base16": "base16",
|
"base16": "base16",
|
||||||
@@ -573,11 +236,13 @@
|
|||||||
"base16-helix": "base16-helix",
|
"base16-helix": "base16-helix",
|
||||||
"base16-vim": "base16-vim",
|
"base16-vim": "base16-vim",
|
||||||
"firefox-gnome-theme": "firefox-gnome-theme",
|
"firefox-gnome-theme": "firefox-gnome-theme",
|
||||||
"flake-parts": "flake-parts_3",
|
"flake-parts": "flake-parts",
|
||||||
"gnome-shell": "gnome-shell",
|
"gnome-shell": "gnome-shell",
|
||||||
"nixpkgs": "nixpkgs_4",
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
],
|
||||||
"nur": "nur",
|
"nur": "nur",
|
||||||
"systems": "systems_3",
|
"systems": "systems",
|
||||||
"tinted-foot": "tinted-foot",
|
"tinted-foot": "tinted-foot",
|
||||||
"tinted-kitty": "tinted-kitty",
|
"tinted-kitty": "tinted-kitty",
|
||||||
"tinted-schemes": "tinted-schemes",
|
"tinted-schemes": "tinted-schemes",
|
||||||
@@ -585,11 +250,11 @@
|
|||||||
"tinted-zed": "tinted-zed"
|
"tinted-zed": "tinted-zed"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1764798099,
|
"lastModified": 1765897595,
|
||||||
"narHash": "sha256-IIwR5ZWo7tjxjRpkz0tViF9KFbQ1YXs9Wkan46WQbfk=",
|
"narHash": "sha256-NgTRxiEC5y96zrhdBygnY+mSzk5FWMML39PcRGVJmxg=",
|
||||||
"owner": "danth",
|
"owner": "danth",
|
||||||
"repo": "stylix",
|
"repo": "stylix",
|
||||||
"rev": "4b9e0e7ba3cccb86fe2bf0f4a2dd18256bef1cc6",
|
"rev": "e6829552d4bb659ebab00f08c61d8c62754763f3",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -613,36 +278,6 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"systems_2": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1681028828,
|
|
||||||
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
|
||||||
"owner": "nix-systems",
|
|
||||||
"repo": "default",
|
|
||||||
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "nix-systems",
|
|
||||||
"repo": "default",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"systems_3": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1681028828,
|
|
||||||
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
|
||||||
"owner": "nix-systems",
|
|
||||||
"repo": "default",
|
|
||||||
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "nix-systems",
|
|
||||||
"repo": "default",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"tinted-foot": {
|
"tinted-foot": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
|
|||||||
@@ -2,15 +2,16 @@
|
|||||||
description = "🥶";
|
description = "🥶";
|
||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
chaotic.url = "github:chaotic-cx/nyx/nyxpkgs-unstable";
|
# chaotic.url = "github:chaotic-cx/nyx/nyxpkgs-unstable";
|
||||||
daeuniverse.url = "github:daeuniverse/flake.nix";
|
# daeuniverse.url = "github:daeuniverse/flake.nix";
|
||||||
disko.inputs.nixpkgs.follows = "nixpkgs";
|
disko.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
disko.url = "github:nix-community/disko";
|
disko.url = "github:nix-community/disko";
|
||||||
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
home-manager.url = "github:nix-community/home-manager";
|
home-manager.url = "github:nix-community/home-manager";
|
||||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||||
nixvim.inputs.nixpkgs.follows = "nixpkgs";
|
# nixvim.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
nixvim.url = "github:nix-community/nixvim";
|
# nixvim.url = "github:nix-community/nixvim";
|
||||||
|
stylix.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
stylix.url = "github:danth/stylix";
|
stylix.url = "github:danth/stylix";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -45,6 +45,7 @@
|
|||||||
python312Packages.python-lsp-server
|
python312Packages.python-lsp-server
|
||||||
|
|
||||||
#JS/TS/Web
|
#JS/TS/Web
|
||||||
|
biome
|
||||||
prettierd
|
prettierd
|
||||||
nodePackages.prettier
|
nodePackages.prettier
|
||||||
|
|
||||||
@@ -93,7 +94,6 @@
|
|||||||
which-key-nvim
|
which-key-nvim
|
||||||
fzf-lua
|
fzf-lua
|
||||||
snacks-nvim
|
snacks-nvim
|
||||||
markview-nvim
|
|
||||||
{
|
{
|
||||||
name = "lazydev.nvim";
|
name = "lazydev.nvim";
|
||||||
path = lazydev-nvim;
|
path = lazydev-nvim;
|
||||||
@@ -223,8 +223,6 @@
|
|||||||
yaml
|
yaml
|
||||||
toml
|
toml
|
||||||
dockerfile
|
dockerfile
|
||||||
markdown
|
|
||||||
markdown_inline
|
|
||||||
])).dependencies;
|
])).dependencies;
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
|
|||||||
@@ -9,36 +9,27 @@ local opts = { noremap = true, silent = true }
|
|||||||
map("n", "<C-Tab>", "<cmd>bnext<CR>", { desc = "Next buffer (like VSCode)" })
|
map("n", "<C-Tab>", "<cmd>bnext<CR>", { desc = "Next buffer (like VSCode)" })
|
||||||
map("n", "<C-S-Tab>", "<cmd>bprevious<CR>", { desc = "Previous buffer (like VSCode)" })
|
map("n", "<C-S-Tab>", "<cmd>bprevious<CR>", { desc = "Previous buffer (like VSCode)" })
|
||||||
|
|
||||||
-- === Close buffer like Ctrl + W in VSCode ===
|
-- === Vscode-like Close buffer navigation ===
|
||||||
vim.keymap.set("n", "<C-w>", "<cmd>BufferLinePickClose<CR>", { desc = "Close buffer (BufferLine)" })
|
vim.keymap.set("n", "<C-w>", function()
|
||||||
|
local current = vim.api.nvim_get_current_buf()
|
||||||
|
local buffers = vim.fn.getbufinfo({buflisted = 1})
|
||||||
|
|
||||||
vim.keymap.set("n", "<C-S-5>", function()
|
local next_buf = nil
|
||||||
if vim.bo.buftype == "terminal" then
|
for i, buf in ipairs(buffers) do
|
||||||
vim.cmd("vsplit | terminal")
|
if buf.bufnr == current then
|
||||||
else
|
next_buf = buffers[i + 1] or buffers[i - 1]
|
||||||
vim.cmd("botright split | terminal")
|
break
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end, { desc = "Split terminal" })
|
|
||||||
|
|
||||||
-- 在终端模式下的快捷键
|
if next_buf then
|
||||||
vim.keymap.set("t", "<C-h>", "<C-\\><C-n><C-w>h", { desc = "Go to left window" })
|
vim.api.nvim_set_current_buf(next_buf.bufnr)
|
||||||
vim.keymap.set("t", "<C-j>", "<C-\\><C-n><C-w>j", { desc = "Go to lower window" })
|
end
|
||||||
vim.keymap.set("t", "<C-k>", "<C-\\><C-n><C-w>k", { desc = "Go to upper window" })
|
|
||||||
vim.keymap.set("t", "<C-l>", "<C-\\><C-n><C-w>l", { desc = "Go to right window" })
|
|
||||||
|
|
||||||
|
vim.api.nvim_buf_delete(current, { force = true })
|
||||||
|
end, { desc = "Close current buffer like VSCode" })
|
||||||
|
|
||||||
|
-- XDG Open
|
||||||
vim.keymap.set("n", "<leader>xo", function()
|
vim.keymap.set("n", "<leader>xo", function()
|
||||||
vim.fn.jobstart({ "xdg-open", vim.fn.expand("%:p") }, { detach = true })
|
vim.fn.jobstart({ "xdg-open", vim.fn.expand("%:p") }, { detach = true })
|
||||||
end, { desc = "使用系统默认应用程序打开当前文件" })
|
end, { desc = "使用系统默认应用程序打开当前文件" })
|
||||||
|
|
||||||
-- === Markdown priview ===
|
|
||||||
vim.keymap.set("n", "<leader>mp", "<cmd>Markview<CR>", {
|
|
||||||
desc = "Toggle Markview Inline Preview",
|
|
||||||
})
|
|
||||||
-- 开启对比预览
|
|
||||||
vim.keymap.set("n", "<leader>mv", "<cmd>Markview splitToggle<CR>", {
|
|
||||||
desc = "Toggle Markview Split Preview",
|
|
||||||
})
|
|
||||||
-- 关闭对比预览
|
|
||||||
vim.keymap.set("n", "<leader>mc", "<cmd>Markview splitClose<CR>", {
|
|
||||||
desc = "Close Markview Split Preview",
|
|
||||||
})
|
|
||||||
|
|||||||
@@ -1,4 +1,16 @@
|
|||||||
-- Options are automatically loaded before lazy.nvim startup
|
-- Options are automatically loaded before lazy.nvim startup
|
||||||
-- Default options that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/options.lua
|
-- Default options that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/options.lua
|
||||||
-- Add any additional options here
|
-- Add any additional options here
|
||||||
|
|
||||||
|
-- Disable autoformat
|
||||||
vim.g.autoformat = false
|
vim.g.autoformat = false
|
||||||
|
-- Let terminal just one
|
||||||
|
vim.g.root_spec = { "cwd" }
|
||||||
|
-- Disable markdown views
|
||||||
|
vim.api.nvim_create_autocmd("FileType", {
|
||||||
|
pattern = "markdown",
|
||||||
|
callback = function()
|
||||||
|
vim.opt_local.conceallevel = 0
|
||||||
|
vim.opt_local.concealcursor = ""
|
||||||
|
end,
|
||||||
|
})
|
||||||
|
|||||||
28
home/nvim/lua/plugins/copilot.lua
Normal file
28
home/nvim/lua/plugins/copilot.lua
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
return {
|
||||||
|
{
|
||||||
|
"zbirenbaum/copilot.lua",
|
||||||
|
cmd = "Copilot",
|
||||||
|
event = "InsertEnter",
|
||||||
|
config = function()
|
||||||
|
require("copilot").setup({
|
||||||
|
suggestion = { enabled = true, auto_trigger = true },
|
||||||
|
})
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
"CopilotC-Nvim/CopilotChat.nvim",
|
||||||
|
branch = "main",
|
||||||
|
dependencies = {
|
||||||
|
{ "zbirenbaum/copilot.lua" },
|
||||||
|
{ "nvim-lua/plenary.nvim" },
|
||||||
|
},
|
||||||
|
opts = {
|
||||||
|
debug = false,
|
||||||
|
},
|
||||||
|
keys = {
|
||||||
|
{ "<leader>cc", "<cmd>CopilotChatToggle<cr>", desc = "CopilotChat - Toggle" },
|
||||||
|
{ "<leader>ce", "<cmd>CopilotChatExplain<cr>", mode = "v", desc = "CopilotChat - Explain code" },
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
@@ -34,11 +34,11 @@ return {
|
|||||||
-- Python
|
-- Python
|
||||||
opts.formatters_by_ft.python = { "black", "ruff_format" }
|
opts.formatters_by_ft.python = { "black", "ruff_format" }
|
||||||
-- JS/TS/Web
|
-- JS/TS/Web
|
||||||
opts.formatters_by_ft.javascript = { "prettierd" }
|
opts.formatters_by_ft.javascript = { "biome" }
|
||||||
opts.formatters_by_ft.typescript = { "prettierd" }
|
opts.formatters_by_ft.typescript = { "biome" }
|
||||||
opts.formatters_by_ft.javascriptreact = { "prettierd" }
|
opts.formatters_by_ft.javascriptreact = { "biome" }
|
||||||
opts.formatters_by_ft.typescriptreact = { "prettierd" }
|
opts.formatters_by_ft.typescriptreact = { "biome" }
|
||||||
opts.formatters_by_ft.vue = { "prettierd" }
|
opts.formatters_by_ft.vue = { "biome" }
|
||||||
-- JSON
|
-- JSON
|
||||||
opts.formatters_by_ft.json = { "jq" }
|
opts.formatters_by_ft.json = { "jq" }
|
||||||
-- YAML
|
-- YAML
|
||||||
|
|||||||
@@ -1,19 +0,0 @@
|
|||||||
return {
|
|
||||||
"OXY2DEV/markview.nvim",
|
|
||||||
name = "markview.nvim",
|
|
||||||
lazy = false,
|
|
||||||
dependencies = {
|
|
||||||
"nvim-treesitter/nvim-treesitter",
|
|
||||||
"nvim-tree/nvim-web-devicons",
|
|
||||||
},
|
|
||||||
config = function()
|
|
||||||
require("markview").setup({
|
|
||||||
markdown = { enable = true },
|
|
||||||
latex = {
|
|
||||||
enable = true,
|
|
||||||
inline = { enable = true },
|
|
||||||
block = { enable = true },
|
|
||||||
},
|
|
||||||
})
|
|
||||||
end,
|
|
||||||
}
|
|
||||||
@@ -6,7 +6,7 @@
|
|||||||
}: {
|
}: {
|
||||||
imports = with inputs; [
|
imports = with inputs; [
|
||||||
./${hostname}
|
./${hostname}
|
||||||
chaotic.nixosModules.default
|
# chaotic.nixosModules.default
|
||||||
disko.nixosModules.disko
|
disko.nixosModules.disko
|
||||||
stylix.nixosModules.stylix
|
stylix.nixosModules.stylix
|
||||||
home-manager.nixosModules.home-manager
|
home-manager.nixosModules.home-manager
|
||||||
|
|||||||
@@ -1,57 +1,65 @@
|
|||||||
{
|
{
|
||||||
# Specific Use Cases
|
# -------------------- Hardware --------------------
|
||||||
## Hardware related
|
# See: https://github.com/blueman-project/blueman
|
||||||
Bluetooth = true;
|
Bluetooth = true;
|
||||||
### See https://github.com/blueman-project/blueman
|
|
||||||
|
|
||||||
|
# See: https://nixos.wiki/wiki/AMD_GPU
|
||||||
GPU-AMD = true;
|
GPU-AMD = true;
|
||||||
### See https://nixos.wiki/wiki/AMD_GPU
|
|
||||||
|
|
||||||
SingBox = true;
|
# See: https://nixos.wiki/wiki/Nvidia
|
||||||
|
GPU-Nvidia = false;
|
||||||
|
|
||||||
Power-control = "TLP";
|
# See: https://nixos.wiki/wiki/Intel_Graphics
|
||||||
### Possible options: PPD ; TLP
|
GPU-Intel = false;
|
||||||
|
|
||||||
## Software related
|
# See: https://github.com/linrunner/TLP
|
||||||
QEMU-VM-Use-Case = true;
|
Power-control = "TLP"; ## Possible options: PPD ; TLP
|
||||||
### See https://github.com/qemu/qemu ; https://github.com/virt-manager/virt-manager
|
|
||||||
|
|
||||||
Database-Use-Case = true;
|
# -------------------- System --------------------
|
||||||
|
# See https://nixos.wiki/wiki/Bootloader
|
||||||
|
# See: https://search.nixos.org/options?show=boot.loader.grub.mirroredBoots
|
||||||
|
BootLoader = "systemd-boot"; ## Possible options: grub ; grub-mirror ; systemd-boot
|
||||||
|
|
||||||
# Options
|
# See: https://search.nixos.org/options?show=boot.kernelPackages
|
||||||
## System related
|
# See: https://www.nyx.chaotic.cx/#using-sched-ext-schedulers
|
||||||
BootLoader = "systemd-boot";
|
KernelPackages = "linuxPackages_zen";
|
||||||
### Possible options: grub ; grub-mirror ; systemd-boot # See https://nixos.wiki/wiki/Bootloader https://search.nixos.org/options?channel=unstable&from=0&size=50&sort=relevance&type=packages&query=mirroredBoots
|
|
||||||
|
|
||||||
KernelPackages = "linuxPackages_cachyos";
|
# See: https://mynixos.com/nixpkgs/option/system.stateVersion
|
||||||
### See https://search.nixos.org/options?show=boot.kernelPackages https://www.nyx.chaotic.cx/#using-sched-ext-schedulers
|
StateVersion = "26.05";
|
||||||
|
|
||||||
KeyboardLayout = "us";
|
|
||||||
### See https://en.wikipedia.org/wiki/Keyboard_layout
|
|
||||||
|
|
||||||
|
# See: https://docs.moodle.org/405/en/Table_of_locales
|
||||||
Locale = "en_US.UTF-8";
|
Locale = "en_US.UTF-8";
|
||||||
### See https://docs.moodle.org/405/en/Table_of_locales
|
|
||||||
|
|
||||||
StateVersion = "25.11";
|
# See: https://en.wikipedia.org/wiki/Keyboard_layout
|
||||||
### See https://mynixos.com/nixpkgs/option/system.stateVersion
|
KeyboardLayout = "us";
|
||||||
|
|
||||||
|
# See: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
|
||||||
TimeZone = "Asia/Singapore";
|
TimeZone = "Asia/Singapore";
|
||||||
### See https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
|
|
||||||
|
|
||||||
## Wayland related
|
# -------------------- Display --------------------
|
||||||
|
WM = "niri"; ## Options: "Hyprland" | "niri" | "sway"
|
||||||
|
|
||||||
|
# See: https://wiki.hyprland.org/Configuring/XWayland/#hidpi-xwayland
|
||||||
|
# See: https://github.com/swaywm/sway/wiki#hidpi
|
||||||
|
ScaleLevel = "1";
|
||||||
|
|
||||||
|
# See: https://github.com/swaywm/sway/wiki#display-configuration
|
||||||
|
OutputSettings = "output * scale 1";
|
||||||
|
|
||||||
|
# See: https://wiki.hyprland.org/Configuring/Monitors
|
||||||
MonitorSettings = "
|
MonitorSettings = "
|
||||||
monitor=eDP-1, 2560x1600@165, 0x0, 1.25
|
monitor=eDP-1, 2560x1600@165, 0x0, 1.25
|
||||||
monitor=DP-1, 2560x1440@144, 2560x0, 1.25
|
monitor=DP-1, 2560x1440@144, 2560x0, 1.25
|
||||||
";
|
";
|
||||||
### MonitorSettings For Hyprland See https://wiki.hyprland.org/Configuring/Monitors/
|
|
||||||
|
|
||||||
OutputSettings = "output * scale 1";
|
# -------------------- Software --------------------
|
||||||
### OutputSettings For sway See https://github.com/swaywm/sway/wiki#display-configuration
|
# See: https://sing-box.sagernet.org
|
||||||
|
SingBox = true;
|
||||||
|
|
||||||
ScaleLevel = "1";
|
# See: https://github.com/qemu/qemu
|
||||||
### For Hyprland see https://wiki.hyprland.org/Configuring/XWayland/#hidpi-xwayland
|
# See: https://github.com/virt-manager/virt-manager
|
||||||
### For sway see https://github.com/swaywm/sway/wiki#hidpi
|
QEMU-VM-Use-Case = true;
|
||||||
|
|
||||||
WM = "niri";
|
# See: https://github.com/dbeaver/dbeaver
|
||||||
### Possible options: Hyprland ; niri ; sway
|
Database-Use-Case = true;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
boot.extraModulePackages = [ ];
|
boot.extraModulePackages = [ ];
|
||||||
|
|
||||||
fileSystems."/" =
|
fileSystems."/" =
|
||||||
{ device = "/dev/disk/by-uuid/67e9d418-8f31-4af7-9178-ae9641099844";
|
{ device = "/dev/mapper/luks-6647cbcd-ed3a-4205-9a2c-78e337e2f3bf";
|
||||||
fsType = "xfs";
|
fsType = "xfs";
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -28,13 +28,6 @@
|
|||||||
|
|
||||||
swapDevices = [ ];
|
swapDevices = [ ];
|
||||||
|
|
||||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
|
||||||
# (the default) this is the recommended approach. When using systemd-networkd it's
|
|
||||||
# still possible to use this option, but it's recommended to use it in conjunction
|
|
||||||
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
|
|
||||||
networking.useDHCP = lib.mkDefault true;
|
|
||||||
# networking.interfaces.wlp2s0.useDHCP = lib.mkDefault true;
|
|
||||||
|
|
||||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||||
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,63 +1,62 @@
|
|||||||
{
|
{
|
||||||
# Specific Use Cases
|
# -------------------- Hardware --------------------
|
||||||
## Hardware related
|
# See: https://github.com/blueman-project/blueman
|
||||||
Bluetooth = false;
|
Bluetooth = false;
|
||||||
### See https://github.com/blueman-project/blueman
|
|
||||||
|
|
||||||
|
# See: https://nixos.wiki/wiki/AMD_GPU
|
||||||
GPU-AMD = false;
|
GPU-AMD = false;
|
||||||
### See https://nixos.wiki/wiki/AMD_GPU
|
|
||||||
|
|
||||||
|
# See: https://nixos.wiki/wiki/Nvidia
|
||||||
GPU-Nvidia = false;
|
GPU-Nvidia = false;
|
||||||
### See https://nixos.wiki/wiki/Nvidia
|
|
||||||
|
|
||||||
|
# See: https://nixos.wiki/wiki/Intel_Graphics
|
||||||
GPU-Intel = false;
|
GPU-Intel = false;
|
||||||
### See https://nixos.wiki/wiki/Intel_Graphics
|
|
||||||
|
|
||||||
HotSpot-Use-Case = false;
|
# See: https://github.com/linrunner/TLP
|
||||||
### See https://nixos.wiki/wiki/Internet_Connection_Sharing
|
Power-control = "PPD"; ## Possible options: PPD ; TLP
|
||||||
|
|
||||||
|
# -------------------- System --------------------
|
||||||
|
# See https://nixos.wiki/wiki/Bootloader
|
||||||
|
# See: https://search.nixos.org/options?show=boot.loader.grub.mirroredBoots
|
||||||
|
BootLoader = "systemd-boot"; ## Possible options: grub ; grub-mirror ; systemd-boot
|
||||||
|
|
||||||
|
# See: https://search.nixos.org/options?show=boot.kernelPackages
|
||||||
|
# See: https://www.nyx.chaotic.cx/#using-sched-ext-schedulers
|
||||||
|
KernelPackages = "linuxPackages_zen";
|
||||||
|
|
||||||
|
# See: https://mynixos.com/nixpkgs/option/system.stateVersion
|
||||||
|
StateVersion = "26.05";
|
||||||
|
|
||||||
|
# See: https://docs.moodle.org/405/en/Table_of_locales
|
||||||
|
Locale = "en_US.UTF-8";
|
||||||
|
|
||||||
|
# See: https://en.wikipedia.org/wiki/Keyboard_layout
|
||||||
|
KeyboardLayout = "us";
|
||||||
|
|
||||||
|
# See: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
|
||||||
|
TimeZone = "Asia/Singapore";
|
||||||
|
|
||||||
|
# -------------------- Display --------------------
|
||||||
|
WM = "Hyprland"; ## Options: "Hyprland" | "niri" | "sway"
|
||||||
|
|
||||||
|
# See: https://wiki.hyprland.org/Configuring/XWayland/#hidpi-xwayland
|
||||||
|
# See: https://github.com/swaywm/sway/wiki#hidpi
|
||||||
|
ScaleLevel = "1";
|
||||||
|
|
||||||
|
# See: https://github.com/swaywm/sway/wiki#display-configuration
|
||||||
|
OutputSettings = "output * scale 1";
|
||||||
|
|
||||||
|
# See: https://wiki.hyprland.org/Configuring/Monitors
|
||||||
|
MonitorSettings = "monitor = , preferred, auto, auto";
|
||||||
|
|
||||||
|
# -------------------- Software --------------------
|
||||||
|
# See: https://sing-box.sagernet.org
|
||||||
SingBox = true;
|
SingBox = true;
|
||||||
|
|
||||||
Power control = "PPD";
|
# See: https://github.com/qemu/qemu
|
||||||
### Possible options: PPD ; TLP
|
# See: https://github.com/virt-manager/virt-manager
|
||||||
|
|
||||||
## Software related
|
|
||||||
QEMU-VM-Use-Case = false;
|
QEMU-VM-Use-Case = false;
|
||||||
### See https://github.com/qemu/qemu ; https://github.com/virt-manager/virt-manager
|
|
||||||
|
|
||||||
|
# See: https://github.com/dbeaver/dbeaver
|
||||||
Database-Use-Case = true;
|
Database-Use-Case = true;
|
||||||
|
|
||||||
# Options
|
|
||||||
## System related
|
|
||||||
BootLoader = "systemd-boot";
|
|
||||||
### Possible options: grub ; grub-mirror ; systemd-boot # See https://nixos.wiki/wiki/Bootloader https://search.nixos.org/options?channel=unstable&from=0&size=50&sort=relevance&type=packages&query=mirroredBoots
|
|
||||||
|
|
||||||
KernelPackages = "linuxPackages_cachyos";
|
|
||||||
### See https://search.nixos.org/options?show=boot.kernelPackages https://www.nyx.chaotic.cx/#using-sched-ext-schedulers
|
|
||||||
|
|
||||||
KeyboardLayout = "us";
|
|
||||||
### See https://en.wikipedia.org/wiki/Keyboard_layout
|
|
||||||
|
|
||||||
Locale = "en_US.UTF-8";
|
|
||||||
### See https://docs.moodle.org/405/en/Table_of_locales
|
|
||||||
|
|
||||||
StateVersion = "25.11";
|
|
||||||
### See https://mynixos.com/nixpkgs/option/system.stateVersion
|
|
||||||
|
|
||||||
TimeZone = "Asia/Singapore";
|
|
||||||
### See https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
|
|
||||||
|
|
||||||
## Wayland related
|
|
||||||
MonitorSettings = "monitor = , preferred, auto, auto";
|
|
||||||
### MonitorSettings For Hyprland See https://wiki.hyprland.org/Configuring/Monitors/
|
|
||||||
|
|
||||||
OutputSettings = "output * scale 1";
|
|
||||||
### OutputSettings For sway See https://github.com/swaywm/sway/wiki#display-configuration
|
|
||||||
|
|
||||||
ScaleLevel = "1";
|
|
||||||
### For Hyprland see https://wiki.hyprland.org/Configuring/XWayland/#hidpi-xwayland
|
|
||||||
### For sway see https://github.com/swaywm/sway/wiki#hidpi
|
|
||||||
|
|
||||||
WM = "Hyprland";
|
|
||||||
### Possible options: Hyprland ; niri ; sway
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -9,9 +9,12 @@ in
|
|||||||
package = pkgs.mysql84;
|
package = pkgs.mysql84;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
systemd.services.mysql = {
|
||||||
|
wantedBy = lib.mkForce [ ];
|
||||||
|
};
|
||||||
|
|
||||||
environment.systemPackages = [
|
environment.systemPackages = [
|
||||||
pkgs.dbeaver-bin
|
pkgs.dbeaver-bin
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -144,7 +144,6 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
system = {
|
system = {
|
||||||
rebuild.enableNg = true;
|
|
||||||
stateVersion = StateVersion;
|
stateVersion = StateVersion;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -90,7 +90,7 @@ in {
|
|||||||
jdk17
|
jdk17
|
||||||
python312
|
python312
|
||||||
pnpm
|
pnpm
|
||||||
nodejs_20
|
nodejs_24
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -31,13 +31,13 @@ with lib; {
|
|||||||
substituters = [
|
substituters = [
|
||||||
"https://cache.garnix.io" # See https://github.com/daeuniverse/flake.nix
|
"https://cache.garnix.io" # See https://github.com/daeuniverse/flake.nix
|
||||||
"https://cache.nixos.org" # See https://nixos.wiki/wiki/Binary_Cache
|
"https://cache.nixos.org" # See https://nixos.wiki/wiki/Binary_Cache
|
||||||
"https://chaotic-nyx.cachix.org" # See https://github.com/chaotic-cx/nyx
|
# "https://chaotic-nyx.cachix.org" # See https://github.com/chaotic-cx/nyx
|
||||||
"https://nix-community.cachix.org" # See https://nix-community.org/cache/
|
"https://nix-community.cachix.org" # See https://nix-community.org/cache/
|
||||||
];
|
];
|
||||||
trusted-public-keys = [
|
trusted-public-keys = [
|
||||||
"cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g="
|
"cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g="
|
||||||
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
|
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
|
||||||
"chaotic-nyx.cachix.org-1:HfnXSw4pj95iI/n17rIDy40agHj12WfF+Gqk6SonIT8="
|
# "chaotic-nyx.cachix.org-1:HfnXSw4pj95iI/n17rIDy40agHj12WfF+Gqk6SonIT8="
|
||||||
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
||||||
];
|
];
|
||||||
warn-dirty = false;
|
warn-dirty = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user