Skip to content

Commit

Permalink
Move laptop config again
Browse files Browse the repository at this point in the history
  • Loading branch information
rake5k committed Sep 28, 2024
1 parent 7d4ccc0 commit 2fe0a91
Showing 1 changed file with 3 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,18 @@ with lib;

let

cfg = config.custom.roles.laptop;
cfg = config.custom.roles.desktop.mobile;

in

{
options = {
custom.roles.laptop = {
enable = mkEnableOption "Laptop computer config";
custom.roles.desktop.mobile = {
enable = mkEnableOption "Mobile computer config";
};
};

config = mkIf cfg.enable {
custom.programs = {
direnv.enable = true;
};

services = {
logind = {
lidSwitch = "suspend-then-hibernate";
Expand Down

0 comments on commit 2fe0a91

Please sign in to comment.