summaryrefslogtreecommitdiffstats
path: root/common-linux.nix
diff options
context:
space:
mode:
Diffstat (limited to 'common-linux.nix')
-rw-r--r--common-linux.nix21
1 files changed, 17 insertions, 4 deletions
diff --git a/common-linux.nix b/common-linux.nix
index 8dae24d..9b7884e 100644
--- a/common-linux.nix
+++ b/common-linux.nix
@@ -6,6 +6,7 @@
}: {
imports = [
./bash.nix
+ ./irc.nix
];
# Bootloader.
@@ -29,10 +30,20 @@
# Allow unfree packages
nixpkgs.config.allowUnfree = true;
- nix.settings.experimental-features = [
- "nix-command"
- "flakes"
- ];
+ nix.settings = {
+ experimental-features = ["nix-command" "flakes"];
+ extra-substituters = ["https://nix-community.cachix.org"];
+ extra-trusted-public-keys = ["nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="];
+ };
+ nix.optimise = {
+ automatic = true;
+ dates = ["Sun 00:00:00"];
+ };
+ nix.gc = {
+ automatic = true;
+ dates = "weekly";
+ persistent = true;
+ };
# List packages installed in system profile. To search, run:
# $ nix search wget
@@ -44,6 +55,8 @@
gcc
alejandra
gnumake
+ nh
+ nix-output-monitor
];
fonts = {