Compare commits
2 commits
953af1affc
...
67b91f8c88
Author | SHA1 | Date | |
---|---|---|---|
Antoine Martin | 67b91f8c88 | ||
Antoine Martin | f75ff6849d |
|
@ -6,6 +6,7 @@
|
||||||
./env.nix
|
./env.nix
|
||||||
./fish
|
./fish
|
||||||
./flameshot.nix
|
./flameshot.nix
|
||||||
|
./laptop.nix
|
||||||
./secrets
|
./secrets
|
||||||
./starship.nix
|
./starship.nix
|
||||||
./themes
|
./themes
|
||||||
|
|
6
home/laptop.nix
Normal file
6
home/laptop.nix
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
{ config, lib, ... }:
|
||||||
|
{
|
||||||
|
options.my.home.laptop = with lib; {
|
||||||
|
enable = mkEnableOption "Laptop settings";
|
||||||
|
};
|
||||||
|
}
|
|
@ -93,6 +93,11 @@ in
|
||||||
block = "sound";
|
block = "sound";
|
||||||
driver = "pulseaudio";
|
driver = "pulseaudio";
|
||||||
}
|
}
|
||||||
|
] ++ (lib.lists.optionals config.my.home.laptop.enable [
|
||||||
|
{
|
||||||
|
block = "battery";
|
||||||
|
}
|
||||||
|
]) ++ [
|
||||||
# {
|
# {
|
||||||
# block = "notify";
|
# block = "notify";
|
||||||
# }
|
# }
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
{
|
{
|
||||||
home-manager.users.alarsyo = {
|
home-manager.users.alarsyo = {
|
||||||
|
my.home.laptop.enable = true;
|
||||||
|
|
||||||
# Keyboard settings & i3 settings
|
# Keyboard settings & i3 settings
|
||||||
my.home.x.enable = true;
|
my.home.x.enable = true;
|
||||||
my.home.x.i3bar.temperature.chip = "coretemp-isa-*";
|
my.home.x.i3bar.temperature.chip = "coretemp-isa-*";
|
||||||
|
|
Loading…
Reference in a new issue