Compare commits

..

No commits in common. "ef21567b64d307df5fbdd9b5e162095ab8a15f8d" and "64b25238da5f5898a5c52de87421da87da5d023f" have entirely different histories.

9 changed files with 75 additions and 65 deletions

View File

@ -6,7 +6,6 @@
./hardware-configuration.nix
../../modules/nixos/bluetooth.nix
../../modules/nixos/flakes.nix
../../modules/nixos/flatpak.nix
../../modules/nixos/fonts.nix
../../modules/nixos/hyprland.nix
../../modules/nixos/monitoring.nix

View File

@ -19,9 +19,6 @@
# Nix language
jnoortheen.nix-ide
# typst
myriad-dreamin.tinymist
];
# };
@ -37,9 +34,9 @@
# visual
"window.menuBarVisibility" = "toggle";
"editor.fontFamily" = "'FiraCode Nerd Font Mono', 'monospace', monospace";
"terminal.integrated.fontFamily" = "FiraCode Nerd Font Mono";
"workbench.iconTheme" = "vs-seti";
# "editor.fontFamily" = "'FiraCode Nerd Font Mono', 'monospace', monospace";
# "terminal.integrated.fontFamily" = "FiraCode Nerd Font Mono";
# "workbench.iconTheme" = "vs-seti";
# telemetry
"telemetry.enableCrashReporter" = false;

View File

@ -1,7 +0,0 @@
{pkgs, ...}:
{
home.packages = [
# pdf viewer
pkgs.evince
];
}

View File

@ -1,12 +1,8 @@
{
lib, pkgs, ...
}:
{
# requires that flatpaks be enabled in the system configuration as well
{ lib, pkgs, ... }: {
services.flatpak.enable = true;
services.flatpak.update.auto.enable = false;
services.flatpak.uninstallUnmanaged = false;
services.flatpak.packages = [
"com.calibre_ebook.calibre"
"com.github.flxzt.rnote"
@ -17,4 +13,4 @@
"io.github.zen_browser.zen"
"im.riot.Riot"
];
}
}

View File

@ -1,42 +1,16 @@
{pkgs, lib, ...}:
let
stylix = import ./stylix.nix { inherit pkgs; };
in
{
programs.kitty = {
enable = true;
shellIntegration.enableFishIntegration = true;
settings = {
# # import the colors from the stylix theme, but keep the background black
# color0 = stylix.stylix.base16Scheme.base00;
# color8 = stylix.stylix.base16Scheme.base08;
# color1 = stylix.stylix.base16Scheme.base01;
# color9 = stylix.stylix.base16Scheme.base09;
# color2 = stylix.stylix.base16Scheme.base02;
# color10 = stylix.stylix.base16Scheme.base0A;
# color3 = stylix.stylix.base16Scheme.base03;
# color11 = stylix.stylix.base16Scheme.base0B;
# color4 = stylix.stylix.base16Scheme.base04;
# color12 = stylix.stylix.base16Scheme.base0C;
# color5 = stylix.stylix.base16Scheme.base05;
# color13 = stylix.stylix.base16Scheme.base0D;
# color6 = stylix.stylix.base16Scheme.base06;
# color14 = stylix.stylix.base16Scheme.base0E;
# color7 = stylix.stylix.base16Scheme.base07;
# color15 = stylix.stylix.base16Scheme.base0F;
# also reuse the background opacity by stylix
background_opacity = stylix.stylix.opacity.terminal;
# color0 = stylix.colors.background;
# color1 = stylix.colors.red;
# color2 = stylix.colors.green;
# color3 = stylix.colors.yellow;
background = "#000000";
confirm_os_window_close = 0;
enable_audio_bell = false;
cursor_trail = 3;

View File

@ -82,12 +82,12 @@
};
stylix.targets = {
vscode.enable = true;
hyprpaper.enable = true;
hyprlock.enable = true;
wofi.enable = true;
# disabled because they overwrite too many settings
# vscode.enable = true;
# waybar.enable = true;
# kitty.enable = true;

View File

@ -15,13 +15,13 @@ in {
settings = {
allow_markup = true;
width = 500;
height = 400;
width = 450;
show = "drun";
prompt = "Launch...";
prompt = "Apps";
normal_window = true;
layer = "top";
term = "foot";
height = "305px";
orientation = "vertical";
halign = "fill";
line_wrap = "off";
@ -40,5 +40,66 @@ in {
key_expand = "Tab";
key_exit = "Escape";
};
style = ''
* {
font-family: "${font}";
font-weight: 500;
font-size: ${toString font-size}px;
}
#window {
background-color: ${background};
color: ${foreground};
border-radius: ${toString rounding}px;
}
#outer-box {
padding: 20px;
}
#input {
background-color: ${background-alt};
border: 0px solid ${accent};
color: ${foreground};
padding: 8px 12px;
}
#scroll {
margin-top: 20px;
}
#inner-box {}
#img {
padding-right: 8px;
}
#text {
color: ${foreground};
}
#text:selected {
color: ${foreground};
}
#entry {
padding: 6px;
}
#entry:selected {
background-color: ${accent};
color: ${foreground};
}
#unselected {}
#selected {}
#input,
#entry:selected {
border-radius: ${toString rounding}px;
}
'';
};
}

View File

@ -1,9 +0,0 @@
{
config,
lib,
pkgs,
...
}:
{
services.flatpak.enable = true;
}

View File

@ -5,7 +5,6 @@ with lib.hm.gvariant;
../modules/home-manager/browser.nix
../modules/home-manager/code.nix
../modules/home-manager/dev.nix
../modules/home-manager/documents.nix
../modules/home-manager/fish.nix
../modules/home-manager/flatpaks.nix
../modules/home-manager/hypr