Things
- lockfile updated - Working with Hydra - Emacs packages - Workaround for nix/git
This commit is contained in:
parent
28f14cab2e
commit
3411b09ab0
5 changed files with 36 additions and 7 deletions
|
@ -130,7 +130,6 @@
|
|||
|
||||
transmission = {
|
||||
enable = true;
|
||||
port = 9091;
|
||||
# the following json is merged to this attrset, it must have `rpc-username` and `rpc-password`
|
||||
credentialsFile = "/mnt/archivio/transmission/credentials.json";
|
||||
settings = {
|
||||
|
@ -138,6 +137,7 @@
|
|||
incomplete-dir = "/mnt/archivio/transmission/.incomplete";
|
||||
incomplete-dir-enabled = true;
|
||||
|
||||
rpc-port = 9091;
|
||||
rpc-whitelist-enabled = false;
|
||||
rpc-host-whitelist-enabled = false;
|
||||
rpc-authentication-required = true;
|
||||
|
@ -268,7 +268,7 @@
|
|||
ydnsUpdater = pkgs.writeScriptBin "ydnsUpdater" ''
|
||||
#!${pkgs.stdenv.shell}
|
||||
USER="andrea.ciceri@autistici.org"
|
||||
PASSWORD=$(${pkgs.stdenv}/bin/cat /home/ccr/.ydns-password)
|
||||
PASSWORD=$(cat /home/ccr/.ydns-password)
|
||||
DOMAIN="ccr.ydns.eu"
|
||||
|
||||
for SUBDOMAIN in "books" "music" "sync" "torrent" "gate" "cam"
|
||||
|
|
|
@ -68,11 +68,22 @@
|
|||
};
|
||||
|
||||
systemd.services.nix-daemon.serviceConfig = {
|
||||
LimitNOFILE = lib.mkForce 131072; # should help with fds errors due to experimental feature `ca-derivations`
|
||||
LimitNOFILE = lib.mkForce "Infinity"; # 131072; # should help with fds errors due to experimental feature `ca-derivations`
|
||||
};
|
||||
|
||||
networking.firewall = {
|
||||
enable = true;
|
||||
allowPing = true;
|
||||
};
|
||||
|
||||
|
||||
services.hydra = {
|
||||
enable = true;
|
||||
hydraURL = "http://localhost:3000"; # externally visible URL
|
||||
notificationSender = "hydra@localhost"; # e-mail of hydra service
|
||||
# a standalone hydra will require you to unset the buildMachinesFiles list to avoid using a nonexistant /etc/nix/machines
|
||||
buildMachinesFiles = [ ];
|
||||
# you will probably also want, otherwise *everything* will be built from scratch
|
||||
useSubstitutes = true;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -9,6 +9,12 @@ emacsWithPackages (
|
|||
) ++ (
|
||||
with epkgs.melpaPackages; [
|
||||
aggressive-indent
|
||||
pkgs.emacs28Packages.tree-sitter-langs
|
||||
tree-sitter
|
||||
# ts-fold
|
||||
tree-edit
|
||||
evil-tree-edit
|
||||
pkgs.emacs28Packages.tsc
|
||||
all-the-icons
|
||||
company
|
||||
company-nixos-options
|
||||
|
|
|
@ -8,27 +8,28 @@ in
|
|||
environment = {
|
||||
|
||||
systemPackages = with pkgs; [
|
||||
#skim
|
||||
bat
|
||||
bat-extras.batman
|
||||
binutils
|
||||
bottom
|
||||
coreutils
|
||||
curl
|
||||
dnsutils
|
||||
dosfstools
|
||||
fd
|
||||
git
|
||||
htop
|
||||
glances
|
||||
bottom
|
||||
gptfdisk
|
||||
htop
|
||||
iputils
|
||||
jq
|
||||
lsof
|
||||
manix
|
||||
moreutils
|
||||
nix-index
|
||||
nmap
|
||||
ripgrep
|
||||
#skim
|
||||
tealdeer
|
||||
tmux
|
||||
usbutils
|
||||
|
@ -59,7 +60,7 @@ in
|
|||
autoOptimiseStore = true;
|
||||
useSandbox = true;
|
||||
allowedUsers = [ "@wheel" ];
|
||||
trustedUsers = [ "root" "@wheel" ];
|
||||
trustedUsers = [ "root" "@wheel" "hydra" "hydra-www" ];
|
||||
};
|
||||
|
||||
services.earlyoom.enable = true;
|
||||
|
|
|
@ -5,4 +5,15 @@
|
|||
password = "nixos";
|
||||
shell = pkgs.zsh;
|
||||
};
|
||||
|
||||
# FIXME: (temporary?) workaround for https://github.com/NixOS/nixpkgs/issues/169193
|
||||
home-manager.users.ccr.programs.git = {
|
||||
enable = true;
|
||||
extraConfig.safe.directory = "/home/ccr/fleet";
|
||||
};
|
||||
home-manager.users.root.programs.git = {
|
||||
enable = true;
|
||||
extraConfig.safe.directory = "/home/ccr/fleet";
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue