Charlotte 🦝 Delenk
332c2a7c12
All checks were successful
Hydra packages.x86_64-linux.mautrix-telegram Hydra build #21519 of nixos-config:pr615:packages.x86_64-linux.mautrix-telegram
Hydra packages.x86_64-linux.emoji-volpeon-raccoon Hydra build #21510 of nixos-config:pr615:packages.x86_64-linux.emoji-volpeon-raccoon
Hydra packages.aarch64-linux.emoji-volpeon-bunhd-flip Hydra build #21448 of nixos-config:pr615:packages.aarch64-linux.emoji-volpeon-bunhd-flip
Hydra packages.aarch64-linux.plover-plugin-tapey-tape Hydra build #21483 of nixos-config:pr615:packages.aarch64-linux.plover-plugin-tapey-tape
Hydra packages.x86_64-linux.papermc Hydra build #21524 of nixos-config:pr615:packages.x86_64-linux.papermc
Hydra packages.aarch64-linux.plover-plugin-yaml-dictionary Hydra build #21484 of nixos-config:pr615:packages.aarch64-linux.plover-plugin-yaml-dictionary
Hydra packages.aarch64-linux.plover-plugins-manager Hydra build #21485 of nixos-config:pr615:packages.aarch64-linux.plover-plugins-manager
Hydra packages.aarch64-linux.python-simplefuzzyset Hydra build #21489 of nixos-config:pr615:packages.aarch64-linux.python-simplefuzzyset
Hydra packages.x86_64-linux.emoji-rosaflags Hydra build #21499 of nixos-config:pr615:packages.x86_64-linux.emoji-rosaflags
Hydra packages.aarch64-linux.miifox-net Hydra build #21467 of nixos-config:pr615:packages.aarch64-linux.miifox-net
Hydra packages.aarch64-linux.python-mautrix Hydra build #21486 of nixos-config:pr615:packages.aarch64-linux.python-mautrix
Hydra packages.x86_64-linux.plover-plugin-tapey-tape Hydra build #21538 of nixos-config:pr615:packages.x86_64-linux.plover-plugin-tapey-tape
Hydra packages.aarch64-linux.plover-dict-didoesdigital Hydra build #21471 of nixos-config:pr615:packages.aarch64-linux.plover-dict-didoesdigital
Hydra packages.aarch64-linux.plover-plugin-machine-hid Hydra build #21477 of nixos-config:pr615:packages.aarch64-linux.plover-plugin-machine-hid
Hydra packages.aarch64-linux.emoji-volpeon-fox Hydra build #21451 of nixos-config:pr615:packages.aarch64-linux.emoji-volpeon-fox
Hydra packages.aarch64-linux.yiffstash Hydra build #21491 of nixos-config:pr615:packages.aarch64-linux.yiffstash
Hydra packages.aarch64-linux.emoji-volpeon-vlpn Hydra build #21456 of nixos-config:pr615:packages.aarch64-linux.emoji-volpeon-vlpn
Hydra packages.aarch64-linux.asar-asm Hydra build #21438 of nixos-config:pr615:packages.aarch64-linux.asar-asm
Hydra packages.x86_64-linux.mgba-dev Hydra build #21521 of nixos-config:pr615:packages.x86_64-linux.mgba-dev
Hydra packages.x86_64-linux.kreative-square Hydra build #21514 of nixos-config:pr615:packages.x86_64-linux.kreative-square
Hydra packages.aarch64-linux.emoji-volpeon-floof Hydra build #21450 of nixos-config:pr615:packages.aarch64-linux.emoji-volpeon-floof
Hydra packages.aarch64-linux.mautrix-discord Hydra build #21462 of nixos-config:pr615:packages.aarch64-linux.mautrix-discord
Hydra packages.x86_64-linux.plover-plugin-stenotype-extended Hydra build #21536 of nixos-config:pr615:packages.x86_64-linux.plover-plugin-stenotype-extended
Hydra packages.aarch64-linux.emoji-volpeon-blobfox Hydra build #21445 of nixos-config:pr615:packages.aarch64-linux.emoji-volpeon-blobfox
Hydra instance-20221213-1915.aarch64-linux Hydra build #21434 of nixos-config:pr615:instance-20221213-1915.aarch64-linux
Hydra packages.x86_64-linux.nasin-nanpa Hydra build #21523 of nixos-config:pr615:packages.x86_64-linux.nasin-nanpa
Hydra packages.aarch64-linux.emoji-volpeon-bunhd Hydra build #21447 of nixos-config:pr615:packages.aarch64-linux.emoji-volpeon-bunhd
Hydra packages.aarch64-linux.mautrix-whatsapp Hydra build #21465 of nixos-config:pr615:packages.aarch64-linux.mautrix-whatsapp
Hydra packages.aarch64-linux.fairfax-hd Hydra build #21458 of nixos-config:pr615:packages.aarch64-linux.fairfax-hd
Hydra packages.x86_64-linux.plover-plugin-emoji Hydra build #21529 of nixos-config:pr615:packages.x86_64-linux.plover-plugin-emoji
Hydra packages.aarch64-linux.lotte-art Hydra build #21460 of nixos-config:pr615:packages.aarch64-linux.lotte-art
Hydra packages.x86_64-linux.plover-plugin-dotool-output Hydra build #21528 of nixos-config:pr615:packages.x86_64-linux.plover-plugin-dotool-output
Hydra packages.x86_64-linux.python-plover-stroke Hydra build #21542 of nixos-config:pr615:packages.x86_64-linux.python-plover-stroke
Hydra packages.x86_64-linux.mautrix-slack Hydra build #21518 of nixos-config:pr615:packages.x86_64-linux.mautrix-slack
Hydra packages.aarch64-linux.plover Hydra build #21470 of nixos-config:pr615:packages.aarch64-linux.plover
Hydra packages.x86_64-linux.lotte-art Hydra build #21515 of nixos-config:pr615:packages.x86_64-linux.lotte-art
Hydra packages.aarch64-linux.fairfax Hydra build #21457 of nixos-config:pr615:packages.aarch64-linux.fairfax
Hydra packages.x86_64-linux.plover-plugin-dict-commands Hydra build #21527 of nixos-config:pr615:packages.x86_64-linux.plover-plugin-dict-commands
Hydra packages.aarch64-linux.plover-plugin-lapwing-aio Hydra build #21475 of nixos-config:pr615:packages.aarch64-linux.plover-plugin-lapwing-aio
Hydra packages.aarch64-linux.constructium Hydra build #21440 of nixos-config:pr615:packages.aarch64-linux.constructium
Hydra packages.aarch64-linux.emoji-volpeon-gphn Hydra build #21452 of nixos-config:pr615:packages.aarch64-linux.emoji-volpeon-gphn
Hydra packages.aarch64-linux.emoji-volpeon-blobfox-flip Hydra build #21446 of nixos-config:pr615:packages.aarch64-linux.emoji-volpeon-blobfox-flip
Hydra packages.x86_64-linux.emoji-volpeon-drgn Hydra build #21504 of nixos-config:pr615:packages.x86_64-linux.emoji-volpeon-drgn
Hydra packages.x86_64-linux.plover-dict-didoesdigital Hydra build #21526 of nixos-config:pr615:packages.x86_64-linux.plover-dict-didoesdigital
Hydra packages.x86_64-linux.matrix-media-repo Hydra build #21516 of nixos-config:pr615:packages.x86_64-linux.matrix-media-repo
Hydra packages.x86_64-linux.plover-plugin-yaml-dictionary Hydra build #21539 of nixos-config:pr615:packages.x86_64-linux.plover-plugin-yaml-dictionary
Hydra packages.x86_64-linux.emoji-volpeon-bunhd-flip Hydra build #21503 of nixos-config:pr615:packages.x86_64-linux.emoji-volpeon-bunhd-flip
Hydra packages.x86_64-linux.plover-plugin-lapwing-aio Hydra build #21530 of nixos-config:pr615:packages.x86_64-linux.plover-plugin-lapwing-aio
Hydra packages.x86_64-linux.fairfax-hd Hydra build #21513 of nixos-config:pr615:packages.x86_64-linux.fairfax-hd
Hydra packages.x86_64-linux.emoji-caro Hydra build #21496 of nixos-config:pr615:packages.x86_64-linux.emoji-caro
Hydra packages.x86_64-linux.plover-plugin-stitching Hydra build #21537 of nixos-config:pr615:packages.x86_64-linux.plover-plugin-stitching
Hydra packages.aarch64-linux.emoji-rosaflags Hydra build #21444 of nixos-config:pr615:packages.aarch64-linux.emoji-rosaflags
Hydra packages.x86_64-linux.plover-plugin-machine-hid Hydra build #21532 of nixos-config:pr615:packages.x86_64-linux.plover-plugin-machine-hid
Hydra packages.x86_64-linux.emoji-raccoon Hydra build #21498 of nixos-config:pr615:packages.x86_64-linux.emoji-raccoon
Hydra packages.aarch64-linux.emoji-caro Hydra build #21441 of nixos-config:pr615:packages.aarch64-linux.emoji-caro
Hydra packages.x86_64-linux.plover-plugins-manager Hydra build #21540 of nixos-config:pr615:packages.x86_64-linux.plover-plugins-manager
Hydra packages.x86_64-linux.alco-sans Hydra build #21492 of nixos-config:pr615:packages.x86_64-linux.alco-sans
Hydra packages.aarch64-linux.nasin-nanpa Hydra build #21468 of nixos-config:pr615:packages.aarch64-linux.nasin-nanpa
Hydra packages.x86_64-linux.miifox-net Hydra build #21522 of nixos-config:pr615:packages.x86_64-linux.miifox-net
Hydra packages.aarch64-linux.plover-plugin-modal-dictionary Hydra build #21478 of nixos-config:pr615:packages.aarch64-linux.plover-plugin-modal-dictionary
Hydra packages.aarch64-linux.emoji-lotte Hydra build #21442 of nixos-config:pr615:packages.aarch64-linux.emoji-lotte
Hydra packages.x86_64-linux.yiffstash Hydra build #21546 of nixos-config:pr615:packages.x86_64-linux.yiffstash
Hydra packages.x86_64-linux.plover-plugin-modal-dictionary Hydra build #21533 of nixos-config:pr615:packages.x86_64-linux.plover-plugin-modal-dictionary
Hydra devShell.x86_64-linux Hydra build #21432 of nixos-config:pr615:devShell.x86_64-linux
Hydra packages.aarch64-linux.python-tulir-telethon Hydra build #21490 of nixos-config:pr615:packages.aarch64-linux.python-tulir-telethon
Hydra packages.x86_64-linux.bsnes-plus Hydra build #21494 of nixos-config:pr615:packages.x86_64-linux.bsnes-plus
Hydra packages.x86_64-linux.emoji-volpeon-blobfox Hydra build #21500 of nixos-config:pr615:packages.x86_64-linux.emoji-volpeon-blobfox
Hydra packages.x86_64-linux.python-mautrix Hydra build #21541 of nixos-config:pr615:packages.x86_64-linux.python-mautrix
Hydra packages.aarch64-linux.plover-plugin-stitching Hydra build #21482 of nixos-config:pr615:packages.aarch64-linux.plover-plugin-stitching
Hydra packages.x86_64-linux.mautrix-whatsapp Hydra build #21520 of nixos-config:pr615:packages.x86_64-linux.mautrix-whatsapp
Hydra packages.aarch64-linux.matrix-media-repo Hydra build #21461 of nixos-config:pr615:packages.aarch64-linux.matrix-media-repo
Hydra packages.x86_64-linux.emoji-volpeon-blobfox-flip Hydra build #21501 of nixos-config:pr615:packages.x86_64-linux.emoji-volpeon-blobfox-flip
Hydra packages.aarch64-linux.plover-plugin-dotool-output Hydra build #21473 of nixos-config:pr615:packages.aarch64-linux.plover-plugin-dotool-output
Hydra packages.x86_64-linux.emoji-lotte Hydra build #21497 of nixos-config:pr615:packages.x86_64-linux.emoji-lotte
Hydra packages.x86_64-linux.emoji-volpeon-neofox Hydra build #21509 of nixos-config:pr615:packages.x86_64-linux.emoji-volpeon-neofox
Hydra packages.x86_64-linux.python-rtf-tokenize Hydra build #21543 of nixos-config:pr615:packages.x86_64-linux.python-rtf-tokenize
Hydra packages.aarch64-linux.plover-plugin-python-dictionary Hydra build #21479 of nixos-config:pr615:packages.aarch64-linux.plover-plugin-python-dictionary
Hydra packages.aarch64-linux.bsnes-plus Hydra build #21439 of nixos-config:pr615:packages.aarch64-linux.bsnes-plus
Hydra packages.aarch64-linux.papermc Hydra build #21469 of nixos-config:pr615:packages.aarch64-linux.papermc
Hydra packages.aarch64-linux.emoji-volpeon-drgn Hydra build #21449 of nixos-config:pr615:packages.aarch64-linux.emoji-volpeon-drgn
Hydra packages.x86_64-linux.emoji-volpeon-vlpn Hydra build #21511 of nixos-config:pr615:packages.x86_64-linux.emoji-volpeon-vlpn
Hydra packages.aarch64-linux.mautrix-telegram Hydra build #21464 of nixos-config:pr615:packages.aarch64-linux.mautrix-telegram
Hydra packages.aarch64-linux.plover-plugin-stenotype-extended Hydra build #21481 of nixos-config:pr615:packages.aarch64-linux.plover-plugin-stenotype-extended
Hydra packages.aarch64-linux.emoji-volpeon-neofox Hydra build #21454 of nixos-config:pr615:packages.aarch64-linux.emoji-volpeon-neofox
Hydra packages.aarch64-linux.kreative-square Hydra build #21459 of nixos-config:pr615:packages.aarch64-linux.kreative-square
Hydra packages.aarch64-linux.plover-plugin-emoji Hydra build #21474 of nixos-config:pr615:packages.aarch64-linux.plover-plugin-emoji
Hydra packages.x86_64-linux.constructium Hydra build #21495 of nixos-config:pr615:packages.x86_64-linux.constructium
Hydra packages.aarch64-linux.mgba-dev Hydra build #21466 of nixos-config:pr615:packages.aarch64-linux.mgba-dev
Hydra packages.x86_64-linux.emoji-volpeon-neocat Hydra build #21508 of nixos-config:pr615:packages.x86_64-linux.emoji-volpeon-neocat
Hydra packages.x86_64-linux.emoji-volpeon-gphn Hydra build #21507 of nixos-config:pr615:packages.x86_64-linux.emoji-volpeon-gphn
Hydra packages.aarch64-linux.plover-plugin-last-translation Hydra build #21476 of nixos-config:pr615:packages.aarch64-linux.plover-plugin-last-translation
Hydra packages.aarch64-linux.alco-sans Hydra build #21437 of nixos-config:pr615:packages.aarch64-linux.alco-sans
Hydra packages.x86_64-linux.python-simplefuzzyset Hydra build #21544 of nixos-config:pr615:packages.x86_64-linux.python-simplefuzzyset
Hydra installer.x86_64-linux Hydra build #21433 of nixos-config:pr615:installer.x86_64-linux
Hydra vf2.riscv64-linux Hydra build #21549 of nixos-config:pr615:vf2.riscv64-linux
Hydra nas.x86_64-linux Hydra build #21435 of nixos-config:pr615:nas.x86_64-linux
Hydra packages.x86_64-linux.plover Hydra build #21525 of nixos-config:pr615:packages.x86_64-linux.plover
Hydra packages.x86_64-linux.plover-plugin-last-translation Hydra build #21531 of nixos-config:pr615:packages.x86_64-linux.plover-plugin-last-translation
Hydra packages.x86_64-linux.asar-asm Hydra build #21493 of nixos-config:pr615:packages.x86_64-linux.asar-asm
Hydra packages.aarch64-linux.python-rtf-tokenize Hydra build #21488 of nixos-config:pr615:packages.aarch64-linux.python-rtf-tokenize
Hydra packages.x86_64-linux.python-tulir-telethon Hydra build #21545 of nixos-config:pr615:packages.x86_64-linux.python-tulir-telethon
Hydra packages.aarch64-linux.plover-plugin-rkb1-hid Hydra build #21480 of nixos-config:pr615:packages.aarch64-linux.plover-plugin-rkb1-hid
Hydra packages.x86_64-linux.emoji-volpeon-bunhd Hydra build #21502 of nixos-config:pr615:packages.x86_64-linux.emoji-volpeon-bunhd
Hydra packages.x86_64-linux.emoji-volpeon-fox Hydra build #21506 of nixos-config:pr615:packages.x86_64-linux.emoji-volpeon-fox
Hydra packages.aarch64-linux.plover-plugin-dict-commands Hydra build #21472 of nixos-config:pr615:packages.aarch64-linux.plover-plugin-dict-commands
Hydra packages.aarch64-linux.emoji-volpeon-raccoon Hydra build #21455 of nixos-config:pr615:packages.aarch64-linux.emoji-volpeon-raccoon
Hydra packages.x86_64-linux.plover-plugin-rkb1-hid Hydra build #21535 of nixos-config:pr615:packages.x86_64-linux.plover-plugin-rkb1-hid
Hydra packages.aarch64-linux.emoji-raccoon Hydra build #21443 of nixos-config:pr615:packages.aarch64-linux.emoji-raccoon
Hydra packages.x86_64-linux.fairfax Hydra build #21512 of nixos-config:pr615:packages.x86_64-linux.fairfax
Hydra packages.aarch64-linux.mautrix-slack Hydra build #21463 of nixos-config:pr615:packages.aarch64-linux.mautrix-slack
Hydra packages.aarch64-linux.python-plover-stroke Hydra build #21487 of nixos-config:pr615:packages.aarch64-linux.python-plover-stroke
Hydra nixos-8gb-fsn1-1.x86_64-linux Hydra build #21436 of nixos-config:pr615:nixos-8gb-fsn1-1.x86_64-linux
Hydra packages.x86_64-linux.emoji-volpeon-floof Hydra build #21505 of nixos-config:pr615:packages.x86_64-linux.emoji-volpeon-floof
Hydra packages.aarch64-linux.emoji-volpeon-neocat Hydra build #21453 of nixos-config:pr615:packages.aarch64-linux.emoji-volpeon-neocat
Hydra packages.x86_64-linux.plover-plugin-python-dictionary Hydra build #21534 of nixos-config:pr615:packages.x86_64-linux.plover-plugin-python-dictionary
Hydra packages.x86_64-linux.mautrix-discord Hydra build #21517 of nixos-config:pr615:packages.x86_64-linux.mautrix-discord
Hydra rainbow-resort.x86_64-linux Hydra build #21547 of nixos-config:pr615:rainbow-resort.x86_64-linux
Hydra thinkrac.x86_64-linux Hydra build #21548 of nixos-config:pr615:thinkrac.x86_64-linux
209 lines
5.5 KiB
Nix
209 lines
5.5 KiB
Nix
{
|
|
system,
|
|
config,
|
|
pkgs,
|
|
lib,
|
|
...
|
|
} @ args: let
|
|
lockscreen-all = pkgs.writeScript "lockscreen-all" ''
|
|
#!${pkgs.bash}/bin/bash
|
|
|
|
if ${pkgs.coreutils}/bin/[ -z "$(${pkgs.usbutils}/bin/lsusb | grep Yubico)" ]; then
|
|
${pkgs.systemd}/bin/loginctl list-sessions | ${pkgs.gnugrep}/bin/grep '^\ ' | ${pkgs.gawk}/bin/awk '{print $1}' | ${pkgs.findutils}/bin/xargs -i ${pkgs.systemd}/bin/loginctl lock-session {}
|
|
fi
|
|
'';
|
|
in {
|
|
imports =
|
|
[
|
|
./services/pipewire.nix
|
|
./desktop-secrets.nix
|
|
./services/cups.nix
|
|
./services/docker.nix
|
|
./services/cifs.nix
|
|
./kde.nix
|
|
#./sway.nix
|
|
]
|
|
/*
|
|
++ (
|
|
if system == "x86_64-linux"
|
|
then [./programs/virtualbox.nix]
|
|
else []
|
|
)
|
|
*/
|
|
;
|
|
fonts = {
|
|
fontDir.enable = true;
|
|
fontconfig = {
|
|
enable = true;
|
|
defaultFonts = {
|
|
emoji = ["Noto Color Emoji"];
|
|
monospace = ["Fira Code" "Font Awesome 5 Free"];
|
|
sansSerif = ["Noto Sans" "Font Awesome 5 Free"];
|
|
serif = ["Noto Serif" "Font Awesome 5 Free"];
|
|
};
|
|
};
|
|
packages = with pkgs; [
|
|
fira-code
|
|
fira-code-symbols
|
|
font-awesome
|
|
noto-fonts
|
|
noto-fonts-cjk-sans
|
|
noto-fonts-emoji
|
|
noto-fonts-extra
|
|
(nerdfonts.override {fonts = ["FiraCode" "DroidSansMono" "Noto"];})
|
|
nasin-nanpa
|
|
fairfax-hd
|
|
(pkgs.stdenvNoCC.mkDerivation rec {
|
|
pname = "zbalermorna";
|
|
version = "920b28d798ae1c06885c674bbf02b08ffed12b2f";
|
|
src = pkgs.fetchFromGitHub {
|
|
owner = "jackhumbert";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "00sl3f1x4frh166mq85lwl9v1f5r3ckkfg8id5fibafymick5vyp";
|
|
};
|
|
installPhase = ''
|
|
mkdir -p $out/share/fonts
|
|
cp -r $src/fonts/*.otf $out/share/fonts
|
|
'';
|
|
})
|
|
];
|
|
};
|
|
fonts.fontconfig.localConf = ''
|
|
<?xml version="1.0"?>
|
|
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
|
<fontconfig>
|
|
<match target="scan">
|
|
<test name="family">
|
|
<string>Fairfax HD</string>
|
|
</test>
|
|
<edit name="spacing">
|
|
<int>100</int>
|
|
</edit>
|
|
</match>
|
|
</fontconfig>
|
|
'';
|
|
|
|
time.timeZone = "Europe/Berlin";
|
|
services.pcscd.enable = true;
|
|
|
|
security.pam = {
|
|
services.login.u2fAuth = true;
|
|
services.swaylock.u2fAuth = true;
|
|
u2f = {
|
|
enable = true;
|
|
control = "required";
|
|
};
|
|
};
|
|
services.udev.extraRules = ''
|
|
ACTION=="remove", ENV{ID_VENDOR_ID}=="1050", ENV{ID_MODEL_ID}=="0407", RUN+="${lockscreen-all}"
|
|
ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="e621", ATTRS{idProduct}=="0000", TAG+="uaccess"
|
|
ACTION=="add", SUBSYSTEM=="hidraw*", ATTRS{idVendor}=="e621", ATTRS{idProduct}=="0000", TAG+="uaccess"
|
|
ACTION=="add", SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="057e", ATTRS{idProduct}=="0337", TAG+="uaccess"
|
|
ACTION=="add", SUBSYSTEM=="hidraw*", ATTRS{idVendor}=="057e", ATTRS{idProduct}=="0306", TAG+="uaccess"
|
|
ACTION=="add", SUBSYSTEM=="hidraw*", ATTRS{idVendor}=="057e", ATTRS{idProduct}=="0330", TAG+="uaccess"
|
|
ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="0403", ATTRS={idProduct}=="6010", OWNER="user", MODE="0777", GROUP="dialout"
|
|
'';
|
|
programs.steam.enable = system == "x86_64-linux";
|
|
nixpkgs.overlays = [
|
|
(curr: prev: {
|
|
steam = prev.steam.override {
|
|
extraPkgs = pkgs:
|
|
with pkgs; [
|
|
mono
|
|
fuse
|
|
];
|
|
};
|
|
})
|
|
];
|
|
services.flatpak.enable = true;
|
|
programs.java.enable = true;
|
|
hardware.opengl.driSupport32Bit = lib.mkForce (system == "x86_64-linux");
|
|
home-manager.users.darkkirb = import ./home-manager/darkkirb.nix {
|
|
desktop = true;
|
|
inherit args;
|
|
};
|
|
|
|
# For syncthing
|
|
networking.firewall.allowedTCPPorts = [22000];
|
|
networking.firewall.allowedUDPPorts = [22000];
|
|
networking.firewall.allowedTCPPortRanges = [
|
|
{
|
|
from = 1714;
|
|
to = 1764;
|
|
}
|
|
];
|
|
networking.firewall.allowedUDPPortRanges = [
|
|
{
|
|
from = 1714;
|
|
to = 1764;
|
|
}
|
|
];
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
pinentry-qt
|
|
dotool
|
|
wl-clipboard
|
|
#plasma5Packages.thirdParty.lightly
|
|
];
|
|
|
|
xdg.portal = {
|
|
enable = true;
|
|
wlr.enable = true;
|
|
# gtk portal needed to make gtk apps happy
|
|
extraPortals = [pkgs.xdg-desktop-portal-gtk];
|
|
config.common.default = "*";
|
|
};
|
|
programs.dconf.enable = true;
|
|
services.xserver = {
|
|
enable = true;
|
|
libinput.enable = true;
|
|
layout = "de";
|
|
xkbVariant = "neo";
|
|
displayManager.lightdm.enable = false;
|
|
extraLayouts.zlr = {
|
|
description = "lojban layout";
|
|
languages = ["jbo"];
|
|
symbolsFile = ../extra/keyboard/symbols;
|
|
};
|
|
};
|
|
i18n.inputMethod = {
|
|
enabled = "ibus";
|
|
ibus.engines = with pkgs.ibus-engines; [anthy];
|
|
};
|
|
security.polkit.enable = true;
|
|
services.dbus.enable = true;
|
|
services.dbus.packages = with pkgs; [dconf];
|
|
# Futureproofing: on non-x86 machines, emulate x86
|
|
boot.binfmt.emulatedSystems =
|
|
if system != "x86_64-linux"
|
|
then [
|
|
"x86_64-linux"
|
|
"i686-linux"
|
|
]
|
|
else [];
|
|
|
|
virtualisation = {
|
|
waydroid.enable = true;
|
|
lxd.enable = true;
|
|
};
|
|
|
|
programs.gamemode.enable = true;
|
|
nixpkgs.config.permittedInsecurePackages = ["electron-26.3.0"];
|
|
|
|
boot = {
|
|
plymouth.enable = true;
|
|
consoleLogLevel = 0;
|
|
initrd.verbose = false;
|
|
kernelParams = [
|
|
"quiet"
|
|
"splash"
|
|
"boot.shell_on_fail"
|
|
"loglevel=3"
|
|
"rd.systemd.show_status=false"
|
|
"rd.udev.log_level=3"
|
|
"udev.log_priority=3"
|
|
];
|
|
loader.timeout = 0;
|
|
};
|
|
}
|