Skip to content

Commit

Permalink
feat: updated system
Browse files Browse the repository at this point in the history
  • Loading branch information
standard3 committed Mar 12, 2024
1 parent 62ca7ca commit 3d052f7
Show file tree
Hide file tree
Showing 2 changed files with 129 additions and 61 deletions.
175 changes: 120 additions & 55 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 9 additions & 6 deletions hosts/common/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
allowUnfree = true;
allowUnfreePredicate = _: true;
# enableParallelBuildingByDefault = true; # oh my god

# Temporary patch for CVE-2024-27297
permittedInsecurePackages = [ "nix-2.15.3" ];
};
};

Expand All @@ -22,14 +25,14 @@

# This will additionally add your inputs to the system's legacy channels
# Making legacy nix commands consistent as well, awesome!
nix.nixPath = ["/etc/nix/path"];
nix.nixPath = [ "/etc/nix/path" ];
environment.etc =
lib.mapAttrs'
(name: value: {
name = "nix/path/${name}";
value.source = value.flake;
})
config.nix.registry;
(name: value: {
name = "nix/path/${name}";
value.source = value.flake;
})
config.nix.registry;

nix.settings = {
# Enable flakes and new 'nix' command
Expand Down

0 comments on commit 3d052f7

Please sign in to comment.