Add some shared configs for standalone WMs
This commit is contained in:
parent
a3e82595df
commit
419a03ebd2
@ -23,6 +23,11 @@ let
|
|||||||
|
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
# FIXME this is temporary just to get it working, need to make wm-common an
|
||||||
|
# option first
|
||||||
|
imports = [
|
||||||
|
./wm-common.nix
|
||||||
|
];
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
kitty
|
kitty
|
||||||
dolphin
|
dolphin
|
||||||
|
14
home/wm-common.nix
Normal file
14
home/wm-common.nix
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
{ pkgs, lib, config, osConfig, options, ...}:
|
||||||
|
let
|
||||||
|
inherit (lib) mkDefault;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
# Common options for standalone window managers; many of these (or
|
||||||
|
# alternatives thereof) are pulled in by desktop environments.
|
||||||
|
services = {
|
||||||
|
udiskie = {
|
||||||
|
enable = mkDefault true;
|
||||||
|
automount = mkDefault false;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
@ -2,6 +2,8 @@
|
|||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./desktop-common.nix
|
./desktop-common.nix
|
||||||
|
# FIXME make this into an option
|
||||||
|
./wm-common.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
services.xserver.displayManager.sddm.enable = true;
|
services.xserver.displayManager.sddm.enable = true;
|
||||||
|
15
system/wm-common.nix
Normal file
15
system/wm-common.nix
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
{ pkgs, lib, config, options, ...}:
|
||||||
|
let
|
||||||
|
inherit (lib) mkDefault;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
# Common options for standalone window managers; many of these (or
|
||||||
|
# alternatives thereof) are pulled in by desktop environments.
|
||||||
|
services = {
|
||||||
|
power-profiles-daemon.enable = mkDefault true;
|
||||||
|
blueman.enable = mkDefault config.hardware.bluetooth.enable;
|
||||||
|
};
|
||||||
|
programs = {
|
||||||
|
nm-applet.enable = mkDefault config.networking.networkmanager.enable;
|
||||||
|
};
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user