aboutsummaryrefslogtreecommitdiff
path: root/modules/common/default.nix
diff options
context:
space:
mode:
authorMax Audron <audron@cocaine.farm>2025-10-23 18:53:46 +0200
committerMax Audron <audron@cocaine.farm>2025-10-23 18:53:46 +0200
commit62e2633b5a9e39abeafb2b8bdfd42f09dfe3ec6d (patch)
treefd3cdbeaba5eca976e8d8bc7ede10fd9741e3c36 /modules/common/default.nix
parentdeploy soulseek and fix tlmp VPN (diff)
uh
Diffstat (limited to '')
-rw-r--r--modules/common/default.nix32
1 files changed, 25 insertions, 7 deletions
diff --git a/modules/common/default.nix b/modules/common/default.nix
index 5a6497a..cfd9502 100644
--- a/modules/common/default.nix
+++ b/modules/common/default.nix
@@ -1,7 +1,15 @@
-{ config, lib, pkgs, ... }:
+{
+ config,
+ lib,
+ pkgs,
+ ...
+}:
{
- imports = [ ./nix-settings.nix ./networking.nix ];
+ imports = [
+ ./nix-settings.nix
+ ./networking.nix
+ ];
# Time and Locale
time.timeZone = "UTC";
@@ -15,7 +23,19 @@
systemd.enableEmergencyMode = false;
# Default Packages Set
- environment.systemPackages = with pkgs; [ git vim htop wget nftables wireguard-tools tmux fd ripgrep ];
+ environment.systemPackages = with pkgs; [
+ git
+ vim
+ htop
+ wget
+ nftables
+ wireguard-tools
+ tmux
+ fd
+ ripgrep
+
+ docker-compose
+ ];
programs.vim = {
enable = true;
@@ -39,10 +59,8 @@
# CPU
powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand";
- hardware.cpu.amd.updateMicrocode =
- lib.mkDefault config.hardware.enableRedistributableFirmware;
- hardware.cpu.intel.updateMicrocode =
- lib.mkDefault config.hardware.enableRedistributableFirmware;
+ hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
+ hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
# System state version
system.stateVersion = lib.mkDefault "23.05";