updates
This commit is contained in:
parent
e04a654f94
commit
cd74c7b0d4
5 changed files with 22 additions and 13 deletions
|
|
@ -99,6 +99,14 @@
|
|||
wireplumber.enable = true;
|
||||
};
|
||||
|
||||
nix.gc = {
|
||||
automatic = true;
|
||||
dates = "weekly";
|
||||
options = "--delete-older-than 30d";
|
||||
};
|
||||
|
||||
nix.settings.auto-optimise-store = true;
|
||||
|
||||
# Open ports in the firewall.
|
||||
# networking.firewall.allowedTCPPorts = [ ... ];
|
||||
# networking.firewall.allowedUDPPorts = [ ... ];
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
{ lib, inputs, system, home-manager, user, hyprland, devenv, ... }:
|
||||
{ lib, inputs, system, home-manager, user, ... }:
|
||||
|
||||
{
|
||||
|
||||
thinkpad = lib.nixosSystem {
|
||||
inherit system;
|
||||
specialArgs = {
|
||||
inherit user inputs hyprland system devenv;
|
||||
inherit user inputs system;
|
||||
host = {
|
||||
hostName = "thinkpad";
|
||||
mainMonitor = "eDP-1";
|
||||
|
|
@ -15,12 +15,13 @@
|
|||
modules = [
|
||||
./thinkpad
|
||||
./configuration.nix
|
||||
../modules/themes/home.nix
|
||||
|
||||
home-manager.nixosModules.home-manager
|
||||
{
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.extraSpecialArgs = { inherit user devenv inputs; };
|
||||
home-manager.extraSpecialArgs = { inherit user inputs; };
|
||||
home-manager.users.${user} = {
|
||||
imports = [ (import ./home.nix) ] ++ [ (import ./thinkpad/home.nix) ];
|
||||
|
||||
|
|
|
|||
|
|
@ -31,6 +31,7 @@
|
|||
#logind.lidSwitch = "ignore"; # Laptop does not go to sleep when lid is closed
|
||||
auto-cpufreq.enable = true;
|
||||
blueman.enable = true;
|
||||
tailscale.enable = true;
|
||||
};
|
||||
|
||||
#temporary bluetooth fix
|
||||
|
|
|
|||
|
|
@ -20,13 +20,13 @@
|
|||
font-family: FiraCode Nerd Font Mono;
|
||||
/*font-weight: bold;*/
|
||||
font-size: 12px;
|
||||
text-shadow: 0px 0px 5px #000000;
|
||||
text-shadow: 0px 0px 5px #${config.colorScheme.colors.base00};
|
||||
}
|
||||
button:hover {
|
||||
background-color: rgba(80,100,100,0.4);
|
||||
}
|
||||
window#waybar {
|
||||
background-color: rgba(0,0,0,0.8);
|
||||
background-color: #${config.colorScheme.colors.base00};
|
||||
transition-property: background-color;
|
||||
transition-duration: .5s;
|
||||
border-bottom: none;
|
||||
|
|
@ -50,7 +50,7 @@
|
|||
#battery,
|
||||
#custom-ds4,
|
||||
#tray {
|
||||
color: #999999;
|
||||
color: #${config.colorScheme.colors.base09};
|
||||
background-clip: padding-box;
|
||||
}
|
||||
#custom-menu {
|
||||
|
|
@ -60,18 +60,18 @@
|
|||
#workspaces button {
|
||||
padding: 0px 5px;
|
||||
min-width: 5px;
|
||||
color: rgba(255,255,255,0.8);
|
||||
color: #${config.colorScheme.colors.base09};
|
||||
}
|
||||
#workspaces button:hover {
|
||||
background-color: rgba(0,0,0,0.2);
|
||||
background-color: #${config.colorScheme.colors.base02};
|
||||
}
|
||||
/*#workspaces button.focused {*/
|
||||
#workspaces button.active {
|
||||
color: rgba(255,255,255,0.8);
|
||||
background-color: rgba(80,100,100,0.4);
|
||||
color: #${config.colorScheme.colors.base0C};
|
||||
background-color: #${config.colorScheme.colors.base02};
|
||||
}
|
||||
#workspaces button.visible {
|
||||
color: #ccffff;
|
||||
color: #${config.colorScheme.colors.base0E};
|
||||
}
|
||||
#workspaces button.hidden {
|
||||
color: #999999;
|
||||
|
|
|
|||
|
|
@ -3,8 +3,7 @@
|
|||
{
|
||||
imports = [ inputs.nix-colors.homeManagerModules.default ];
|
||||
# choose a theme from here https://github.com/tinted-theming/base16-schemes/tree/main
|
||||
#colorScheme = inputs.nix-colors.colorSchemes.gruvbox-dark-medium;
|
||||
colorScheme = inputs.nix-colors.colorSchemes.gruvbox-dark-hard;
|
||||
colorScheme = inputs.nix-colors.colorSchemes.everforest;
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue