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:
@ -64,15 +64,6 @@
|
||||
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 = {
|
||||
# enable = true;
|
||||
# extraPortals = [
|
||||
|
@ -66,6 +66,9 @@
|
||||
# Notification Daemon
|
||||
deadd-notification-center
|
||||
|
||||
# Automounter
|
||||
udiskie
|
||||
|
||||
# Polybar with DWM Module
|
||||
(polybar.overrideAttrs (finalAttrs: previousAttrs: {
|
||||
pname = previousAttrs.pname + "-dwm-module";
|
||||
|
@ -1,6 +1,8 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
fonts.fontDir.enable = true;
|
||||
|
||||
fonts.packages = with pkgs; [
|
||||
corefonts
|
||||
ubuntu_font_family
|
||||
|
@ -7,5 +7,6 @@
|
||||
./miscellaneous.nix
|
||||
./gaming.nix
|
||||
./backups.nix
|
||||
./user-shell.nix
|
||||
];
|
||||
}
|
||||
|
7
system/utilities/user-shell.nix
Normal file
7
system/utilities/user-shell.nix
Normal file
@ -0,0 +1,7 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
environment.shells = with pkgs; [ zsh ];
|
||||
users.defaultUserShell = pkgs.zsh;
|
||||
programs.zsh.enable = true;
|
||||
}
|
@ -9,5 +9,6 @@
|
||||
./passwords.nix
|
||||
./xdg.nix
|
||||
./screenshot.nix
|
||||
./phone.nix
|
||||
];
|
||||
}
|
||||
|
10
user/utilities/phone.nix
Normal file
10
user/utilities/phone.nix
Normal 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);
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user