Compare commits

..

3 commits

Author SHA1 Message Date
s0me1newithhand7s
804a660827 big staging update pt.2
Signed-off-by: s0me1newithhand7s <git+me@hand7s.org>
2025-12-29 22:48:21 +03:00
s0me1newithhand7s
2939b08891 big staging update
Signed-off-by: s0me1newithhand7s <git+me@hand7s.org>
2025-12-29 16:42:07 +03:00
s0me1newithhand7s
0bf4c9cfca flake.lock: Update
Flake lock file updates:

• Updated input 'ayugram-desktop':
    'github:ndfined-crp/ayugram-desktop/8ef41c9c9f5d5329a7bff71c709880ab26238d52?narHash=sha256-6/o3/R/QzqQSxWiekcTvJmf2d9UdULrVL%2BIuLELXR1E%3D' (2025-12-07)
  → 'github:ndfined-crp/ayugram-desktop/5d5fa3d7791821cc5f46c8cde7fc89a378126caa?narHash=sha256-t3ftHtsgAStn4hrihg3/dduLJHhA%2B0TJ4t7%2BeF6t3UI%3D' (2025-12-28)
• Updated input 'ayugram-desktop/flake-parts':
    'github:hercules-ci/flake-parts/2cccadc7357c0ba201788ae99c4dfa90728ef5e0?narHash=sha256-LlLt2Jo/gMNYAwOgdRQBrsRoOz7BPRkzvNaI/fzXi2Q%3D' (2025-11-21)
  → 'github:hercules-ci/flake-parts/a34fae9c08a15ad73f295041fec82323541400a9?narHash=sha256-XswHlK/Qtjasvhd1nOa1e8MgZ8GS//jBoTqWtrS1Giw%3D' (2025-12-15)
• Updated input 'ayugram-desktop/flake-parts/nixpkgs-lib':
    'github:nix-community/nixpkgs.lib/719359f4562934ae99f5443f20aa06c2ffff91fc?narHash=sha256-b0yj6kfvO8ApcSE%2BQmA6mUfu8IYG6/uU28OFn4PaC8M%3D' (2025-10-29)
  → 'github:nix-community/nixpkgs.lib/2075416fcb47225d9b68ac469a5c4801a9c4dd85?narHash=sha256-k00uTP4JNfmejrCLJOwdObYC9jHRrr/5M/a/8L2EIdo%3D' (2025-12-14)
• Updated input 'ayugram-desktop/nixpkgs':
    'github:nixos/nixpkgs/f61125a668a320878494449750330ca58b78c557?narHash=sha256-BmPWzogsG2GsXZtlT%2BMTcAWeDK5hkbGRZTeZNW42fwA%3D' (2025-12-05)
  → 'github:nixos/nixpkgs/3e2499d5539c16d0d173ba53552a4ff8547f4539?narHash=sha256-QEhk0eXgyIqTpJ/ehZKg9IKS7EtlWxF3N7DXy42zPfU%3D' (2025-12-25)
• Updated input 'deploy-rs':
    'github:serokell/deploy-rs/9c870f63e28ec1e83305f7f6cb73c941e699f74f?narHash=sha256-9I2H9x5We6Pl%2BDBYHjR1s3UT8wgwcpAH03kn9CqtdQc%3D' (2025-11-04)
  → 'github:serokell/deploy-rs/d5eff7f948535b9c723d60cd8239f8f11ddc90fa?narHash=sha256-znKOwPXQnt3o7lDb3hdf19oDo0BLP4MfBOYiWkEHoik%3D' (2025-12-18)
• Updated input 'disko':
    'github:nix-community/disko/d64e5cdca35b5fad7c504f615357a7afe6d9c49e?narHash=sha256-fTLX9kDwLr9Y0rH/nG%2Bh1XG5UU%2BjBcy0PFYn5eneRX8%3D' (2025-12-10)
  → 'github:nix-community/disko/916506443ecd0d0b4a0f4cf9d40a3c22ce39b378?narHash=sha256-P0kM%2B5o%2BDKnB6raXgFEk3azw8Wqg5FL6wyl9jD%2BG5a4%3D' (2025-12-19)
• Updated input 'flake-parts':
    'github:hercules-ci/flake-parts/5635c32d666a59ec9a55cab87e898889869f7b71?narHash=sha256-MhA7wmo/7uogLxiewwRRmIax70g6q1U/YemqTGoFHlM%3D' (2025-12-11)
  → 'github:hercules-ci/flake-parts/a34fae9c08a15ad73f295041fec82323541400a9?narHash=sha256-XswHlK/Qtjasvhd1nOa1e8MgZ8GS//jBoTqWtrS1Giw%3D' (2025-12-15)
• Updated input 'flake-parts/nixpkgs-lib':
    'github:nix-community/nixpkgs.lib/719359f4562934ae99f5443f20aa06c2ffff91fc?narHash=sha256-b0yj6kfvO8ApcSE%2BQmA6mUfu8IYG6/uU28OFn4PaC8M%3D' (2025-10-29)
  → 'github:nix-community/nixpkgs.lib/2075416fcb47225d9b68ac469a5c4801a9c4dd85?narHash=sha256-k00uTP4JNfmejrCLJOwdObYC9jHRrr/5M/a/8L2EIdo%3D' (2025-12-14)
