2024-09-08 23:54:31 -04:00
|
|
|
# Edit this configuration file to define what should be installed onconfiguraticonfig
|
2024-04-21 19:57:10 -04:00
|
|
|
# your system. Help is available in the configuration.nix(5) man page, on
|
|
|
|
# https://search.nixos.org/options and in the NixOS manual (`nixos-help`).
|
|
|
|
|
2024-10-02 23:37:49 -04:00
|
|
|
{ config, pkgs, ... }:
|
2024-04-21 19:57:10 -04:00
|
|
|
{
|
|
|
|
imports =
|
2024-05-03 18:49:17 -04:00
|
|
|
[
|
|
|
|
# Include the results of the hardware scan.
|
2024-04-21 19:57:10 -04:00
|
|
|
./hardware-configuration.nix
|
2024-10-02 17:19:34 -04:00
|
|
|
../../common/systemModules/boot.nix
|
2024-10-02 16:36:52 -04:00
|
|
|
../../common/systemModules/audio.nix
|
|
|
|
../../common/systemModules/kde.nix
|
2024-10-02 17:19:34 -04:00
|
|
|
../../common/systemModules/tailscale.nix
|
|
|
|
../../common/systemModules/gaming.nix
|
|
|
|
../../common/systemModules/crypt.nix
|
|
|
|
../../common/systemModules/printing.nix
|
|
|
|
# USERS
|
2024-10-02 15:42:18 -04:00
|
|
|
../../common/users/meyer
|
2024-05-26 02:51:04 -04:00
|
|
|
];
|
2024-10-02 23:37:49 -04:00
|
|
|
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
|
|
|
|
nix.settings.extra-platforms = config.boot.binfmt.emulatedSystems;
|
2024-05-22 21:24:04 -04:00
|
|
|
hardware.i2c.enable = true;
|
2024-09-06 19:51:11 -04:00
|
|
|
hardware.amdgpu.opencl.enable = true;
|
2024-10-02 17:19:34 -04:00
|
|
|
services.xserver.videoDrivers = [ "amdgpu" ];
|
2024-05-03 18:49:17 -04:00
|
|
|
hardware.bluetooth.enable = true;
|
|
|
|
networking.hostName = "nix-desktop-evo4b5"; # Define your hostname.
|
2024-04-21 19:57:10 -04:00
|
|
|
|
|
|
|
# Set your time zone.
|
2024-05-03 18:49:17 -04:00
|
|
|
time.timeZone = "America/New_York";
|
2024-04-21 19:57:10 -04:00
|
|
|
|
2024-10-02 17:19:34 -04:00
|
|
|
nixpkgs.config.allowUnfree = true;
|
|
|
|
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
2024-06-01 23:21:32 -04:00
|
|
|
|
2024-07-17 15:26:00 -04:00
|
|
|
services = {
|
2024-09-06 20:00:15 -04:00
|
|
|
teamviewer.enable = true;
|
2024-07-17 15:26:00 -04:00
|
|
|
usbmuxd.enable = true;
|
|
|
|
};
|
2024-04-21 19:57:10 -04:00
|
|
|
|
|
|
|
|
2024-05-03 18:49:17 -04:00
|
|
|
programs.zsh.enable = true;
|
2024-04-24 19:18:48 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
2024-04-21 19:57:10 -04:00
|
|
|
environment.systemPackages = with pkgs; [
|
2024-10-02 15:05:29 -04:00
|
|
|
clinfo
|
2024-07-17 20:52:08 -04:00
|
|
|
fuse
|
2024-07-17 15:26:00 -04:00
|
|
|
ifuse
|
2024-05-03 18:49:17 -04:00
|
|
|
ddcutil
|
|
|
|
i2c-tools
|
2024-04-21 21:55:41 -04:00
|
|
|
gcc
|
2024-04-21 19:57:10 -04:00
|
|
|
neovim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
|
|
|
|
curl
|
|
|
|
wget
|
|
|
|
ripgrep
|
|
|
|
tldr
|
|
|
|
libnotify
|
2024-04-23 16:44:44 -04:00
|
|
|
file
|
2024-04-21 19:57:10 -04:00
|
|
|
];
|
2024-05-03 18:49:17 -04:00
|
|
|
#LD fix
|
|
|
|
programs.nix-ld.enable = true;
|
|
|
|
programs.nix-ld.libraries = with pkgs; [
|
2024-09-08 23:54:31 -04:00
|
|
|
libGL
|
|
|
|
alsa-lib
|
|
|
|
expat
|
|
|
|
mesa
|
|
|
|
libxkbcommon
|
|
|
|
xorg.libxcb
|
|
|
|
xorg.libXrandr
|
|
|
|
xorg.libXfixes
|
|
|
|
xorg.libXext
|
|
|
|
xorg.libXdamage
|
|
|
|
xorg.libXcomposite
|
|
|
|
xorg.libX11
|
|
|
|
cairo
|
|
|
|
pango
|
|
|
|
gtk3
|
|
|
|
libdrm
|
|
|
|
cups
|
|
|
|
at-spi2-atk
|
|
|
|
lzo
|
|
|
|
dbus
|
|
|
|
nspr
|
|
|
|
nss
|
|
|
|
glib
|
2024-06-01 19:33:06 -04:00
|
|
|
curlWithGnuTls
|
2024-07-17 20:54:06 -04:00
|
|
|
fuse
|
|
|
|
fuse3
|
2024-06-01 19:33:06 -04:00
|
|
|
mimalloc
|
2024-07-29 14:08:01 -04:00
|
|
|
libstdcxx5
|
2024-05-03 18:49:17 -04:00
|
|
|
];
|
2024-04-21 19:57:10 -04:00
|
|
|
|
|
|
|
# This option defines the first version of NixOS you have installed on this particular machine,
|
|
|
|
# and is used to maintain compatibility with application data (e.g. databases) created on older NixOS versions.
|
|
|
|
#
|
|
|
|
# Most users should NEVER change this value after the initial install, for any reason,
|
|
|
|
# even if you've upgraded your system to a new NixOS release.
|
|
|
|
#
|
|
|
|
# This value does NOT affect the Nixpkgs version your packages and OS are pulled from,
|
|
|
|
# so changing it will NOT upgrade your system.
|
|
|
|
#
|
|
|
|
# This value being lower than the current NixOS release does NOT mean your system is
|
|
|
|
# out of date, out of support, or vulnerable.
|
|
|
|
#
|
|
|
|
# Do NOT change this value unless you have manually inspected all the changes it would make to your configuration,
|
|
|
|
# and migrated your data accordingly.
|
|
|
|
#
|
|
|
|
# For more information, see `man configuration.nix` or https://nixos.org/manual/nixos/stable/options#opt-system.stateVersion .
|
|
|
|
system.stateVersion = "23.11"; # Did you read the comment?
|
|
|
|
|
|
|
|
}
|