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 = {
|
specialisation = {
|
||||||
docked.configuration = {
|
docked.configuration = {
|
||||||
hardware.nvidia.prime.sync.enable = true;
|
|
||||||
|
|
||||||
home-manager.users.nathan.wayland.windowManager.hyprland.extraConfig = ''
|
home-manager.users.nathan.wayland.windowManager.hyprland.extraConfig = ''
|
||||||
monitor=eDP-1,1920x1080@300,0x0,1
|
monitor=eDP-1,1920x1080@300,0x0,1
|
||||||
'';
|
'';
|
||||||
@@ -53,7 +51,7 @@
|
|||||||
nvidia = {
|
nvidia = {
|
||||||
modesetting.enable = true;
|
modesetting.enable = true;
|
||||||
powerManagement.enable = true;
|
powerManagement.enable = true;
|
||||||
powerManagement.finegrained = (config.specialisation != {});
|
powerManagement.finegrained = true;
|
||||||
open = false;
|
open = false;
|
||||||
nvidiaSettings = true;
|
nvidiaSettings = true;
|
||||||
package = config.boot.kernelPackages.nvidiaPackages.stable;
|
package = config.boot.kernelPackages.nvidiaPackages.stable;
|
||||||
@@ -65,7 +63,7 @@
|
|||||||
# WARNING: sync and offload are mutually exclusive.
|
# WARNING: sync and offload are mutually exclusive.
|
||||||
# You can only pick one!!
|
# You can only pick one!!
|
||||||
#sync.enable = true;
|
#sync.enable = true;
|
||||||
offload = lib.mkIf (config.specialisation != {}) {
|
offload = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableOffloadCmd = true;
|
enableOffloadCmd = true;
|
||||||
};
|
};
|
||||||
@@ -108,6 +106,7 @@
|
|||||||
firefox.enable = true;
|
firefox.enable = true;
|
||||||
git.enable = true;
|
git.enable = true;
|
||||||
nh.enable = true;
|
nh.enable = true;
|
||||||
|
quickshell.enable = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user