• Updated input 'freesm':
    'github:freesmteam/freesmlauncher/927f8da082b24f8f2f393bf0d78f23f152979729?narHash=sha256-bh20vq7SlX2du9i6g5VTVEgKf5EeJaCj46b84Z5AHhQ%3D' (2025-12-07)
  → 'github:freesmteam/freesmlauncher/8437e33318adf0d1c13a0f00b5865c4a2d45d273?narHash=sha256-ou/w74yGjLwCyyC3au8H6AHzXNIGfS6UYwTcgHk2jlA%3D' (2025-12-28)
• Updated input 'freesm/flake-compat':
    'github:edolstra/flake-compat/3b279e4317ccfa4865356387935310531357d919?narHash=sha256-DhsrZsMebdvpjZC2EzPsqiLGI84tD7kZz7zc6tTCmqg%3D' (2025-12-02)
  → 'github:edolstra/flake-compat/f275e157c50c3a9a682b4c9b4aa4db7a4cd3b5f2?narHash=sha256-QN1r/zNqvXHwWqlRAnRtFf4CQwIOJx58PtdExIzAw94%3D' (2025-12-25)
• Updated input 'freesm/nixpkgs':
    'github:NixOS/nixpkgs/f61125a668a320878494449750330ca58b78c557?narHash=sha256-BmPWzogsG2GsXZtlT%2BMTcAWeDK5hkbGRZTeZNW42fwA%3D' (2025-12-05)
  → 'github:NixOS/nixpkgs/3e2499d5539c16d0d173ba53552a4ff8547f4539?narHash=sha256-QEhk0eXgyIqTpJ/ehZKg9IKS7EtlWxF3N7DXy42zPfU%3D' (2025-12-25)
• Updated input 'home-manager':
    'github:nix-community/home-manager/d787ec69c3216ea33be1c0424fe65cb23aa8fb31?narHash=sha256-KOP4QnkiRwiD5KEOr6ceF67rfTP1OqPmCCft6xDC3k4%3D' (2025-12-13)
  → 'github:nix-community/home-manager/7a7b43c7231a439d248179ba8d561dd6cd81799b?narHash=sha256-oegDNAvyQwaG3GqSi4U5jpKM7SYHGESGVIuKMRV/lbw%3D' (2025-12-29)
• Updated input 'homebrew-cask':
    'github:homebrew/homebrew-cask/6768ffffa9d06cfce4ac1962b677920334ef9bd5?narHash=sha256-kUidvdq9hR06mhpHekT4b5An6abmrN/FqiHmqQOjQfc%3D' (2025-12-14)
  → 'github:homebrew/homebrew-cask/c1cd7a67e525f5d899fd7b6331962c7d89bce5b4?narHash=sha256-AE9W5hVXt173hrxRe7PPflBFKO91F/ECXxvJLGhqamE%3D' (2025-12-29)
• Updated input 'homebrew-core':
    'github:homebrew/homebrew-core/54db75e2e4a85b855007c2156878170959b938d9?narHash=sha256-uwVMR3rfG8W9AIXoj/MXXD7SG/mFq/62J5Tt/Dn4gMc%3D' (2025-12-14)
  → 'github:homebrew/homebrew-core/013afd0970597dd92bb2862b2ef887ef983df546?narHash=sha256-wHXQgi4PKfE0L4hX%2BSeNbSL9K5dVRviiFSL4NvAvRMA%3D' (2025-12-29)
• Updated input 'hyprland':
    'github:hyprwm/Hyprland/09e195d1f293a876ce21a077af3d7c5047881b79?narHash=sha256-hZ6klhLeWe%2B/S%2BLZlp49xf7qlmYMs1n/23krK3JkESY%3D' (2025-12-13)
  → 'github:hyprwm/Hyprland/6a055fc747a5a899b97f9b4c1d1a52229a805b1e?narHash=sha256-mGk%2Bmk/miObjivy%2B6qMqQm%2BJyl8R7t6B/1SaiBkUUyY%3D' (2025-12-28)
• Updated input 'hyprland/aquamarine':
    'github:hyprwm/aquamarine/a43bedcceced5c21ad36578ed823e6099af78214?narHash=sha256-AjcMlM3UoavFoLzr0YrcvsIxALShjyvwe%2Bo7ikibpCM%3D' (2025-12-02)
  → 'github:hyprwm/aquamarine/d83c97f8f5c0aae553c1489c7d9eff3eadcadace?narHash=sha256-%2Bhn8v9jkkLP9m%2Bo0Nm5SiEq10W0iWDSotH2XfjU45fA%3D' (2025-12-16)
