diff --git a/features/caches/default.nix b/features/caches/default.nix new file mode 100644 index 0000000..d5ee813 --- /dev/null +++ b/features/caches/default.nix @@ -0,0 +1,5 @@ +{ pkgs, ... }: { + imports = [ + ./iohk.nix + ]; +} diff --git a/features/caches/iohk.nix b/features/caches/iohk.nix new file mode 100644 index 0000000..c245d0c --- /dev/null +++ b/features/caches/iohk.nix @@ -0,0 +1,8 @@ +{ pkgs, ... }: { + nix.binaryCachePublicKeys = [ + "hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ=" + ]; + nix.binaryCaches = [ + "https://hydra.iohk.io" + ]; +} diff --git a/flake.nix b/flake.nix index c7e40f9..39ad1fc 100644 --- a/flake.nix +++ b/flake.nix @@ -28,6 +28,7 @@ # Features common to all of my machines ./features/self-ide.nix + ./features/caches ./features/current-location.nix ./features/passwordstore.nix ./features/syncthing.nix diff --git a/hosts/p71.nix b/hosts/p71.nix index 3059187..1c19e37 100644 --- a/hosts/p71.nix +++ b/hosts/p71.nix @@ -59,17 +59,17 @@ # enable = true; # videoDrivers = [ "nvidia" "intel" ]; #}; - - # Enable the GNOME 3 Desktop Environment. #services.xserver.displayManager.gdm.enable = true; #services.xserver.desktopManager.gnome3.enable = true; + services.openssh.enable = true; services.ipfs.enable = true; + services.netdata.enable = true; # Define a user account. Don't forget to set a password with ‘passwd’. users.users.srid = { isNormalUser = true; - extraGroups = [ "wheel" "networkmanager" ]; + extraGroups = [ "wheel" "networkmanager" ]; }; # List packages installed in system profile. To search, run: @@ -82,7 +82,7 @@ google-chrome htop mpv - nodejs-12_x # Need this node https://nixos.wiki/wiki/Vscode + nodejs-12_x # Need this for https://nixos.wiki/wiki/Vscode obsidian psmisc ripgrep