Skip to content

Commit

Permalink
fix(hosts/nas/default.nix): Comment out broken auto-upgrade.nix due t…
Browse files Browse the repository at this point in the history
…o git-secrets issue

Commenting out the auto-upgrade.nix import due to a git-secrets issue. This prevents the build from breaking.

fix(hosts/nas/hardware-configuration.nix): Add comment to revisit ksm.enable due to br0 not coming up

Added a comment to revisit enabling 'ksm' (kernel same-page merging) as 'br0' did not come up last time it was tried.
  • Loading branch information
billimek committed Mar 6, 2024
1 parent cf6cdc5 commit e13232d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hosts/nas/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
./hardware-configuration.nix
./networking.nix
../common/nixos
../common/nixos/auto-upgrade.nix
# this breaks because of git-secrets
#../common/nixos/auto-upgrade.nix
../common/nixos/users/nix
../common/optional/avahi.nix
../common/optional/fish.nix
Expand Down
3 changes: 3 additions & 0 deletions hosts/nas/hardware-configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
timeout = 10;
};

# TODO: revisit this; last time I tried this, br0 didn't come up
#hardware.ksm.enable = true; # enable kernel same-page merging

fileSystems."/" = {
device = "/dev/disk/by-label/nixos";
fsType = "ext4";
Expand Down

0 comments on commit e13232d

Please sign in to comment.