• Updated input 'hyprland/hyprland-guiutils':
    'github:hyprwm/hyprland-guiutils/fd321368a40c782cfa299991e5584ca338e36ebe?narHash=sha256-1bK1yGgaR82vajUrt6z%2BBSljQvFn91D74WJ/vJsydtE%3D' (2025-12-04)
  → 'github:hyprwm/hyprland-guiutils/e50ae912813bdfa8372d62daf454f48d6df02297?narHash=sha256-CCGohW5EBIRy4B7vTyBMqPgsNcaNenVad/wszfddET0%3D' (2025-12-13)
• Updated input 'hyprland/hyprland-protocols':
    'github:hyprwm/hyprland-protocols/bd153e76f751f150a09328dbdeb5e4fab9d23622?narHash=sha256-%2BKEVnKBe8wz%2Ba6dTLq8YDcF3UrhQElwsYJaVaHXJtoI%3D' (2025-10-04)
  → 'github:hyprwm/hyprland-protocols/3f3860b869014c00e8b9e0528c7b4ddc335c21ab?narHash=sha256-P9zdGXOzToJJgu5sVjv7oeOGPIIwrd9hAUAP3PsmBBs%3D' (2025-12-08)
• Updated input 'hyprland/hyprutils':
    'github:hyprwm/hyprutils/fe686486ac867a1a24f99c753bb40ffed338e4b0?narHash=sha256-rGbEMhTTyTzw4iyz45lch5kXseqnqcEpmrHdy%2BzHsfo%3D' (2025-12-05)
  → 'github:hyprwm/hyprutils/5ac060bfcf2f12b3a6381156ebbc13826a05b09f?narHash=sha256-roINUGikWRqqgKrD4iotKbGj3ZKJl3hjMz5l/SyKrHw%3D' (2025-12-19)
• Updated input 'hyprland/hyprwire':
    'github:hyprwm/hyprwire/7997451dcaab7b9d9d442f18985d514ec5891608?narHash=sha256-INI9AVrQG5nJZFvGPSiUZ9FEUZJLfGdsqjF1QSak7Gc%3D' (2025-12-04)
  → 'github:hyprwm/hyprwire/1079777525b30a947c8d657fac158e00ae85de9d?narHash=sha256-26qPwrd3od%2BxoYVywSB7hC2cz9ivN46VPLlrsXyGxvE%3D' (2025-12-20)
• Updated input 'hyprland/nixpkgs':
    'github:NixOS/nixpkgs/f61125a668a320878494449750330ca58b78c557?narHash=sha256-BmPWzogsG2GsXZtlT%2BMTcAWeDK5hkbGRZTeZNW42fwA%3D' (2025-12-05)
  → 'github:NixOS/nixpkgs/c6245e83d836d0433170a16eb185cefe0572f8b8?narHash=sha256-G/WVghka6c4bAzMhTwT2vjLccg/awmHkdKSd2JrycLc%3D' (2025-12-18)
• Updated input 'hyprland/pre-commit-hooks':
    'github:cachix/git-hooks.nix/548fc44fca28a5e81c5d6b846e555e6b9c2a5a3c?narHash=sha256-rhSqPNxDVow7OQKi4qS5H8Au0P4S3AYbawBSmJNUtBQ%3D' (2025-12-06)
  → 'github:cachix/git-hooks.nix/b68b780b69702a090c8bb1b973bab13756cc7a27?narHash=sha256-t3T/xm8zstHRLx%2BpIHxVpQTiySbKqcQbK%2Br%2B01XVKc0%3D' (2025-12-16)
• Updated input 'nix-darwin':
    'github:LnL7/nix-darwin/7e22bf538aa3e0937effcb1cee73d5f1bcc26f79?narHash=sha256-b7W9WsvyMOkUScNxbzS45KEJp0iiqRPyJ1I3JBE%2BoEE%3D' (2025-12-06)
  → 'github:LnL7/nix-darwin/f0c8e1f6feb562b5db09cee9fb566a2f989e6b55?narHash=sha256-rIlgatT0JtwxsEpzq%2BUrrIJCRfVAXgbYPzose1DmAcM%3D' (2025-12-26)
• Updated input 'nixos-anywhere':
    'github:nix-community/nixos-anywhere/bad98b0685cf47eaeadcaf6787da8b51cf025693?narHash=sha256-61zO8zsFE8C104hCTv04z6a4H8U03OEMrRAXtGsszkE%3D' (2025-11-13)
  → 'github:nix-community/nixos-anywhere/e86fad431cf9161ca39747972bd255897572dc3b?narHash=sha256-DdJ0OIngRjekqXJauSQ8y9vyDO24dX8v7DiaWmxk7PU%3D' (2025-12-23)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/2fbfb1d73d239d2402a8fe03963e37aab15abe8b?narHash=sha256-9VvC20PJPsleGMewwcWYKGzDIyjckEz8uWmT0vCDYK0%3D' (2025-12-11)
  → 'github:nixos/nixpkgs/c0b0e0fddf73fd517c3471e546c0df87a42d53f4?narHash=sha256-coBu0ONtFzlwwVBzmjacUQwj3G%2BlybcZ1oeNSQkgC0M%3D' (2025-12-28)
