Merge branch 'nixos-2211' into consensus
This commit is contained in:
commit
174f400da9
|
@ -64,5 +64,5 @@
|
||||||
swapDevices = [{device = "/dev/disk/by-label/swap";}];
|
swapDevices = [{device = "/dev/disk/by-label/swap";}];
|
||||||
|
|
||||||
networking.wireless.enable = true; # Enable wireless via wpa_supplicant.
|
networking.wireless.enable = true; # Enable wireless via wpa_supplicant.
|
||||||
nix.maxJobs = lib.mkDefault 1;
|
nix.settings.max-jobs = lib.mkDefault 1;
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
swapDevices = [{device = "/dev/disk/by-label/swap";}];
|
swapDevices = [{device = "/dev/disk/by-label/swap";}];
|
||||||
|
|
||||||
hardware.opengl.extraPackages = with pkgs; [vaapiIntel];
|
hardware.opengl.extraPackages = with pkgs; [vaapiIntel];
|
||||||
nix.maxJobs = lib.mkDefault 4;
|
nix.settings.max-jobs = lib.mkDefault 4;
|
||||||
|
|
||||||
services.thinkfan = {
|
services.thinkfan = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
@ -39,5 +39,5 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
hardware.opengl.extraPackages = with pkgs; [vaapiIntel];
|
hardware.opengl.extraPackages = with pkgs; [vaapiIntel];
|
||||||
nix.maxJobs = lib.mkDefault 4;
|
nix.settings.max-jobs = lib.mkDefault 4;
|
||||||
}
|
}
|
||||||
|
|
|
@ -50,5 +50,5 @@
|
||||||
|
|
||||||
swapDevices = [{device = "/dev/disk/by-label/swap";}];
|
swapDevices = [{device = "/dev/disk/by-label/swap";}];
|
||||||
|
|
||||||
nix.maxJobs = lib.mkDefault 8;
|
nix.settings.max-jobs = lib.mkDefault 8;
|
||||||
}
|
}
|
||||||
|
|
|
@ -35,5 +35,5 @@
|
||||||
|
|
||||||
swapDevices = [{device = "/dev/sdb";}];
|
swapDevices = [{device = "/dev/sdb";}];
|
||||||
|
|
||||||
nix.maxJobs = lib.mkDefault 4;
|
nix.settings.max-jobs = lib.mkDefault 4;
|
||||||
}
|
}
|
||||||
|
|
|
@ -37,5 +37,5 @@
|
||||||
|
|
||||||
swapDevices = [{device = "/dev/disk/by-uuid/ac308d76-cc12-4a73-83ee-64a2ad07b91e";}];
|
swapDevices = [{device = "/dev/disk/by-uuid/ac308d76-cc12-4a73-83ee-64a2ad07b91e";}];
|
||||||
|
|
||||||
nix.maxJobs = lib.mkDefault 4;
|
nix.settings.max-jobs = lib.mkDefault 4;
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
../modules/tmate-ssh-server.nix
|
../modules/tmate-ssh-server.nix
|
||||||
../networks/linode.nix
|
../networks/linode.nix
|
||||||
../profiles/coturn.nix
|
../profiles/coturn.nix
|
||||||
../profiles/cryptpad.nix
|
#../profiles/cryptpad.nix
|
||||||
../profiles/gitea.nix
|
../profiles/gitea.nix
|
||||||
#../profiles/hydra.nix
|
#../profiles/hydra.nix
|
||||||
../profiles/iog.nix
|
../profiles/iog.nix
|
||||||
|
|
|
@ -129,7 +129,6 @@
|
||||||
tcpdump # tcpdump
|
tcpdump # tcpdump
|
||||||
tectonic
|
tectonic
|
||||||
tdesktop # Telegram Desktop messaging app
|
tdesktop # Telegram Desktop messaging app
|
||||||
termonad-with-packages
|
|
||||||
texlive.combined.scheme-full
|
texlive.combined.scheme-full
|
||||||
tmate # Instant Terminal Sharing
|
tmate # Instant Terminal Sharing
|
||||||
tpm-tools
|
tpm-tools
|
||||||
|
@ -139,7 +138,6 @@
|
||||||
unrar
|
unrar
|
||||||
unzip
|
unzip
|
||||||
vcsh
|
vcsh
|
||||||
vgo2nix # Required for packaging Golang applications
|
|
||||||
wget
|
wget
|
||||||
wesnoth # Turn-based strategy game
|
wesnoth # Turn-based strategy game
|
||||||
xorg.xev
|
xorg.xev
|
||||||
|
|
|
@ -68,16 +68,16 @@
|
||||||
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
|
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"branch": "nixos-22.05",
|
"branch": "nixos-22.11",
|
||||||
"builtin": false,
|
"builtin": false,
|
||||||
"description": "A read-only mirror of NixOS/nixpkgs tracking the released channels. Send issues and PRs to",
|
"description": "A read-only mirror of NixOS/nixpkgs tracking the released channels. Send issues and PRs to",
|
||||||
"homepage": "https://github.com/NixOS/nixpkgs",
|
"homepage": "https://github.com/NixOS/nixpkgs",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "695b3515251873e0a7e2021add4bba643c56cde3",
|
"rev": "596a8e828c5dfa504f91918d0fa4152db3ab5502",
|
||||||
"sha256": "0hhn6li42s8awkpnc375zlzh3zk8lfsvg50mb03iq88lywbaikjg",
|
"sha256": "1n524a44p2kprk65zx2v6793kmxjpz1qm1ilxk82vq0vg0c5jy32",
|
||||||
"type": "tarball",
|
"type": "tarball",
|
||||||
"url": "https://github.com/NixOS/nixpkgs/archive/695b3515251873e0a7e2021add4bba643c56cde3.tar.gz",
|
"url": "https://github.com/NixOS/nixpkgs/archive/596a8e828c5dfa504f91918d0fa4152db3ab5502.tar.gz",
|
||||||
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
|
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
|
||||||
},
|
},
|
||||||
"nixpkgsUnstable": {
|
"nixpkgsUnstable": {
|
||||||
|
|
|
@ -17,6 +17,7 @@
|
||||||
gopass # password file manager
|
gopass # password file manager
|
||||||
shared-mime-info # A database of common MIME types
|
shared-mime-info # A database of common MIME types
|
||||||
sweethome3d.application # design and visualise homes
|
sweethome3d.application # design and visualise homes
|
||||||
|
termonad # Terminal emulator configurable in Haskell
|
||||||
yt-dlp # Command-line tool to download videos
|
yt-dlp # Command-line tool to download videos
|
||||||
whalebird # Mastodon, Pleroma and Misskey client
|
whalebird # Mastodon, Pleroma and Misskey client
|
||||||
];
|
];
|
||||||
|
|
|
@ -66,12 +66,14 @@
|
||||||
dates = "weekly";
|
dates = "weekly";
|
||||||
options = "--delete-older-than 90d";
|
options = "--delete-older-than 90d";
|
||||||
};
|
};
|
||||||
autoOptimiseStore = true;
|
|
||||||
extraOptions = ''
|
extraOptions = ''
|
||||||
show-trace = true # Enable --show-trace by default for nix
|
show-trace = true # Enable --show-trace by default for nix
|
||||||
builders-use-substitutes = true # Set builders to use caches
|
builders-use-substitutes = true # Set builders to use caches
|
||||||
'';
|
'';
|
||||||
trustedUsers = ["craige"];
|
settings = {
|
||||||
|
trusted-users = ["craige"];
|
||||||
|
auto-optimise-store = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
networking = {enableIPv6 = true;};
|
networking = {enableIPv6 = true;};
|
||||||
|
@ -89,9 +91,11 @@
|
||||||
bat # cat clone with syntax highlighting & Git integration
|
bat # cat clone with syntax highlighting & Git integration
|
||||||
dnsutils # Bind DNS utilities
|
dnsutils # Bind DNS utilities
|
||||||
fd # A simple, fast and user-friendly alternative to find
|
fd # A simple, fast and user-friendly alternative to find
|
||||||
(if config.services.xserver.enable
|
(
|
||||||
|
if config.services.xserver.enable
|
||||||
then gitAndTools.gitFull
|
then gitAndTools.gitFull
|
||||||
else git) # Distributed version control system
|
else git
|
||||||
|
) # Distributed version control system
|
||||||
htop # interactive process viewer
|
htop # interactive process viewer
|
||||||
hwinfo # Hardware detection tool
|
hwinfo # Hardware detection tool
|
||||||
killall # kill processes by name
|
killall # kill processes by name
|
||||||
|
|
|
@ -9,8 +9,8 @@
|
||||||
|
|
||||||
i18n = {
|
i18n = {
|
||||||
extraLocaleSettings = {
|
extraLocaleSettings = {
|
||||||
LC_COLLATE = "C"; # Ensure correct locale for postgres
|
LC_COLLATE = "C.UTF-8"; # Ensure correct locale for postgres
|
||||||
LC_CTYPE = "C"; # Ensure correct locale for postgres
|
LC_CTYPE = "C.UTF-8"; # Ensure correct locale for postgres
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -141,8 +141,8 @@
|
||||||
CREATE ROLE "matrix-synapse" WITH LOGIN PASSWORD 'synapse';
|
CREATE ROLE "matrix-synapse" WITH LOGIN PASSWORD 'synapse';
|
||||||
CREATE DATABASE "matrix-synapse" WITH OWNER "matrix-synapse"
|
CREATE DATABASE "matrix-synapse" WITH OWNER "matrix-synapse"
|
||||||
TEMPLATE template0
|
TEMPLATE template0
|
||||||
LC_COLLATE = "C"
|
LC_COLLATE = "C.UTF-8"
|
||||||
LC_CTYPE = "C";
|
LC_CTYPE = "C.UTF-8";
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -11,6 +11,6 @@
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
jre # Required by Minecraft (via polymc)
|
jre # Required by Minecraft (via polymc)
|
||||||
minecraft # Official launcher for Minecraft
|
minecraft # Official launcher for Minecraft
|
||||||
polymc # A free, open source launcher for Minecraft
|
prismlauncher # A free, open source launcher for Minecraft
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -27,7 +27,8 @@
|
||||||
enable = true; # Run regular auto update of all apps installed
|
enable = true; # Run regular auto update of all apps installed
|
||||||
startAt = "01:00:00"; # When to run the update
|
startAt = "01:00:00"; # When to run the update
|
||||||
};
|
};
|
||||||
package = pkgs.nextcloud24;
|
enableBrokenCiphersForSSE = false; # force upgrade to SSL v3
|
||||||
|
package = pkgs.nextcloud25;
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd = {
|
systemd = {
|
||||||
|
|
Loading…
Reference in a new issue