start on quickshell
This commit is contained in:
14
home-manager/programs/quickshell/default.nix
Normal file
14
home-manager/programs/quickshell/default.nix
Normal file
@@ -0,0 +1,14 @@
|
||||
{ config, lib, ... }: {
|
||||
|
||||
options.homeconfig.quickshell.enable = with lib; mkOption {
|
||||
type = with types; bool;
|
||||
default = false;
|
||||
};
|
||||
|
||||
config = lib.mkIf config.homeconfig.quickshell.enable {
|
||||
|
||||
programs.quickshell = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -31,8 +31,6 @@
|
||||
|
||||
specialisation = {
|
||||
docked.configuration = {
|
||||
hardware.nvidia.prime.sync.enable = true;
|
||||
|
||||
home-manager.users.nathan.wayland.windowManager.hyprland.extraConfig = ''
|
||||
monitor=eDP-1,1920x1080@300,0x0,1
|
||||
'';
|
||||
@@ -53,7 +51,7 @@
|
||||
nvidia = {
|
||||
modesetting.enable = true;
|
||||
powerManagement.enable = true;
|
||||
powerManagement.finegrained = (config.specialisation != {});
|
||||
powerManagement.finegrained = true;
|
||||
open = false;
|
||||
nvidiaSettings = true;
|
||||
package = config.boot.kernelPackages.nvidiaPackages.stable;
|
||||
@@ -65,7 +63,7 @@
|
||||
# WARNING: sync and offload are mutually exclusive.
|
||||
# You can only pick one!!
|
||||
#sync.enable = true;
|
||||
offload = lib.mkIf (config.specialisation != {}) {
|
||||
offload = {
|
||||
enable = true;
|
||||
enableOffloadCmd = true;
|
||||
};
|
||||
@@ -108,6 +106,7 @@
|
||||
firefox.enable = true;
|
||||
git.enable = true;
|
||||
nh.enable = true;
|
||||
quickshell.enable = true;
|
||||
};
|
||||
}
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user