2024-09-22 01:04:11 -04:00
|
|
|
|
# Edit this configuration file to define what should be installed on
|
|
|
|
|
# your system. Help is available in the configuration.nix(5) man page
|
|
|
|
|
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
|
|
|
|
|
2024-12-31 12:05:58 -05:00
|
|
|
|
{ nixos-hardware, config, pkgs, musnix, lib, inputs, outputs, ... }:
|
2024-09-22 01:04:11 -04:00
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
imports =
|
|
|
|
|
[ # Include the results of the hardware scan.
|
|
|
|
|
./hardware-configuration.nix
|
2024-10-07 23:39:25 -04:00
|
|
|
|
./razer-speaker-fix.nix
|
2024-09-22 01:04:11 -04:00
|
|
|
|
];
|
|
|
|
|
|
2024-12-31 12:05:58 -05:00
|
|
|
|
nixpkgs = {
|
|
|
|
|
# You can add overlays here
|
|
|
|
|
overlays = [
|
|
|
|
|
# Add overlays your own flake exports (from overlays and pkgs dir):
|
2024-12-31 12:49:39 -05:00
|
|
|
|
outputs.overlays.additions
|
2024-12-31 12:05:58 -05:00
|
|
|
|
outputs.overlays.modifications
|
|
|
|
|
outputs.overlays.unstable-packages
|
|
|
|
|
];
|
|
|
|
|
# Configure your nixpkgs instance
|
|
|
|
|
config = {
|
|
|
|
|
# Disable if you don't want unfree packages
|
|
|
|
|
allowUnfree = true;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
nix = let
|
|
|
|
|
flakeInputs = lib.filterAttrs (_: lib.isType "flake") inputs;
|
|
|
|
|
in {
|
|
|
|
|
|
|
|
|
|
gc = {
|
|
|
|
|
automatic = true;
|
|
|
|
|
dates = "daily";
|
|
|
|
|
options = "--delete-older-than +3";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
settings = {
|
|
|
|
|
# Enable flakes and new 'nix' command
|
|
|
|
|
experimental-features = "nix-command flakes";
|
|
|
|
|
# Workaround for https://github.com/NixOS/nix/issues/9574
|
|
|
|
|
nix-path = config.nix.nixPath;
|
|
|
|
|
};
|
|
|
|
|
# Opinionated: disable channels
|
|
|
|
|
channel.enable = false;
|
|
|
|
|
|
|
|
|
|
# Opinionated: make flake registry and nix path match flake inputs
|
|
|
|
|
registry = lib.mapAttrs (_: flake: {inherit flake;}) flakeInputs;
|
|
|
|
|
nixPath = lib.mapAttrsToList (n: _: "${n}=flake:${n}") flakeInputs;
|
|
|
|
|
};
|
2024-10-02 18:35:14 -04:00
|
|
|
|
|
|
|
|
|
# List packages installed in system profile. To search, run:
|
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
|
wget
|
2024-11-18 10:54:45 -05:00
|
|
|
|
libGL
|
2024-10-02 18:35:14 -04:00
|
|
|
|
home-manager
|
|
|
|
|
curl
|
|
|
|
|
git-lfs
|
|
|
|
|
tailscale
|
|
|
|
|
rsync
|
|
|
|
|
gnupg
|
|
|
|
|
openrazer-daemon
|
|
|
|
|
clinfo
|
2024-10-05 12:36:08 -04:00
|
|
|
|
alsa-utils
|
2024-10-28 17:34:14 -04:00
|
|
|
|
psutils
|
2024-10-05 12:36:08 -04:00
|
|
|
|
alsa-tools
|
2024-10-07 23:39:25 -04:00
|
|
|
|
util-linux
|
2024-10-18 09:11:27 -04:00
|
|
|
|
libgtop
|
2024-10-20 22:41:51 -04:00
|
|
|
|
ulauncher
|
2024-10-28 17:34:14 -04:00
|
|
|
|
fontconfig
|
2024-11-06 14:33:49 -05:00
|
|
|
|
freetype
|
2024-11-18 10:54:45 -05:00
|
|
|
|
egl-wayland
|
|
|
|
|
glfw-wayland
|
2024-11-28 13:39:35 -05:00
|
|
|
|
libGL.dev
|
2024-11-22 16:26:46 -05:00
|
|
|
|
openssl
|
2024-11-29 17:11:57 -05:00
|
|
|
|
linuxKernel.packages.linux_6_12.openrazer
|
2024-10-02 18:35:14 -04:00
|
|
|
|
];
|
|
|
|
|
|
2024-09-23 23:35:58 -04:00
|
|
|
|
# Bootloader.
|
|
|
|
|
boot.loader.systemd-boot.enable = true;
|
2024-10-31 23:16:03 -04:00
|
|
|
|
boot.loader.systemd-boot.configurationLimit = 8;
|
2024-10-20 22:41:51 -04:00
|
|
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
2024-11-29 12:28:08 -05:00
|
|
|
|
boot.kernelPackages = pkgs.linuxPackages_latest;
|
2024-09-22 01:04:11 -04:00
|
|
|
|
|
2024-10-02 18:35:14 -04:00
|
|
|
|
boot = {
|
2024-12-31 12:05:58 -05:00
|
|
|
|
initrd.kernelModules = [ "nvidia" "nvidia_modeset" "nvidia_uvm" "nvidia_drm" "snd-virmidi"];
|
|
|
|
|
kernelParams = [ "nvidia_drm.fbdev=1" "nvidia_drm.modeset=1"];
|
2024-09-24 16:11:23 -04:00
|
|
|
|
};
|
|
|
|
|
|
2024-10-02 18:35:14 -04:00
|
|
|
|
systemd.services.tailscaled.after = ["NetworkManager-wait-online.service"];
|
|
|
|
|
|
2024-09-24 16:11:23 -04:00
|
|
|
|
hardware = {
|
2024-10-07 23:39:25 -04:00
|
|
|
|
openrazer = {
|
|
|
|
|
enable = true;
|
|
|
|
|
users = [ "emenel" ];
|
|
|
|
|
};
|
|
|
|
|
|
2024-10-02 18:35:14 -04:00
|
|
|
|
graphics = {
|
|
|
|
|
enable = true;
|
|
|
|
|
enable32Bit = true;
|
|
|
|
|
extraPackages = [
|
2024-10-04 10:35:41 -04:00
|
|
|
|
pkgs.rocmPackages.clr.icd
|
2024-11-22 16:26:46 -05:00
|
|
|
|
pkgs.amdvlk
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
extraPackages32 = [
|
|
|
|
|
pkgs.driversi686Linux.amdvlk
|
2024-10-02 18:35:14 -04:00
|
|
|
|
];
|
|
|
|
|
};
|
2024-09-24 16:11:23 -04:00
|
|
|
|
|
2024-10-01 16:57:09 -04:00
|
|
|
|
enableAllFirmware = true;
|
|
|
|
|
|
2024-09-24 16:11:23 -04:00
|
|
|
|
nvidia = {
|
|
|
|
|
# Modesetting is required.
|
2024-11-22 16:26:46 -05:00
|
|
|
|
open = true;
|
2024-09-24 16:11:23 -04:00
|
|
|
|
modesetting.enable = true;
|
|
|
|
|
powerManagement.enable = true;
|
2024-09-26 22:00:05 -04:00
|
|
|
|
powerManagement.finegrained = true;
|
2024-09-24 16:11:23 -04:00
|
|
|
|
|
2024-10-02 18:35:14 -04:00
|
|
|
|
forceFullCompositionPipeline = true;
|
2024-09-24 16:11:23 -04:00
|
|
|
|
|
2024-11-29 12:28:08 -05:00
|
|
|
|
package = config.boot.kernelPackages.nvidiaPackages.beta;
|
|
|
|
|
|
2024-09-24 16:11:23 -04:00
|
|
|
|
prime = {
|
2024-11-18 10:54:45 -05:00
|
|
|
|
amdgpuBusId = "PCI:101:0:0";
|
2024-11-15 13:32:58 -05:00
|
|
|
|
nvidiaBusId = "PCI:1:0:0";
|
2024-09-24 16:11:23 -04:00
|
|
|
|
offload = {
|
|
|
|
|
enable = true;
|
|
|
|
|
enableOffloadCmd = true;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#reverseSync.enable = true;
|
|
|
|
|
#sync.enable = true;
|
|
|
|
|
};
|
|
|
|
|
nvidiaSettings = true;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2024-10-08 16:48:50 -04:00
|
|
|
|
specialisation = {
|
|
|
|
|
gpupower.configuration = {
|
|
|
|
|
system.nixos.tags = [ "gpupower" ];
|
|
|
|
|
hardware.nvidia = {
|
|
|
|
|
prime.offload.enable = lib.mkForce false;
|
|
|
|
|
prime.offload.enableOffloadCmd = lib.mkForce false;
|
|
|
|
|
prime.sync.enable = lib.mkForce true;
|
|
|
|
|
powerManagement.finegrained = lib.mkForce false;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2024-09-28 21:03:16 -04:00
|
|
|
|
musnix = {
|
|
|
|
|
enable = true;
|
|
|
|
|
alsaSeq.enable = true;
|
|
|
|
|
rtcqs.enable = true;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
services.udev.extraRules = ''
|
|
|
|
|
DEVPATH=="/devices/virtual/misc/cpu_dma_latency", OWNER="root", GROUP="audio", MODE="0660"
|
|
|
|
|
'';
|
|
|
|
|
|
2024-09-30 20:46:21 -04:00
|
|
|
|
security.polkit.enable = true;
|
2025-01-06 19:03:36 -05:00
|
|
|
|
security.rtkit.enable = true;
|
2024-09-30 20:46:21 -04:00
|
|
|
|
|
2024-09-24 16:11:23 -04:00
|
|
|
|
services.xserver.videoDrivers = [ "nvidia" ];
|
|
|
|
|
|
2024-11-09 14:14:31 -05:00
|
|
|
|
networking = {
|
|
|
|
|
hostName = "eddie";
|
|
|
|
|
domain = "local";
|
|
|
|
|
nameservers = [ "1.1.1.1" "1.0.0.1" ];
|
|
|
|
|
networkmanager = {
|
|
|
|
|
enable = true;
|
|
|
|
|
wifi.powersave = true;
|
|
|
|
|
};
|
|
|
|
|
};
|
2024-09-22 01:04:11 -04:00
|
|
|
|
|
2024-11-09 14:14:31 -05:00
|
|
|
|
services.resolved = {
|
|
|
|
|
enable = true;
|
|
|
|
|
extraConfig = ''
|
|
|
|
|
LLMNR=no
|
|
|
|
|
ReadEtcHosts=no
|
|
|
|
|
DNSSEC=no
|
|
|
|
|
'';
|
|
|
|
|
};
|
2024-09-22 01:04:11 -04:00
|
|
|
|
|
|
|
|
|
# Set your time zone.
|
|
|
|
|
time.timeZone = "America/Toronto";
|
|
|
|
|
|
|
|
|
|
# Select internationalisation properties.
|
|
|
|
|
i18n.defaultLocale = "en_CA.UTF-8";
|
2024-10-20 22:41:51 -04:00
|
|
|
|
|
2024-09-22 01:04:11 -04:00
|
|
|
|
services.xserver.enable = true;
|
|
|
|
|
|
|
|
|
|
# Enable the GNOME Desktop Environment.
|
|
|
|
|
services.xserver.displayManager.gdm.enable = true;
|
2024-10-05 12:36:08 -04:00
|
|
|
|
services.xserver.desktopManager.gnome.enable = true;
|
2024-10-02 13:09:41 -04:00
|
|
|
|
services.xserver.deviceSection = ''Option "TearFree" "true"''; # For amdgpu.
|
2024-10-07 23:39:25 -04:00
|
|
|
|
services.gnome.gnome-keyring.enable = true;
|
|
|
|
|
|
2024-11-22 16:26:46 -05:00
|
|
|
|
services.picom = {
|
|
|
|
|
enable = true;
|
|
|
|
|
vSync = true;
|
|
|
|
|
};
|
|
|
|
|
|
2024-09-24 16:11:23 -04:00
|
|
|
|
programs.dconf.enable = true;
|
2024-12-23 00:31:40 -05:00
|
|
|
|
programs.gpaste.enable = true;
|
2024-09-24 16:11:23 -04:00
|
|
|
|
|
2024-09-22 01:04:11 -04:00
|
|
|
|
services.xserver.xkb = {
|
|
|
|
|
layout = "us";
|
|
|
|
|
variant = "";
|
|
|
|
|
};
|
|
|
|
|
|
2025-01-06 15:25:02 -05:00
|
|
|
|
services.printing = {
|
|
|
|
|
enable = true;
|
|
|
|
|
drivers = [
|
|
|
|
|
pkgs.epson-escpr
|
|
|
|
|
pkgs.epson-escpr2
|
|
|
|
|
];
|
|
|
|
|
};
|
2024-09-24 23:46:34 -04:00
|
|
|
|
services.tailscale.enable = true;
|
2024-10-07 23:39:25 -04:00
|
|
|
|
services.envfs.enable = true;
|
2024-09-24 23:46:34 -04:00
|
|
|
|
|
2024-12-31 12:05:58 -05:00
|
|
|
|
services.gnome.gnome-remote-desktop.enable = false;
|
2024-09-27 15:36:18 -04:00
|
|
|
|
|
2024-09-22 01:04:11 -04:00
|
|
|
|
# Enable sound with pipewire.
|
|
|
|
|
hardware.pulseaudio.enable = false;
|
2024-12-31 12:05:58 -05:00
|
|
|
|
|
2024-09-22 01:04:11 -04:00
|
|
|
|
services.pipewire = {
|
|
|
|
|
enable = true;
|
2024-12-31 12:05:58 -05:00
|
|
|
|
|
|
|
|
|
alsa = {
|
|
|
|
|
enable = true;
|
|
|
|
|
support32Bit = true;
|
|
|
|
|
};
|
|
|
|
|
|
2024-09-22 01:04:11 -04:00
|
|
|
|
pulse.enable = true;
|
2024-09-28 20:28:06 -04:00
|
|
|
|
jack.enable = true;
|
2024-12-31 12:05:58 -05:00
|
|
|
|
|
|
|
|
|
wireplumber = {
|
|
|
|
|
enable = true;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
extraConfig = {
|
|
|
|
|
pipewire."91-null-sinks" = {
|
|
|
|
|
"context.modules" = [
|
|
|
|
|
{
|
|
|
|
|
name = "libpipewire-module-loopback";
|
|
|
|
|
args = {
|
|
|
|
|
"node.description" = "Default Playback";
|
|
|
|
|
"capture.props" = {
|
|
|
|
|
"node.name" = "BixSix_or_fallback_Playback";
|
|
|
|
|
"media.class" = "Audio/Sink";
|
|
|
|
|
"audio.position" = "[FL FR]";
|
|
|
|
|
};
|
|
|
|
|
"playback.props" = {
|
|
|
|
|
"node.name" = "playback.BixSixWithFallbackPlayback";
|
|
|
|
|
"audio.position" = "[AUX14 AUX15]";
|
|
|
|
|
"target.object" = "alsa_output.usb-Solid_State_Logic_BiG_SiX-00.pro-output-0";
|
|
|
|
|
"stream.dont-remix" = true;
|
|
|
|
|
"node.passive" = true;
|
|
|
|
|
};
|
2024-10-23 09:54:41 -04:00
|
|
|
|
};
|
2024-12-31 12:05:58 -05:00
|
|
|
|
}
|
|
|
|
|
];
|
|
|
|
|
};
|
2025-01-06 19:03:36 -05:00
|
|
|
|
pipewire."92-low-latency" = {
|
|
|
|
|
context.properties = {
|
|
|
|
|
default.clock.rate = 48000;
|
|
|
|
|
default.clock.quantum = 32;
|
|
|
|
|
default.clock.min-quantum = 32;
|
|
|
|
|
default.clock.max-quantum = 32;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
pipewire-pulse."92-low-latency" = {
|
|
|
|
|
context.modules = [
|
|
|
|
|
{
|
|
|
|
|
name = "libpipewire-module-protocol-pulse";
|
|
|
|
|
args = {
|
|
|
|
|
pulse.min.req = "32/48000";
|
|
|
|
|
pulse.default.req = "32/48000";
|
|
|
|
|
pulse.max.req = "32/48000";
|
|
|
|
|
pulse.min.quantum = "32/48000";
|
|
|
|
|
pulse.max.quantum = "32/48000";
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
];
|
|
|
|
|
stream.properties = {
|
|
|
|
|
node.latency = "32/48000";
|
|
|
|
|
resample.quality = 1;
|
|
|
|
|
};
|
|
|
|
|
};
|
2024-10-23 09:54:41 -04:00
|
|
|
|
};
|
2024-09-22 01:04:11 -04:00
|
|
|
|
};
|
|
|
|
|
|
2024-10-04 10:35:41 -04:00
|
|
|
|
programs.steam = {
|
|
|
|
|
enable = true;
|
2024-10-14 12:21:14 -04:00
|
|
|
|
protontricks.enable = true;
|
2024-10-04 10:35:41 -04:00
|
|
|
|
extraCompatPackages = [ pkgs.proton-ge-bin ];
|
|
|
|
|
};
|
|
|
|
|
|
2024-09-23 09:46:14 -04:00
|
|
|
|
# enable fish and launch it from bash for interactive shells
|
|
|
|
|
programs.fish.enable = true;
|
2024-10-01 16:57:09 -04:00
|
|
|
|
environment.pathsToLink = [ "/share/fish" ];
|
2024-09-23 09:46:14 -04:00
|
|
|
|
programs.bash = {
|
2024-09-27 14:17:11 -04:00
|
|
|
|
interactiveShellInit = ''
|
|
|
|
|
if [[ $(${pkgs.procps}/bin/ps --no-header --pid=$PPID --format=comm) != "fish" && -z ''${BASH_EXECUTION_STRING} ]]
|
2024-09-23 23:35:58 -04:00
|
|
|
|
then
|
|
|
|
|
shopt -q login_shell && LOGIN_OPTION='--login' || LOGIN_OPTION=""
|
|
|
|
|
exec ${pkgs.fish}/bin/fish $LOGIN_OPTION
|
|
|
|
|
fi
|
|
|
|
|
'';
|
2024-10-05 12:36:08 -04:00
|
|
|
|
};
|
2024-09-23 23:35:58 -04:00
|
|
|
|
|
|
|
|
|
services.flatpak.enable = true;
|
2024-12-31 12:05:58 -05:00
|
|
|
|
services.ratbagd.enable = true;
|
2024-10-01 21:18:52 -04:00
|
|
|
|
services.dbus.implementation = "broker";
|
|
|
|
|
|
2024-09-30 22:57:34 -04:00
|
|
|
|
#programs.gnupg.enable = true;
|
|
|
|
|
programs.git.enable = true;
|
|
|
|
|
|
2024-09-30 09:10:52 -04:00
|
|
|
|
services.gnome.core-developer-tools.enable = true;
|
|
|
|
|
environment.gnome.excludePackages = with pkgs; [
|
|
|
|
|
cheese
|
|
|
|
|
geary
|
|
|
|
|
gnome-music
|
2024-10-01 16:57:09 -04:00
|
|
|
|
gnome-tour
|
2024-09-30 09:10:52 -04:00
|
|
|
|
];
|
|
|
|
|
|
2024-10-04 10:35:41 -04:00
|
|
|
|
services.accounts-daemon.enable = true;
|
|
|
|
|
services.gnome.gnome-online-accounts.enable = true;
|
|
|
|
|
|
2024-10-14 12:28:40 -04:00
|
|
|
|
services.kmonad = {
|
2024-10-14 12:30:28 -04:00
|
|
|
|
enable = true;
|
|
|
|
|
keyboards = {
|
2024-11-18 10:54:45 -05:00
|
|
|
|
sinc = {
|
|
|
|
|
device = "/dev/input/by-id/usb-Keebio_Sinc_Rev._4-event-kbd";
|
|
|
|
|
config = builtins.readFile ../../dotfiles/dot_config/kmonad/sinc.kbd;
|
2024-10-14 12:30:28 -04:00
|
|
|
|
};
|
|
|
|
|
razer = {
|
2024-12-31 12:05:58 -05:00
|
|
|
|
extraGroups = [ "openrazer" ];
|
2024-10-14 12:30:28 -04:00
|
|
|
|
device = "/dev/input/by-id/usb-Razer_Razer_Blade-if01-event-kbd";
|
|
|
|
|
config = builtins.readFile ../../dotfiles/dot_config/kmonad/razer.kbd;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2024-09-29 13:45:20 -04:00
|
|
|
|
programs.virt-manager.enable = true;
|
|
|
|
|
|
|
|
|
|
virtualisation = {
|
|
|
|
|
libvirtd = {
|
|
|
|
|
enable = true;
|
|
|
|
|
qemu = {
|
|
|
|
|
package = pkgs.qemu_kvm;
|
|
|
|
|
swtpm.enable = true;
|
|
|
|
|
ovmf.enable = true;
|
|
|
|
|
ovmf.packages = [ pkgs.OVMFFull.fd ];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
spiceUSBRedirection.enable = true;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
services.qemuGuest.enable = true;
|
|
|
|
|
services.spice-vdagentd.enable = true;
|
|
|
|
|
|
2024-10-04 10:35:41 -04:00
|
|
|
|
programs.appimage = {
|
2024-09-28 20:28:06 -04:00
|
|
|
|
enable = true;
|
2024-10-04 10:35:41 -04:00
|
|
|
|
binfmt = true;
|
2024-09-28 20:28:06 -04:00
|
|
|
|
};
|
2024-09-22 01:04:11 -04:00
|
|
|
|
|
2024-12-31 12:05:58 -05:00
|
|
|
|
programs.nix-ld.enable = true;
|
|
|
|
|
programs.nix-ld.libraries = with pkgs; [
|
2024-11-06 14:33:49 -05:00
|
|
|
|
zlib
|
|
|
|
|
zstd
|
|
|
|
|
stdenv.cc.cc
|
2024-11-09 14:14:31 -05:00
|
|
|
|
curlFull
|
2024-11-22 16:26:46 -05:00
|
|
|
|
openssl.out
|
2024-11-06 14:33:49 -05:00
|
|
|
|
attr
|
|
|
|
|
libssh
|
|
|
|
|
bzip2
|
|
|
|
|
libxml2
|
|
|
|
|
acl
|
|
|
|
|
libsodium
|
|
|
|
|
util-linux
|
|
|
|
|
xz
|
|
|
|
|
systemd
|
|
|
|
|
fontconfig
|
|
|
|
|
freetype
|
2024-11-09 14:14:31 -05:00
|
|
|
|
gnutls
|
|
|
|
|
util-linux
|
2024-11-28 13:39:35 -05:00
|
|
|
|
libGL.dev
|
2024-11-18 10:54:45 -05:00
|
|
|
|
egl-wayland
|
2024-11-28 13:39:35 -05:00
|
|
|
|
eglexternalplatform
|
2024-11-18 10:54:45 -05:00
|
|
|
|
glfw-wayland
|
2024-11-28 13:39:35 -05:00
|
|
|
|
glfw
|
|
|
|
|
libGLU.dev
|
2024-11-22 16:26:46 -05:00
|
|
|
|
libuv.out
|
|
|
|
|
libressl.out
|
2024-12-31 12:05:58 -05:00
|
|
|
|
libudev-zero.out
|
2024-11-06 14:33:49 -05:00
|
|
|
|
];
|
|
|
|
|
|
2024-11-14 19:04:32 -05:00
|
|
|
|
services.udev.packages = with pkgs; [
|
|
|
|
|
via
|
|
|
|
|
vial
|
|
|
|
|
];
|
|
|
|
|
|
2024-12-04 13:04:38 -05:00
|
|
|
|
fonts.fontconfig = {
|
|
|
|
|
enable = true;
|
|
|
|
|
useEmbeddedBitmaps = true;
|
|
|
|
|
};
|
2024-10-18 09:11:27 -04:00
|
|
|
|
|
2024-10-28 11:20:08 -04:00
|
|
|
|
powerManagement = {
|
|
|
|
|
enable = true;
|
|
|
|
|
};
|
2024-10-01 16:57:09 -04:00
|
|
|
|
|
2024-11-04 11:13:56 -05:00
|
|
|
|
services.power-profiles-daemon.enable = true;
|
|
|
|
|
|
2024-10-01 16:57:09 -04:00
|
|
|
|
# enable the OpenSSH daemon.
|
2024-09-22 01:04:11 -04:00
|
|
|
|
services.openssh.enable = true;
|
2024-09-28 20:28:06 -04:00
|
|
|
|
|
2024-11-29 12:28:08 -05:00
|
|
|
|
services.avahi = {
|
|
|
|
|
enable = true;
|
|
|
|
|
nssmdns4 = true;
|
|
|
|
|
};
|
2024-11-09 14:14:31 -05:00
|
|
|
|
|
2024-10-05 12:36:08 -04:00
|
|
|
|
# add user accounts
|
|
|
|
|
users.users.emenel = {
|
|
|
|
|
isNormalUser = true;
|
|
|
|
|
description = "emenel";
|
2024-10-31 23:36:58 -04:00
|
|
|
|
extraGroups = [ "networkmanager" "wheel" "uinput" "input" "audio" "video" "libvirtd" "nvidia" "cups" "openrazer" "plugdev" ];
|
2024-10-05 12:36:08 -04:00
|
|
|
|
packages = with pkgs; [
|
|
|
|
|
git
|
|
|
|
|
];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-09-28 20:28:06 -04:00
|
|
|
|
#do not change
|
|
|
|
|
system.stateVersion = "24.05";
|
2024-09-22 01:04:11 -04:00
|
|
|
|
|
2024-10-05 12:36:08 -04:00
|
|
|
|
|
|
|
|
|
|
2024-09-22 01:04:11 -04:00
|
|
|
|
}
|