From f2fb01a55b54dae9a5c26c7e1bae3d17c18de73e Mon Sep 17 00:00:00 2001 From: Stefan Weigl-Bosker Date: Fri, 25 Jul 2025 13:40:27 -0400 Subject: repo: format tree --- fw/configuration.nix | 45 ++++++++++++++++++++++++++++----------------- 1 file changed, 28 insertions(+), 17 deletions(-) (limited to 'fw/configuration.nix') diff --git a/fw/configuration.nix b/fw/configuration.nix index c440db4..0b9ebe3 100644 --- a/fw/configuration.nix +++ b/fw/configuration.nix @@ -1,10 +1,14 @@ -{ config, lib, pkgs, ... }: { - imports = - [ - ../nixos - ./hardware-configuration.nix - ]; + config, + lib, + pkgs, + ... +}: +{ + imports = [ + ../nixos + ./hardware-configuration.nix + ]; config.nixos = { username = "stefan"; @@ -13,7 +17,10 @@ }; config = { - nix.settings.experimental-features = [ "nix-command" "flakes" ]; + nix.settings.experimental-features = [ + "nix-command" + "flakes" + ]; services.openssh.enable = true; programs.light.enable = true; @@ -37,7 +44,11 @@ }; }; - users.users."stefan".extraGroups = [ "input" "uinput" "video" ]; # TODO: remove + users.users."stefan".extraGroups = [ + "input" + "uinput" + "video" + ]; # TODO: remove environment.gnome.excludePackages = with pkgs; [ gnome-photos @@ -67,16 +78,16 @@ # Enable automatic login for the user. # services.getty.autologinUser = "stefan"; - + # services.interception-tools = { - # enable = true; - # plugins = [ pkgs.interception ] - # udevmonConfig = '' - # - JOB: "${pkgs.interception-tools}/bin/intercept -g $DEVNODE | ${pkgs.interception-tools-plugins.caps2esc}/bin/caps2esc | ${pkgs.interception-tools}/bin/uinput -d $DEVNODE" - # DEVICE: - # EVENTS: - # EV_KEY: [KEY_CAPSLOCK, KEY_ESC] - # ''; + # enable = true; + # plugins = [ pkgs.interception ] + # udevmonConfig = '' + # - JOB: "${pkgs.interception-tools}/bin/intercept -g $DEVNODE | ${pkgs.interception-tools-plugins.caps2esc}/bin/caps2esc | ${pkgs.interception-tools}/bin/uinput -d $DEVNODE" + # DEVICE: + # EVENTS: + # EV_KEY: [KEY_CAPSLOCK, KEY_ESC] + # ''; # }; services.fwupd.enable = true; # systemd.services.fprintd = { -- cgit v1.2.3