2024-07-10 23:02:54 +02:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
pkgs,
|
|
|
|
lib,
|
|
|
|
nixos-hardware,
|
|
|
|
self,
|
|
|
|
...
|
|
|
|
}:
|
2024-07-02 13:34:55 +02:00
|
|
|
|
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
./hardware.nix
|
2024-11-19 23:09:04 +01:00
|
|
|
./disk.nix
|
2024-07-02 13:34:55 +02:00
|
|
|
nixos-hardware.nixosModules.framework-16-7040-amd
|
|
|
|
self.inputs.srvos.nixosModules.desktop
|
|
|
|
];
|
|
|
|
|
2024-09-14 12:24:40 +02:00
|
|
|
facter.reportPath = ./facter.json;
|
|
|
|
|
2024-10-11 22:02:20 +02:00
|
|
|
programs.nix-ld = {
|
|
|
|
enable = true;
|
|
|
|
libraries = with pkgs; [
|
|
|
|
libcxx
|
|
|
|
SDL
|
|
|
|
openal
|
|
|
|
libcaca
|
|
|
|
xorg.libXext
|
|
|
|
xorg.libX11
|
|
|
|
libpulseaudio
|
|
|
|
alsa-lib
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
2024-07-02 13:34:55 +02:00
|
|
|
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";
|
|
|
|
};
|
2024-07-15 18:00:45 +02:00
|
|
|
neovim.enable = true;
|
2024-07-02 13:34:55 +02:00
|
|
|
user = {
|
|
|
|
jopejoe1.enable = true;
|
|
|
|
root.enable = true;
|
|
|
|
};
|
|
|
|
boot.systemd.enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
services.xserver = {
|
2024-07-12 19:07:34 +02:00
|
|
|
xkb.variant = "altgr-intl";
|
2024-07-02 13:34:55 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
services = {
|
|
|
|
pcscd.enable = true;
|
|
|
|
udev.packages = [ pkgs.yubikey-personalization ];
|
|
|
|
fwupd.enable = true;
|
|
|
|
libinput.enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
time.timeZone = "Europe/Berlin";
|
|
|
|
|
|
|
|
hardware = {
|
2024-07-12 19:07:34 +02:00
|
|
|
graphics = {
|
2024-07-02 13:34:55 +02:00
|
|
|
enable = true;
|
2024-07-12 19:07:34 +02:00
|
|
|
enable32Bit = true;
|
2024-07-02 13:34:55 +02:00
|
|
|
};
|
|
|
|
gpgSmartcards.enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
environment.systemPackages = with pkgs; [
|
2024-09-27 09:29:44 +02:00
|
|
|
prismlauncher
|
2024-07-02 13:34:55 +02:00
|
|
|
goverlay
|
|
|
|
thunderbird
|
2024-08-07 18:30:54 +02:00
|
|
|
strawberry-qt6
|
|
|
|
picard
|
2024-08-07 18:32:19 +02:00
|
|
|
gh
|
2024-07-02 13:34:55 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2024-07-10 23:02:54 +02:00
|
|
|
nix.settings.system-features = [
|
|
|
|
"benchmark"
|
|
|
|
"big-parallel"
|
|
|
|
"kvm"
|
|
|
|
"nixos-test"
|
|
|
|
];
|
2024-07-02 13:34:55 +02:00
|
|
|
|
2024-07-10 23:02:54 +02:00
|
|
|
boot.binfmt.emulatedSystems = [
|
|
|
|
"riscv64-linux"
|
|
|
|
"aarch64-linux"
|
2024-08-17 01:03:49 +02:00
|
|
|
"armv6l-linux"
|
2024-07-10 23:02:54 +02:00
|
|
|
];
|
2024-07-02 13:34:55 +02:00
|
|
|
boot.plymouth = {
|
|
|
|
enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
boot.initrd.systemd.enable = true;
|
2024-07-12 18:25:09 +02:00
|
|
|
programs.captive-browser = {
|
|
|
|
enable = true;
|
|
|
|
interface = "wlp5s0";
|
|
|
|
};
|
2024-07-02 13:34:55 +02:00
|
|
|
}
|