Compare commits

..

8 Commits

Author SHA1 Message Date
e3546caeb5 i think i finally figured out hibernate then sleep 2025-11-05 22:53:27 -06:00
cc083128a3 testing timeout 2025-11-05 22:23:24 -06:00
9faad0e16c add proper target 2025-11-05 22:21:05 -06:00
e50f503270 wait its something else 2025-11-05 22:18:46 -06:00
8a502bdf15 didnt work lmao 2025-11-05 22:17:53 -06:00
32d737f011 attempt to use suspend then hibrnate again 2025-11-05 22:16:51 -06:00
7f84ae360c add theming for qt 2025-11-05 22:15:46 -06:00
bce6234c10 add qalculate-qt 2025-11-05 22:13:38 -06:00
7 changed files with 19 additions and 14 deletions

View File

@@ -43,12 +43,14 @@
# fix power buttons # fix power buttons
services.logind.settings.Login = { services.logind.settings.Login = {
HandlePowerKey = "suspend"; #HandlePowerKey = "suspend";
HandleLidSwitch = "suspend"; #HandleLidSwitch = "suspend";
#HandlePowerKey = "suspend-then-hibernate"; HandlePowerKey = "suspend-then-hibernate";
#HandleLidSwitch = "suspend-then-hibernate"; HandleLidSwitch = "suspend-then-hibernate";
#HibernateDelaySec = "300";
}; };
systemd.sleep.extraConfig = ''
HibernateDelaySec=180
'';
# boot (systemd is growing on me) # boot (systemd is growing on me)
boot = { boot = {
@@ -98,8 +100,6 @@
# hardware shit # hardware shit
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
} }

View File

@@ -67,6 +67,7 @@ in {
#waybar.enable = false; #waybar.enable = false;
waybar.addCss = false; waybar.addCss = false;
nvf.transparentBackground = true; nvf.transparentBackground = true;
qt.enable = true;
}; };
}; };
}; };

View File

@@ -16,7 +16,10 @@ in {
# just using the normal lfrc # just using the normal lfrc
programs.${program} = { programs.${program} = {
enable = true; enable = true;
systemd.enable = true; systemd = {
enable = true;
target = "graphical-session.target";
};
settings = { settings = {
mainBar = { mainBar = {

View File

@@ -7,6 +7,6 @@
imports = [ imports = [
./gnucash ./gnucash
./libreoffice ./libreoffice
#./gaming ./qalculate
]; ];
} }

View File

@@ -4,17 +4,17 @@
config, config,
... ...
}: let }: let
program = "<placeholder>"; program = "qalculate";
cfg = config.dots.${program}; cfg = config.dots.${program};
#sec = sops.secrets;
in { in {
options.dots.${program} = { options.dots.${program} = {
enable = lib.mkEnableOption "enables ${program}"; enable = lib.mkEnableOption "enables ${program}";
}; };
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
programs.${program} = {
enable = true; # just install package
}; home.packages = with pkgs; [qalculate-qt];
}; };
} }

View File

@@ -36,6 +36,7 @@
libreoffice.enable = true; libreoffice.enable = true;
gnucash.enable = true; gnucash.enable = true;
qalculate.enable = true;
}; };
home.packages = with pkgs; [ home.packages = with pkgs; [