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,
|
flake,
|
||||||
|
osConfig,
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
inherit (flake.config.aesthetics.themes)
|
inherit (flake.config.aesthetics.themes) fonts;
|
||||||
fonts
|
inherit (flake.config.machines.devices) deimos;
|
||||||
;
|
hostname = osConfig.networking.hostName;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
confirm-close-surface = false;
|
confirm-close-surface = false;
|
||||||
window-decoration = false;
|
window-decoration = if hostname == deimos.name then true else false;
|
||||||
font-size = fonts.sizes.terminal.size0;
|
font-size = fonts.sizes.terminal.size0;
|
||||||
font-family = fonts.names.name0;
|
font-family = fonts.names.name0;
|
||||||
window-padding-x = 10;
|
window-padding-x = 10;
|
||||||
|
|
|
@ -2,11 +2,19 @@
|
||||||
config,
|
config,
|
||||||
flake,
|
flake,
|
||||||
pkgs,
|
pkgs,
|
||||||
|
osConfig,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
configPath = ./config;
|
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; };
|
themesPath = import (configPath + /themes.nix) { inherit config flake; };
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue