Updated configuration

This commit is contained in:
2024-12-10 18:38:17 +01:00
parent 1ab78c65d7
commit a093970262
11 changed files with 171 additions and 130 deletions

View File

@@ -1,4 +1,4 @@
{ config, pkgs, ... }:
{ config, pkgs, inputs, ... }:
{
imports = [
@@ -15,7 +15,7 @@
../../modules/system/cli/docker.nix
# Hardware
../../modules/system/hardware/amd.nix
# ../../modules/system/hardware/amd.nix
../../modules/system/hardware/bluetooth.nix
../../modules/system/hardware/firewall.nix
../../modules/system/hardware/garbage-collection.nix
@@ -31,9 +31,16 @@
substituters = [
"https://nix-community.cachix.org"
"https://cosmic.cachix.org/"
];
trusted-public-keys = [
"cosmic.cachix.org-1:Dya9IyXD4xdBehWjrkPv6rtxpmMdRel02smYzA85dPE="
];
};
# Configure hardware
# Bootloader.
boot.loader.efi.canTouchEfiVariables = true;
boot.loader.grub = {
@@ -53,11 +60,21 @@
nix.settings.trusted-users = [ "root" "xeovalyte" ];
# Enable cosmic desktop eenvironment
services.desktopManager.cosmic.enable = true;
services.displayManager.cosmic-greeter.enable = true;
# Prevent system freeze on high load
services.earlyoom = {
enable = true;
};
boot.kernelPackages = pkgs.linuxPackages_latest;
# Configure wacom tablet
hardware.opentabletdriver = {
enable = true;
package = pkgs.unstable.opentabletdriver;
};
services.libinput.enable = true;