• Updated input 'noctalia':
    'github:noctalia-dev/noctalia-shell/7d795256de6dbe7b4044161af2b6002421bdb188?narHash=sha256-GSa/jaWld%2BWKxt39DDBPoX1j%2BkCdNmFF9stTWbeVhp8%3D' (2025-12-14)
  → 'github:noctalia-dev/noctalia-shell/fb6f2259cb49c7533b834676530570e54e06facb?narHash=sha256-fvrQP91KneK1Zigm5kLl46V1Zpwqu88hSl9aDybq5dk%3D' (2025-12-29)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/496a6f625f63b780ce849891868f2fad22fd49c6?narHash=sha256-Ii16Nq5jL2wURXpV3D3tOM3vPpbKh18roHLkyZCHK4Q%3D' (2025-12-12)
  → 'github:Mic92/sops-nix/61b39c7b657081c2adc91b75dd3ad8a91d6f07a7?narHash=sha256-pn8AxxfajqyR/Dmr1wnZYdUXHgM3u6z9x0Z1Ijmz2UQ%3D' (2025-12-28)
• Updated input 'sops-nix/nixpkgs':
    'github:NixOS/nixpkgs/a672be65651c80d3f592a89b3945466584a22069?narHash=sha256-EYHSjVM4Ox4lvCXUMiKKs2vETUSL5mx%2BJ2FfutM7T9w%3D' (2025-12-05)
  → 'github:NixOS/nixpkgs/3edc4a30ed3903fdf6f90c837f961fa6b49582d1?narHash=sha256-Ss/LHpJJsng8vz1Pe33RSGIWUOcqM1fjrehjUkdrWio%3D' (2025-12-27)
• Updated input 'spicetify-nix':
    'github:Gerg-L/spicetify-nix/ac4927ea1ec7e7ea3635a1d8b933106a596c4356?narHash=sha256-EcefoixU9ht%2BP6QB/TfjLY9E3MdJVfeSec6G8Ges0pA%3D' (2025-12-07)
  → 'github:Gerg-L/spicetify-nix/6b49c4094e93629af2fcf789e0897450f57e2551?narHash=sha256-oKp9luuuXuMoUwpGUKUdt0G7lZGovcyOEI3guG0rNCw%3D' (2025-12-28)
• Updated input 'stylix':
    'github:nix-community/stylix/dd14de4432a94e93e10d0159f1d411487e435e1e?narHash=sha256-sDG%2Bc73xEnIw1pFNRWffKDnTWiTuyZiEP%2BIub0D3mWA%3D' (2025-12-11)
  → 'github:nix-community/stylix/551df12ee3ebac52c5712058bd97fd9faa4c3430?narHash=sha256-J2DDdRqSU4w9NNgkMfmMeaLIof5PXtS9RG7y6ckDvQE%3D' (2025-12-24)
• Updated input 'stylix/base16-fish':
    'github:tomyun/base16-fish/23ae20a0093dca0d7b39d76ba2401af0ccf9c561?narHash=sha256-l9xHIy%2B85FN%2BbEo6yquq2IjD1rSg9fjfjpyGP1W8YXo%3D' (2025-08-05)
  → 'github:tomyun/base16-fish/86cbea4dca62e08fb7fd83a70e96472f92574782?narHash=sha256-XCUQLoLfBJ8saWms2HCIj4NEN%2BxNsWBlU1NrEPcQG4s%3D' (2025-12-15)
• Updated input 'system-manager':
    'github:numtide/system-manager/a015a476120dc741200213ac8dd1556fc25bac9e?narHash=sha256-PJX/Zrmi29lWkznqQS1BnqgBqSBG%2BJnpp%2BkRSWri41M%3D' (2025-12-12)
  → 'github:numtide/system-manager/bd3e4193c2bde18329e314b896b8e0ac8e17debd?narHash=sha256-qFKkS3kz8gzQ1hjFeXYINOOGNHeYSmsa5Nj1Xs4rAec%3D' (2025-12-17)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/5b4ee75aeefd1e2d5a1cc43cf6ba65eba75e83e4?narHash=sha256-AlEObg0syDl%2BSpi4LsZIBrjw%2BsnSVU4T8MOeuZJUJjM%3D' (2025-11-12)
  → 'github:numtide/treefmt-nix/42d96e75aa56a3f70cab7e7dc4a32868db28e8fd?narHash=sha256-%2BcqN4PJz9y0JQXfAK5J1drd0U05D5fcAGhzhfVrDlsI%3D' (2025-12-17)
2025-12-29 16:32:00 +03:00
325 changed files with 7512 additions and 6974 deletions

1
.pre-commit-config.yaml Symbolic link
View file

@ -0,0 +1 @@
/nix/store/0nibh6zrkxhh7qc1q6kkq5810iqd0059-pre-commit-config.json

796
flake.lock generated

File diff suppressed because it is too large Load diff

222
flake.nix
View file

