diff options
| author | Stefan Weigl-Bosker <stefan@s00.xyz> | 2025-07-25 13:40:27 -0400 |
|---|---|---|
| committer | Stefan Weigl-Bosker <stefan@s00.xyz> | 2025-07-25 13:40:27 -0400 |
| commit | f2fb01a55b54dae9a5c26c7e1bae3d17c18de73e (patch) | |
| tree | c861617d8ff6f5fdf188b1f7dd5774c1d17a3cd5 /fw/configuration.nix | |
| parent | 8a0457f14d000b4aae8bbd4e950654802f01c584 (diff) | |
| download | home-f2fb01a55b54dae9a5c26c7e1bae3d17c18de73e.tar.gz | |
repo: format tree
Diffstat (limited to 'fw/configuration.nix')
| -rw-r--r-- | fw/configuration.nix | 45 |
1 files changed, 28 insertions, 17 deletions
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 = { |