mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2024-12-29 18:56:51 +01:00
123 lines
2.1 KiB
Nix
123 lines
2.1 KiB
Nix
{
|
|
config,
|
|
pkgs,
|
|
lib,
|
|
nixos-hardware,
|
|
self,
|
|
...
|
|
}:
|
|
|
|
{
|
|
imports = [
|
|
./hardware.nix
|
|
./disk.nix
|
|
nixos-hardware.nixosModules.framework-16-7040-amd
|
|
self.inputs.srvos.nixosModules.desktop
|
|
];
|
|
|
|
facter.reportPath = ./facter.json;
|
|
|
|
programs.nix-ld = {
|
|
enable = true;
|
|
libraries = with pkgs; [
|
|
libcxx
|
|
SDL
|
|
openal
|
|
libcaca
|
|
xorg.libXext
|
|
xorg.libX11
|
|
libpulseaudio
|
|
alsa-lib
|
|
];
|
|
};
|
|
|
|
jopejoe1 = {
|
|
audio = {
|
|
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";
|
|
};
|
|
neovim.enable = true;
|
|
user = {
|
|
jopejoe1.enable = true;
|
|
root.enable = true;
|
|
};
|
|
boot.systemd.enable = true;
|
|
};
|
|
|
|
services.xserver = {
|
|
xkb.variant = "altgr-intl";
|
|
};
|
|
|
|
services = {
|
|
pcscd.enable = true;
|
|
udev.packages = [ pkgs.yubikey-personalization ];
|
|
fwupd.enable = true;
|
|
libinput.enable = true;
|
|
};
|
|
|
|
time.timeZone = "Europe/Berlin";
|
|
|
|
hardware = {
|
|
graphics = {
|
|
enable = true;
|
|
enable32Bit = true;
|
|
};
|
|
gpgSmartcards.enable = true;
|
|
};
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
prismlauncher
|
|
goverlay
|
|
thunderbird
|
|
strawberry-qt6
|
|
picard
|
|
gh
|
|
];
|
|
|
|
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"
|
|
"armv6l-linux"
|
|
];
|
|
boot.plymouth = {
|
|
enable = true;
|
|
};
|
|
|
|
boot.initrd.systemd.enable = true;
|
|
programs.captive-browser = {
|
|
enable = true;
|
|
interface = "wlp5s0";
|
|
};
|
|
}
|