@ -44,6 +44,13 @@
repo = "deploy-rs";
};
devenv = {
flake = true;
type = "github";
owner = "cachix";
repo = "devenv";
};
devshell = {
flake = true;
type = "github";
@ -78,6 +85,13 @@
repo = "freesmlauncher";
};
git-hooks-nix = {
flake = true;
type = "github";
owner = "cachix";
repo = "git-hooks.nix";
};
home-manager = {
flake = true;
type = "github";
@ -197,6 +211,13 @@
repo = "nixos-anywhere";
};
nixos-cli = {
flake = true;
type = "github";
owner = "nix-community";
repo = "nixos-cli";
};
nixos-generators = {
flake = true;
type = "github";
@ -210,6 +231,14 @@
};
};
nixos-wsl = {
flake = true;
type = "github";
owner = "nix-community";
repo = "nixos-wsl";
ref = "main";
};
nixpkgs = {
flake = true;
type = "github";
@ -238,7 +267,7 @@
quickshell = {
flake = true;
type = "git";
url = "https://git.outfoxxed.me/outfoxxed/quickshell";
url = "https://git.outfoxxed.me/quickshell/quickshell";
inputs = {
nixpkgs = {
@ -300,32 +329,17 @@
owner = "nix-community";
repo = "nixos-vscode-server";
};
zen-browser = {
flake = true;
type = "github";
owner = "youwen5";
repo = "zen-browser-flake";
inputs = {
nixpkgs = {
follows = "nixpkgs";
};
};
};
};
outputs = inputs @ {
flake-parts,
self,
...
}:
flake-parts.lib.mkFlake {
outputs = inputs @ {self, ...}:
inputs.flake-parts.lib.mkFlake {
inherit
inputs
self
;
} {
debug = false;
systems = [
"x86_64-linux"
"aarch64-linux"
@ -333,16 +347,24 @@
imports = [
# modules
inputs.agenix-rekey.flakeModule
inputs.disko.flakeModules.default
inputs.devshell.flakeModule
inputs.treefmt-nix.flakeModule
inputs.home-manager.flakeModules.home-manager
inputs.git-hooks-nix.flakeModule
inputs.devenv.flakeModule
# i can't really deside between devenv, devshells and devShells they are equally good for me
# for now, at least, i'm using numtide/devshells
];
flake = {
# home-manager, sorta broken when standalone
homeConfigurations = {
"hand7s" = inputs.home-manager.lib.homeManagerConfiguration {
pkgs = inputs.nixpkgs.legacyPackages.x86_64-linux;
extraSpecialArgs = {
osConfig.networking.hostName = "";
inherit
inputs
self
@ -358,10 +380,12 @@
inputs.nix-index-database.homeModules.nix-index
inputs.noctalia.homeModules.default
inputs.stylix.homeModules.stylix
];
};
};
# nixos hosts
nixosConfigurations = {
"s0mePC-nix" = inputs.nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
@ -445,48 +469,7 @@
};
};
nixOnDroidConfigurations = {
n0thing-3a = inputs.nix-on-droid.lib.nixOnDroidConfiguration {
pkgs = import inputs.nixpkgs {
system = "aarch64-linux";
overlays = [
inputs.nix-on-droid.overlays.default
];
};
extraSpecialArgs = {
inherit
inputs
self
;
};
modules = [
inputs.home-manager.nixOnDroidModules.default
];
};
};
systemConfigs = {
s0mePC = inputs.system-manager.lib.makeSystemConfig {
extraSpecialArgs = {
inherit
inputs
self
;
};
modules = [
# "${self}/s0mePC/"
inputs.home-manager.nixosModules.default
{
nixpkgs.hostPlatform = "x86_64-linux";
}
];
};
};
# deploy-rs
deploy = {
user = "hand7s";
interactiveSudo = true;
@ -500,7 +483,17 @@
nodes = {
"s0mev1rtn0de-nix" = {
hostname = "90.156.226.152";
hostname = "100.109.213.170";
profiles = {
main = {
path = inputs.deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.s0mev1rtn0de-nix;
profilePath = "/nix/var/nix/profiles/system";
};
};
};
"s0meMiniPC-nix" = {
hostname = "100.109.71.194";
profiles = {
main = {
path = inputs.deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.s0mev1rtn0de-nix;
@ -512,13 +505,25 @@
};
};
perSystem = {...}: {
perSystem = {
config,
pkgs,
...
}: {
# numtide/treefmt-nix, treefmt integrated into nix
treefmt = {
flakeFormatter = true;
flakeCheck = false;
enableDefaultExcludes = true;
flakeCheck = true;
programs = {
alejandra = {
enable = true;
priority = 1;
includes = [
"*.nix"
];
};
statix = {
enable = true;
priority = 1;
@ -533,7 +538,7 @@
deadnix = {
enable = true;
priority = 2;
priority = 1;
includes = [
"*.nix"
];
@ -542,7 +547,7 @@
settings = {
global = {
on-unmatched = "fatal";
on-unmatched = "warn";
excludes = [
"secrets/*"
".sops.yaml"
@ -551,6 +556,87 @@
};
};
};
# cachix/git-hooks-nix, pre-commit-hooks integrated into nix
pre-commit = {
check = {
enable = true;
};
settings = {
enable = true;
package = pkgs.prek;
gitPackage = pkgs.git;
hooks = {
alejandra = {
enable = true;
settings = {
check = true;
};
};
deadnix = {
enable = true;
settings = {
edit = false;
};
};
statix = {
enable = true;
settings = {
config = "${pkgs.writeText ''statix.toml'' ''
disabled = [
"empty_pattern"
]
''}";
};
};
};
};
};
# numtide/devshells, basically a devShells but better
devshells = {
"default" = {
name = "default";
commands = [
{
name = "pre";
category = "[tools]";
command = "prek run -a";
help = ''
pre-commit-hook is a tool to execute linters / formatters before `git commit` to verify that code is meeting standarts of code setted up in projects;
'';
}
{
name = "fmt";
category = "[formatters]";
command = "nix fmt";
help = ''
nix fmt is built-in formatting solution for nix pacakage manager;
'';
}
];
devshell = {
startup = {
"git-hooks-nix" = {
text = config.pre-commit.shellHook;
};
};
};
packages = with pkgs;
[
just
]
++ config.pre-commit.settings.enabledPackages;
};
};
};
};
}

View file

@ -5,7 +5,8 @@
}: {
home = {
gui = {
enable = lib.mkIf (
enable =
lib.mkIf (
osConfig.networking.hostName == "s0mePC-nix" || osConfig.networking.hostName == "s0melapt0p-nix"
)
true;

View file

@ -5,7 +5,8 @@
}: {
programs = {
hyprlock = {
enable = lib.mkIf (
enable =
lib.mkIf (
config.home.gui.sessionType == "Hyprland"
)
true;

View file

@ -6,7 +6,8 @@
}: {
programs = {
obs-studio = {
enable = lib.mkIf (
enable =
lib.mkIf (
config.home.gui.sessionType == "Hyprland"
)
true;

View file

@ -5,7 +5,8 @@
}: {
programs = {
swaylock = {
enable = lib.mkIf (
enable =
lib.mkIf (
config.home.gui.sessionType == "Sway"
)
true;

View file

@ -6,7 +6,8 @@
}: {
services = {
hypridle = {
enable = lib.mkIf (
enable =
lib.mkIf (
config.home.gui.sessionType == "Hyprland"
)
true;

View file

@ -6,7 +6,8 @@
}: {
services = {
swayidle = {
enable = lib.mkIf (
enable =
lib.mkIf (
config.home.gui.sessionType == "Sway"
)
true;

View file

@ -8,7 +8,8 @@
wayland = {
windowManager = {
hyprland = {
enable = lib.mkIf (
enable =
lib.mkIf (
config.home.gui.sessionType == "Hyprland"
)
true;

View file

@ -7,7 +7,8 @@
wayland = {
windowManager = {
river = {
enable = lib.mkIf (
enable =
lib.mkIf (
config.home.gui.sessionType == "River"
)
true;

View file

@ -7,7 +7,8 @@
wayland = {
windowManager = {
sway = {
enable = lib.mkIf (
enable =
lib.mkIf (
config.home.gui.sessionType == "Sway"
)
true;

View file

@ -1,77 +1,77 @@
{self, ...}: {
imports = [
./disko/disk.nix
./disko/lvm_vg.nix
"${self}/s0melapt0p-nix/disko/disk.nix"
"${self}/s0melapt0p-nix/disko/lvm_vg.nix"
./boot/loader/systemd-boot.nix
./boot/lanzaboote.nix
./boot/initrd.nix
./boot/kernel.nix
./boot/plymouth.nix
./boot/tmp.nix
"${self}/s0melapt0p-nix/boot/loader/system-boot.nix"
"${self}/s0melapt0p-nix/boot/lanzaboote.nix"
"${self}/s0melapt0p-nix/boot/initrd.nix"
"${self}/s0melapt0p-nix/boot/kernel.nix"
"${self}/s0melapt0p-nix/boot/plymouth.nix"
"${self}/s0melapt0p-nix/boot/tmp.nix"
./console/console.nix
"${self}/s0melapt0p-nix/console/console.nix"
./environment/systemPackages.nix
./environment/variables.nix
"${self}/s0melapt0p-nix/environment/systemPackages.nix"
"${self}/s0melapt0p-nix/environment/variables.nix"
./hardware/cpu.nix
./hardware/graphics.nix
./hardware/qmk.nix
./hardware/zram.nix
"${self}/s0melapt0p-nix/hardware/cpu.nix"
"${self}/s0melapt0p-nix/hardware/graphics.nix"
"${self}/s0melapt0p-nix/hardware/qmk.nix"
"${self}/s0melapt0p-nix/hardware/zram.nix"
./home-manager/users.nix
"${self}/s0melapt0p-nix/home-manager/users.nix"
./i18n/locales.nix
"${self}/s0melapt0p-nix/i18n/locales.nix"
./networking/dhcp.nix
./networking/firewall.nix
./networking/hostname.nix
./networking/networkmanager.nix
./networking/wireguard.nix
./networking/nameservers.nix
./networking/hosts.nix
./networking/hostId.nix
"${self}/s0melapt0p-nix/networking/dhcp.nix"
"${self}/s0melapt0p-nix/networking/firewall.nix"
"${self}/s0melapt0p-nix/networking/hostname.nix"
"${self}/s0melapt0p-nix/networking/networkmanager.nix"
"${self}/s0melapt0p-nix/networking/wireguard.nix"
"${self}/s0melapt0p-nix/networking/nameservers.nix"
"${self}/s0melapt0p-nix/networking/hosts.nix"
"${self}/s0melapt0p-nix/networking/hostId.nix"
./nix/package.nix
./nix/settings/allowed-users.nix
./nix/settings/experimental-features.nix
./nix/settings/substituters.nix
./nix/settings/trusted-public-keys.nix
./nix/settings/trusted-users.nix
"${self}/s0melapt0p-nix/nix/package.nix"
"${self}/s0melapt0p-nix/nix/settings/allowed-users.nix"
"${self}/s0melapt0p-nix/nix/settings/experimental-features.nix"
"${self}/s0melapt0p-nix/nix/settings/substituters.nix"
"${self}/s0melapt0p-nix/nix/settings/trusted-public-keys.nix"
"${self}/s0melapt0p-nix/nix/settings/trusted-users.nix"
./nixpkgs/config.nix
./nixpkgs/system.nix
"${self}/s0melapt0p-nix/nixpkgs/config.nix"
"${self}/s0melapt0p-nix/nixpkgs/system.nix"
./programs/gamemode.nix
./programs/nh.nix
./programs/steam.nix
./programs/ssh.nix
./programs/yubikey-touch-detector.nix
"${self}/s0melapt0p-nix/programs/gamemode.nix"
"${self}/s0melapt0p-nix/programs/nh.nix"
"${self}/s0melapt0p-nix/programs/steam.nix"
"${self}/s0melapt0p-nix/programs/ssh.nix"
"${self}/s0melapt0p-nix/programs/yubikey-touch-detector.nix"
./security/polkit.nix
./security/rtkit.nix
./security/sudo.nix
./security/sudo-rs.nix
./security/pam/services.nix
"${self}/s0melapt0p-nix/security/polkit.nix"
"${self}/s0melapt0p-nix/security/rtkit.nix"
"${self}/s0melapt0p-nix/security/sudo.nix"
"${self}/s0melapt0p-nix/security/sudo-rs.nix"
"${self}/s0melapt0p-nix/security/pam/services.nix"
./services/fprintd.nix
./services/greetd.nix
./services/libinput.nix
./services/openssh.nix
./services/pipewire.nix
./services/qmk.nix
./services/thinkfan.nix
./services/usbmuxd.nix
./services/xserver.nix
./services/zapret.nix
./services/zerotier.nix
./services/yggdrasil.nix
./services/netbird.nix
./services/yubikey-agent.nix
"${self}/s0melapt0p-nix/services/fprintd.nix"
"${self}/s0melapt0p-nix/services/greetd.nix"
"${self}/s0melapt0p-nix/services/libinput.nix"
"${self}/s0melapt0p-nix/services/openssh.nix"
"${self}/s0melapt0p-nix/services/pipewire.nix"
"${self}/s0melapt0p-nix/services/qmk.nix"
"${self}/s0melapt0p-nix/services/thinkfan.nix"
"${self}/s0melapt0p-nix/services/usbmuxd.nix"
"${self}/s0melapt0p-nix/services/xserver.nix"
"${self}/s0melapt0p-nix/services/zapret.nix"
"${self}/s0melapt0p-nix/services/zerotier.nix"
"${self}/s0melapt0p-nix/services/yggdrasil.nix"
"${self}/s0melapt0p-nix/services/netbird.nix"
"${self}/s0melapt0p-nix/services/yubikey-agent.nix"
./sops/defaults.nix
./sops/secrets.nix
"${self}/s0melapt0p-nix/sops/defaults.nix"
"${self}/s0melapt0p-nix/sops/secrets.nix"
"${self}/hand7s/stylix/base16Scheme.nix"
"${self}/hand7s/stylix/cursor.nix"
@ -79,21 +79,21 @@
"${self}/hand7s/stylix/fonts.nix"
"${self}/hand7s/stylix/image.nix"
./system/name.nix
./system/stateVersion.nix
"${self}/s0melapt0p-nix/system/name.nix"
"${self}/s0melapt0p-nix/system/stateVersion.nix"
./systemd/oomd.nix
"${self}/s0melapt0p-nix/systemd/oomd.nix"
./time/timeZone.nix
"${self}/s0melapt0p-nix/time/timeZone.nix"
./users/users/hand7s.nix
./users/users/root.nix
./users/mutableUsers.nix
"${self}/s0melapt0p-nix/users/users/hand7s.nix"
"${self}/s0melapt0p-nix/users/users/root.nix"
"${self}/s0melapt0p-nix/users/mutableUsers.nix"
./virtualisation/docker.nix
"${self}/s0melapt0p-nix/virtualisation/docker.nix"
./xdg/icons.nix
./xdg/mime.nix
./xdg/portal.nix
"${self}/s0melapt0p-nix/xdg/icons.nix"
"${self}/s0melapt0p-nix/xdg/mime.nix"
"${self}/s0melapt0p-nix/xdg/portal.nix"
];
}

View file

@ -1,58 +1,58 @@
{...}: {
imports = [
./disko/disk.nix
./disko/lvm_vg.nix
"${self}/s0mev1rtn0de/disko/disk.nix"
"${self}/s0mev1rtn0de/disko/lvm_vg.nix"
./boot/initrd/availableKernelModules.nix
./boot/initrd/kernelModules.nix
./boot/loader/grub.nix
./boot/kernel.nix
./boot/tmp.nix
"${self}/s0mev1rtn0de/boot/initrd/availableKernelModules.nix"
"${self}/s0mev1rtn0de/boot/initrd/kernelModules.nix"
"${self}/s0mev1rtn0de/boot/loader/grub.nix"
"${self}/s0mev1rtn0de/boot/kernel.nix"
"${self}/s0mev1rtn0de/boot/tmp.nix"
./environment/systemPackages.nix
"${self}/s0mev1rtn0de/environment/systemPackages.nix"
./hardware/zram.nix
"${self}/s0mev1rtn0de/hardware/zram.nix"
./networking/firewall/ens3.nix
./networking/firewall/wt0.nix
./networking/firewall.nix
./networking/hostname.nix
./networking/dns.nix
./networking/nftables.nix
./networking/wireguard.nix
./networking/wg-quick.nix
./networking/nat.nix
"${self}/s0mev1rtn0de/networking/firewall/ens3.nix"
"${self}/s0mev1rtn0de/networking/firewall/wt0.nix"
"${self}/s0mev1rtn0de/networking/firewall.nix"
"${self}/s0mev1rtn0de/networking/hostname.nix"
"${self}/s0mev1rtn0de/networking/dns.nix"
"${self}/s0mev1rtn0de/networking/nftables.nix"
"${self}/s0mev1rtn0de/networking/wireguard.nix"
"${self}/s0mev1rtn0de/networking/wg-quick.nix"
"${self}/s0mev1rtn0de/networking/nat.nix"
./nix/settings/allowed-users.nix
./nix/settings/experimental-features.nix
./nix/settings/substituters.nix
./nix/settings/trusted-public-keys.nix
./nix/settings/trusted-users.nix
./nix/settings/auto-optimise-store.nix
"${self}/s0mev1rtn0de/nix/settings/allowed-users.nix"
"${self}/s0mev1rtn0de/nix/settings/experimental-features.nix"
"${self}/s0mev1rtn0de/nix/settings/substituters.nix"
"${self}/s0mev1rtn0de/nix/settings/trusted-public-keys.nix"
"${self}/s0mev1rtn0de/nix/settings/trusted-users.nix"
"${self}/s0mev1rtn0de/nix/settings/auto-optimise-store.nix"
./nixpkgs/config.nix
./nixpkgs/platform.nix
"${self}/s0mev1rtn0de/nixpkgs/config.nix"
"${self}/s0mev1rtn0de/nixpkgs/platform.nix"
./programs/nh.nix
"${self}/s0mev1rtn0de/programs/nh.nix"
./services/openssh.nix
./services/fail2ban.nix
./services/netbird.nix
./services/qemuGuest.nix
./services/caddy.nix
./services/sing-box.nix
"${self}/s0mev1rtn0de/services/openssh.nix"
"${self}/s0mev1rtn0de/services/fail2ban.nix"
"${self}/s0mev1rtn0de/services/netbird.nix"
"${self}/s0mev1rtn0de/services/qemuGuest.nix"
"${self}/s0mev1rtn0de/services/caddy.nix"
"${self}/s0mev1rtn0de/services/sing-box.nix"
./sops/age.nix
./sops/defaults.nix
./sops/secrets.nix
"${self}/s0mev1rtn0de/sops/age.nix"
"${self}/s0mev1rtn0de/sops/defaults.nix"
"${self}/s0mev1rtn0de/sops/secrets.nix"
./system/stateVersion.nix
"${self}/s0mev1rtn0de/system/stateVersion.nix"
./users/users.nix
./users/users/askhat.nix
./users/users/hand7s.nix
./users/users/root.nix
"${self}/s0mev1rtn0de/users/users.nix"
"${self}/s0mev1rtn0de/users/users/askhat.nix"
"${self}/s0mev1rtn0de/users/users/hand7s.nix"
"${self}/s0mev1rtn0de/users/users/root.nix"
./virtualisation/docker.nix
"${self}/s0mev1rtn0de/virtualisation/docker.nix"
];
}