mirror of
https://github.com/srid/nixos-config.git
synced 2026-01-25 01:07:15 +08:00
Add iohk cache
This commit is contained in:
parent
4fee321752
commit
8a6e6b3f6f
4 changed files with 18 additions and 4 deletions
5
features/caches/default.nix
Normal file
5
features/caches/default.nix
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{ pkgs, ... }: {
|
||||
imports = [
|
||||
./iohk.nix
|
||||
];
|
||||
}
|
||||
8
features/caches/iohk.nix
Normal file
8
features/caches/iohk.nix
Normal file
|
|
@ -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"
|
||||
];
|
||||
}
|
||||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue