Add peek
This commit is contained in:
parent
ca9c039575
commit
1b2095eb99
|
@ -6,6 +6,7 @@
|
||||||
|
|
||||||
desktop = {
|
desktop = {
|
||||||
gaming.enable = true;
|
gaming.enable = true;
|
||||||
|
peek.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
homelab = {
|
homelab = {
|
||||||
|
|
|
@ -22,10 +22,10 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
font = {
|
font = {
|
||||||
size = 14;
|
size = 12;
|
||||||
|
|
||||||
bold.style = "Regular";
|
bold.style = "Regular";
|
||||||
normal.family = "JetBrainsMono Nerd Font Mono";
|
normal.family = "Terminess Nerd Font Mono";
|
||||||
};
|
};
|
||||||
|
|
||||||
terminal.shell = {
|
terminal.shell = {
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
{
|
{
|
||||||
imports = [ ./screenkey.nix ];
|
imports = [
|
||||||
|
./peek.nix
|
||||||
|
./screenkey.nix
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|
14
nix/modules/nixos/features/desktop/peek.nix
Normal file
14
nix/modules/nixos/features/desktop/peek.nix
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
|
||||||
|
{
|
||||||
|
options.features.desktop.peek.enable = lib.mkEnableOption "Enable peek";
|
||||||
|
|
||||||
|
config = lib.mkIf config.features.desktop.peek.enable {
|
||||||
|
environment.systemPackages = with pkgs; [ peek ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -1,19 +1,17 @@
|
||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
|
|
||||||
let
|
|
||||||
theme = import ../../lib/theme { inherit pkgs; };
|
|
||||||
in
|
|
||||||
{
|
{
|
||||||
fonts = {
|
fonts = {
|
||||||
fontconfig = {
|
fontconfig = {
|
||||||
enable = true;
|
enable = true;
|
||||||
defaultFonts = {
|
defaultFonts = {
|
||||||
# monospace = [];
|
monospace = [ "Terminess Nerd Font" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
nerd-fonts.jetbrains-mono
|
nerd-fonts.jetbrains-mono
|
||||||
|
nerd-fonts.terminess-ttf
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue