From 6d984aee0603cf8050506ac4edee86bf849bf2bf Mon Sep 17 00:00:00 2001 From: Annika Merris Date: Tue, 7 May 2024 10:38:42 -0400 Subject: [PATCH] Misc changes. --- hosts/kim/configuration.nix | 8 +++++++- hosts/kim/home.nix | 9 ++++++++- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/hosts/kim/configuration.nix b/hosts/kim/configuration.nix index 93e5a13..1344464 100644 --- a/hosts/kim/configuration.nix +++ b/hosts/kim/configuration.nix @@ -112,6 +112,7 @@ wget discord git + logiops ]; # Some programs need SUID wrappers, can be configured further or are @@ -127,9 +128,14 @@ # Enable the OpenSSH daemon. services.openssh.enable = true; + hardware.bluetooth.enable = true; + hardware.bluetooth.powerOnBoot = true; + # Open ports in the firewall. # networking.firewall.allowedTCPPorts = [ ... ]; - # networking.firewall.allowedUDPPorts = [ ... ]; + networking.firewall.allowedUDPPorts = [ + 5353 + ]; # Or disable the firewall altogether. # networking.firewall.enable = false; diff --git a/hosts/kim/home.nix b/hosts/kim/home.nix index ba3ce0b..bd678df 100644 --- a/hosts/kim/home.nix +++ b/hosts/kim/home.nix @@ -1,6 +1,10 @@ { config, pkgs, ... }: { + # imports = [ + # inputs.sops-nix.homeManagerModules.sops + #]; + nixpkgs.config.allowUnfree = true; # Home Manager needs a bit of information about you and the paths it should # manage. @@ -35,6 +39,7 @@ # (pkgs.writeShellScriptBin "my-hello" '' # echo "Hello, ${config.home.username}!" # '') + pkgs.playerctl ]; # Home Manager is pretty good at managing dotfiles. The primary way to manage @@ -76,7 +81,6 @@ programs.vscode = { enable = true; extensions = with pkgs.vscode-extensions; [ - # OK, I have nothing for now. bbenoist.nix ]; }; @@ -86,6 +90,9 @@ global = { username = "me@annikamerris.com"; password = "R%3@TNGQYckkGopY"; + use_mpris = true; + device_name = "kim-nix"; + device_type = "computer"; }; }; };