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;
|
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 = [
|
||||||
|
@ -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";
|
||||||
|
@ -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
|
||||||
|
@ -7,5 +7,6 @@
|
|||||||
./miscellaneous.nix
|
./miscellaneous.nix
|
||||||
./gaming.nix
|
./gaming.nix
|
||||||
./backups.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
|
./passwords.nix
|
||||||
./xdg.nix
|
./xdg.nix
|
||||||
./screenshot.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