nix-conf/systems/omoikane/default.nix
2024-07-02 13:34:55 +02:00

84 lines
1.7 KiB
Nix

{ config, pkgs, lib, nixos-hardware, self, ... }:
{
imports = [
./hardware.nix
nixos-hardware.nixosModules.framework-16-7040-amd
self.inputs.srvos.nixosModules.desktop
];
jopejoe1 = {
audio = {
enable = true;
};
bluetooth.enable = true;
local.enable = true;
nix.enable = true;
plasma.enable = true;
printing.enable = true;
steam.enable = true;
ssh.enable = true;
sway.enable = true;
zerotierone.enable = true;
gui.enable = true;
keyboard = {
enable = true;
layout = "us";
};
user = {
jopejoe1.enable = true;
root.enable = true;
};
boot.systemd.enable = true;
};
services.xserver = {
xkbVariant = "altgr-intl";
};
services = {
pcscd.enable = true;
udev.packages = [ pkgs.yubikey-personalization ];
fwupd.enable = true;
libinput.enable = true;
};
time.timeZone = "Europe/Berlin";
hardware = {
opengl = {
enable = true;
driSupport32Bit = true;
};
gpgSmartcards.enable = true;
};
environment.systemPackages = with pkgs; [
localPkgs.prismlauncher-withExtraStuff
goverlay
libreoffice-qt
thunderbird
];
programs = {
adb.enable = true;
dconf.enable = true;
xwayland.enable = true;
kdeconnect.enable = true;
gamemode.enable = true;
gnupg.agent = {
enable = true;
enableSSHSupport = true;
pinentryPackage = pkgs.pinentry-qt;
};
};
nix.settings.system-features = [ "benchmark" "big-parallel" "kvm" "nixos-test" ];
boot.binfmt.emulatedSystems = [ "riscv64-linux" "aarch64-linux" ];
boot.plymouth = {
enable = true;
};
boot.initrd.systemd.enable = true;
}