Udiskie, KDE Connect, and Config Cleanup

- Move shell and font configs out of configuration.nix
  and into separate files
- Add udiskie to dwm
- Add kdeconnect for phone connection
This commit is contained in:
Sravan Balaji
2024-03-31 09:27:11 -04:00
parent e397b4a2ed
commit b51a77befa
7 changed files with 24 additions and 9 deletions

View File

@ -64,15 +64,6 @@
uid = 1000; uid = 1000;
}; };
# environment.systemPackages = with pkgs; [
# ];
environment.shells = with pkgs; [ zsh ];
users.defaultUserShell = pkgs.zsh;
programs.zsh.enable = true;
fonts.fontDir.enable = true;
# xdg.portal = { # xdg.portal = {
# enable = true; # enable = true;
# extraPortals = [ # extraPortals = [

View File

@ -66,6 +66,9 @@
# Notification Daemon # Notification Daemon
deadd-notification-center deadd-notification-center
# Automounter
udiskie
# Polybar with DWM Module # Polybar with DWM Module
(polybar.overrideAttrs (finalAttrs: previousAttrs: { (polybar.overrideAttrs (finalAttrs: previousAttrs: {
pname = previousAttrs.pname + "-dwm-module"; pname = previousAttrs.pname + "-dwm-module";

View File

@ -1,6 +1,8 @@
{ config, lib, pkgs, ... }: { config, lib, pkgs, ... }:
{ {
fonts.fontDir.enable = true;
fonts.packages = with pkgs; [ fonts.packages = with pkgs; [
corefonts corefonts
ubuntu_font_family ubuntu_font_family

View File

@ -7,5 +7,6 @@
./miscellaneous.nix ./miscellaneous.nix
./gaming.nix ./gaming.nix
./backups.nix ./backups.nix
./user-shell.nix
]; ];
} }

View File

@ -0,0 +1,7 @@
{ config, lib, pkgs, ... }:
{
environment.shells = with pkgs; [ zsh ];
users.defaultUserShell = pkgs.zsh;
programs.zsh.enable = true;
}

View File

@ -9,5 +9,6 @@
./passwords.nix ./passwords.nix
./xdg.nix ./xdg.nix
./screenshot.nix ./screenshot.nix
./phone.nix
]; ];
} }

10
user/utilities/phone.nix Normal file
View File

@ -0,0 +1,10 @@
{ config, lib, pkgs, systemSettings, ... }:
{
programs.kdeconnect = {
enable = true;
package = (if systemSettings.desktop == "gnome"
then pkgs.gnomeExtensions.gsconnect
else pkgs.libsForQt5.kdeconnect-kde);
};
}