Fix nixfmt

This commit is contained in:
Fabian Hauser 2021-06-06 14:31:41 +02:00
parent d3b9277ca3
commit f2ed517b70
3 changed files with 26 additions and 22 deletions

View file

@ -20,7 +20,7 @@
./swaylock.nix ./swaylock.nix
./kanshi.nix ./kanshi.nix
]; ];
home-manager.users.fhauser = {config, pkgs, ...}: { home-manager.users.fhauser = { config, pkgs, ... }: {
home = { home = {
packages = with pkgs; packages = with pkgs;
[ # Networking [ # Networking
@ -77,9 +77,9 @@
modem-manager-gui modem-manager-gui
]; ];
#TODO: Write module #TODO: Write module
activation.statefulConfigSymlinks = config.lib.dag.entryAfter ["writeBoundary"] '' activation.statefulConfigSymlinks =
config.lib.dag.entryAfter [ "writeBoundary" ] ''
set -eo pipefail set -eo pipefail
STATEFUL_CONFS=( STATEFUL_CONFS=(

View file

@ -1,5 +1,5 @@
{ pkgs, lib, config, ... }: { { pkgs, lib, config, ... }: {
# home-manager.users.fhauser.systemd.user.services.kanshi.Install.WantedBy = "home-manager-fhauser.service"; # TODO: Upstream array type of systemdTarget # home-manager.users.fhauser.systemd.user.services.kanshi.Install.WantedBy = "home-manager-fhauser.service"; # TODO: Upstream array type of systemdTarget
home-manager.users.fhauser.services.kanshi = { home-manager.users.fhauser.services.kanshi = {
enable = true; enable = true;
profiles = let profiles = let

View file

@ -10,7 +10,11 @@
boot.initrd.availableKernelModules = boot.initrd.availableKernelModules =
[ "xhci_pci" "nvme" "usb_storage" "usbhid" "sd_mod" ]; [ "xhci_pci" "nvme" "usb_storage" "usbhid" "sd_mod" ];
boot.kernelModules = [ "kvm-intel" "qmi_wwan" ]; # TODO: qmi_wwan required? boot.kernelModules = [ "kvm-intel" "qmi_wwan" ]; # TODO: qmi_wwan required?
environment.systemPackages = with pkgs; [ modemmanager libmbim libqmi ]; # TODO: this should not be required environment.systemPackages = with pkgs; [
modemmanager
libmbim
libqmi
]; # TODO: this should not be required
# Ignore Realtek smartcard (gpg is not very smart) # Ignore Realtek smartcard (gpg is not very smart)
# See https://ludovicrousseau.blogspot.com/2015/12/remove-andor-customize-pcsc-reader-names.html # See https://ludovicrousseau.blogspot.com/2015/12/remove-andor-customize-pcsc-reader-names.html
systemd.services.pcscd.environment.PCSCLITE_FILTER_IGNORE_READER_NAMES = systemd.services.pcscd.environment.PCSCLITE_FILTER_IGNORE_READER_NAMES =