74 lines
1.9 KiB
Nix
74 lines
1.9 KiB
Nix
{ config, pkgs, lib, stateVersion, ... }:
|
|
|
|
{
|
|
imports =
|
|
[ # Include the results of the hardware scan.
|
|
./hardware-configuration.nix
|
|
../../common/locales.nix
|
|
../../common/flakes.nix
|
|
../../common/user.nix
|
|
../../modules/nixos/pipewire.nix
|
|
../../modules/nixos/steam.nix
|
|
../../modules/nixos/xdg-portal.nix
|
|
../../modules/nixos/doas.nix
|
|
];
|
|
|
|
nixpkgs.config.allowUnfree = true;
|
|
|
|
# Use the systemd-boot EFI boot loader.
|
|
boot.loader.systemd-boot.enable = true;
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
|
|
|
boot.kernelPackages = pkgs.linuxPackages_latest;
|
|
#CPU
|
|
hardware.cpu.amd.updateMicrocode = true;
|
|
# GPU
|
|
hardware.opengl.driSupport = true;
|
|
hardware.opengl.driSupport32Bit = true;
|
|
|
|
# Bluetooth
|
|
hardware.bluetooth.enable = true;
|
|
hardware.xpadneo.enable = true;
|
|
networking.hostName = "mrmeeseeks";
|
|
|
|
console = {
|
|
earlySetup = true;
|
|
font = "${pkgs.terminus_font}/share/consolefonts/ter-132n.psf.gz";
|
|
packages = with pkgs; [terminus_font];
|
|
# keyMap = "us";
|
|
useXkbConfig = true; # use xkbOptions in tty.
|
|
};
|
|
|
|
security.rtkit.enable = true;
|
|
security.pam.services.swaylock = {};
|
|
services.udisks2.enable = true;
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
git
|
|
zsh
|
|
lvm2_dmeventd
|
|
];
|
|
|
|
services.lvm.enable = true;
|
|
services.lvm.dmeventd.enable = true;
|
|
|
|
home-manager = {
|
|
useGlobalPkgs = true;
|
|
useUserPackages = true;
|
|
users.ephase = {
|
|
home.stateVersion = stateVersion;
|
|
programs.home-manager.enable = true;
|
|
imports = [
|
|
../../modules/home/desktop
|
|
../../modules/home/webcord.nix
|
|
../../modules/home/cli
|
|
../../modules/home/firefox
|
|
../../modules/home/foot.nix
|
|
../../modules/home/lutris.nix
|
|
../../modules/home/zathura.nix
|
|
];
|
|
};
|
|
};
|
|
|
|
system.stateVersion = "23.05";
|
|
}
|