home: allow marking device as laptop

This commit is contained in:
Antoine Martin 2021-07-24 02:18:15 +02:00
parent 953af1affc
commit f75ff6849d
3 changed files with 9 additions and 0 deletions

View file

@ -6,6 +6,7 @@
./env.nix
./fish
./flameshot.nix
./laptop.nix
./secrets
./starship.nix
./themes

6
home/laptop.nix Normal file
View file

@ -0,0 +1,6 @@
{ config, lib, ... }:
{
options.my.home.laptop = with lib; {
enable = mkEnableOption "Laptop settings";
};
}

View file

@ -1,6 +1,8 @@
{ config, pkgs, ... }:
{
home-manager.users.alarsyo = {
my.home.laptop.enable = true;
# Keyboard settings & i3 settings
my.home.x.enable = true;
my.home.x.i3bar.temperature.chip = "coretemp-isa-*";