Clean up a bit
This commit is contained in:
+6
-46
@@ -4,7 +4,7 @@
|
||||
|
||||
{ config, pkgs, ... }:
|
||||
let
|
||||
# custom packages
|
||||
# Custom packages
|
||||
nodeinfo = (import pkgs/nodeinfo.nix);
|
||||
lightning-charge = import pkgs/lightning-charge.nix { inherit pkgs; };
|
||||
nanopos = import pkgs/nanopos.nix { inherit pkgs; };
|
||||
@@ -16,21 +16,16 @@ in {
|
||||
./modules/nixbitcoin.nix
|
||||
];
|
||||
|
||||
# turn off binary cache by passing the empty list
|
||||
#nix.binaryCaches = [];
|
||||
# turn off binary cache by setting binaryCaches to empty list
|
||||
# nix.binaryCaches = [];
|
||||
|
||||
networking.hostName = "nix-bitcoin"; # Define your hostname.
|
||||
time.timeZone = "UTC";
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
vim tmux clightning bitcoin
|
||||
nodeinfo
|
||||
jq
|
||||
lightning-charge.package
|
||||
nanopos.package
|
||||
nodejs-8_x
|
||||
nginx
|
||||
vim tmux
|
||||
];
|
||||
|
||||
nixpkgs.config.packageOverrides = pkgs: {
|
||||
inherit nodeinfo;
|
||||
inherit lightning-charge;
|
||||
@@ -38,45 +33,10 @@ in {
|
||||
};
|
||||
|
||||
services.openssh.enable = true;
|
||||
|
||||
# users.users.root = {
|
||||
# openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILacgZRwLsiICNHGHY2TG2APeuxFsrw6Cg13ZTMQpNqA nickler@rick" ];
|
||||
# };
|
||||
|
||||
# networking.firewall.allowedUDPPorts = [ ... ];
|
||||
networking.firewall.enable = true;
|
||||
networking.firewall.allowedTCPPorts = [ ];
|
||||
|
||||
#services.bitcoin.proxy = services.tor.client.socksListenAddress;
|
||||
services.nixbitcoin.enable = true;
|
||||
|
||||
# Configure network proxy if necessary
|
||||
# networking.proxy.default = "http://user:password@proxy:port/";
|
||||
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
|
||||
|
||||
# Select internationalisation properties.
|
||||
# i18n = {
|
||||
# consoleFont = "Lat2-Terminus16";
|
||||
# consoleKeyMap = "us";
|
||||
# defaultLocale = "en_US.UTF-8";
|
||||
# };
|
||||
|
||||
|
||||
# List packages installed in system profile. To search, run:
|
||||
# $ nix search wget
|
||||
|
||||
# Some programs need SUID wrappers, can be configured further or are
|
||||
# started in user sessions.
|
||||
# programs.mtr.enable = true;
|
||||
# programs.gnupg.agent = { enable = true; enableSSHSupport = true; };
|
||||
|
||||
# List services that you want to enable:
|
||||
|
||||
|
||||
# Open ports in the firewall.
|
||||
# Or disable the firewall altogether.
|
||||
|
||||
# This value determines the NixOS release with which your system is to be
|
||||
# This value determines the NixOS release with which your system is to be
|
||||
# compatible, in order to avoid breaking some software such as database
|
||||
# servers. You should change this only after NixOS release notes say you
|
||||
# should.
|
||||
|
||||
Reference in New Issue
Block a user