-
Notifications
You must be signed in to change notification settings - Fork 0
feat(hm): add syncthing service and enhance nix config #1259
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
1eca583
d4c10b1
369f483
bc51637
5b40a31
1953f99
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| [ | ||
| ./nix.nix | ||
| ] |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,37 @@ | ||
| { | ||
| lib, | ||
| pkgs, | ||
| inputs, | ||
| ... | ||
| }: | ||
| { | ||
| nix = { | ||
| package = lib.mkDefault pkgs.lixPackageSets.latest.lix; | ||
| enable = true; | ||
| registry.nixpkgs.flake = inputs.nixpkgs; | ||
| settings = { | ||
| experimental-features = [ | ||
| "nix-command" | ||
| "flakes" | ||
| ]; | ||
| use-xdg-base-directories = true; | ||
| substituters = [ | ||
| "https://cache.nixos.org" | ||
| "https://cache.garnix.io" | ||
| "https://cloudtide.cachix.org" | ||
| "https://nix-community.cachix.org" | ||
| "https://yazi.cachix.org" | ||
| ]; | ||
| trusted-public-keys = [ | ||
| "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=" | ||
| "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" | ||
| "cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g=" | ||
| "cloudtide.cachix.org-1:9NZ1Mah2+u8cd/CmVffFV23z5uFNpZSrhfgTt5fuN/4=" | ||
| "yazi.cachix.org-1:Dcdz63NZKfvUCbDGngQDAZq6kOroIrFoyO064uvLh8k=" | ||
| ]; | ||
| }; | ||
| gc = { | ||
| automatic = true; | ||
| }; | ||
| }; | ||
| } |
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
@@ -336,20 +336,19 @@ inputs.nixpkgs.lib.nixosSystem { | |||||||
| zlib | ||||||||
| ]; | ||||||||
|
|
||||||||
| # Nix settings | ||||||||
| # NixOS-level nix settings (complements home-manager nix/) | ||||||||
|
||||||||
| # NixOS-level nix settings (complements home-manager nix/) | |
| # NixOS-level nix settings (complements home-manager/nix) |
Copilot
AI
Mar 23, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
experimental-features (flakes + nix-command) was removed from this host’s NixOS nix.settings. Other NixOS configs in this repo still explicitly set these (e.g. hosts/nixos/default.nix), and without them nixos-rebuild --flake / flake-based nix commands can fail depending on the Nix version. Consider restoring nix.settings.experimental-features = [ "nix-command" "flakes" ]; here (or explicitly switching the system nix.package to one where flakes are enabled by default).
| nix-path = lib.mkForce "nixpkgs=/etc/nix/inputs/nixpkgs"; | |
| nix-path = lib.mkForce "nixpkgs=/etc/nix/inputs/nixpkgs"; | |
| experimental-features = [ "nix-command" "flakes" ]; |
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
P2: Battery detection checks for “any offline AC input” instead of “no AC input online,” which can trigger battery-only lock behavior while plugged in on multi-input systems.
Prompt for AI agents