mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-16 10:05:13 -05:00
feat: added some host logic
This commit is contained in:
parent
f462a6f1a7
commit
8dd81e1326
2 changed files with 14 additions and 5 deletions
|
@ -1,16 +1,17 @@
|
|||
{
|
||||
flake,
|
||||
osConfig,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
inherit (flake.config.aesthetics.themes)
|
||||
fonts
|
||||
;
|
||||
inherit (flake.config.aesthetics.themes) fonts;
|
||||
inherit (flake.config.machines.devices) deimos;
|
||||
hostname = osConfig.networking.hostName;
|
||||
in
|
||||
{
|
||||
confirm-close-surface = false;
|
||||
window-decoration = false;
|
||||
window-decoration = if hostname == deimos.name then true else false;
|
||||
font-size = fonts.sizes.terminal.size0;
|
||||
font-family = fonts.names.name0;
|
||||
window-padding-x = 10;
|
||||
|
|
|
@ -2,11 +2,19 @@
|
|||
config,
|
||||
flake,
|
||||
pkgs,
|
||||
osConfig,
|
||||
...
|
||||
}:
|
||||
let
|
||||
configPath = ./config;
|
||||
settingsPath = import (configPath + /settings.nix) { inherit flake pkgs; };
|
||||
settingsPath = import (configPath + /settings.nix) {
|
||||
inherit
|
||||
flake
|
||||
config
|
||||
osConfig
|
||||
pkgs
|
||||
;
|
||||
};
|
||||
themesPath = import (configPath + /themes.nix) { inherit config flake; };
|
||||
in
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue