mirror of
https://github.com/Smaug123/nix-dotfiles
synced 2025-10-11 01:18:39 +00:00
Fix up gmp properly
This commit is contained in:
@@ -2,12 +2,6 @@
|
||||
|
||||
let python = import ./python.nix { inherit pkgs; }; in
|
||||
|
||||
let gmp =
|
||||
if pkgs.stdenv.isDarwin then
|
||||
import ./gmp.nix { inherit pkgs; }
|
||||
else pkgs.gmp
|
||||
; in
|
||||
|
||||
{
|
||||
|
||||
nix.useDaemon = true;
|
||||
@@ -26,7 +20,6 @@ let gmp =
|
||||
pkgs.rustup
|
||||
pkgs.libiconv
|
||||
pkgs.clang
|
||||
#gmp
|
||||
#pkgs.keepassxc
|
||||
python
|
||||
];
|
||||
@@ -50,12 +43,13 @@ let gmp =
|
||||
|
||||
# Auto upgrade nix package and the daemon service.
|
||||
services.nix-daemon.enable = true;
|
||||
nix.package = pkgs.nix;
|
||||
nix.package = pkgs.nixFlakes;
|
||||
nix.gc.automatic = true;
|
||||
nix.useSandbox = true;
|
||||
|
||||
nix.extraOptions = ''
|
||||
auto-optimise-store = true
|
||||
experimental-features = nix-command flakes
|
||||
'';
|
||||
|
||||
# Used for backwards compatibility, please read the changelog before changing.
|
||||
|
Reference in New Issue
Block a user