From eb6320bd0bfbe46a94db468904215dd79680b28a Mon Sep 17 00:00:00 2001 From: joy Date: Mon, 8 Jul 2024 20:53:46 +0200 Subject: [PATCH] neovim --- flake.nix | 1 + home/misc/default.nix | 3 --- home/neovim/default.nix | 2 +- modules/default.nix | 2 +- modules/fonts/default.nix | 2 +- modules/packages/default.nix | 1 + modules/stylix/default.nix | 10 ++++++++-- 7 files changed, 13 insertions(+), 8 deletions(-) diff --git a/flake.nix b/flake.nix index 6a987d4..3504105 100644 --- a/flake.nix +++ b/flake.nix @@ -26,6 +26,7 @@ inputs.stylix.nixosModules.stylix ]; }; + nixosConfigurations.laptop = nixpkgs.lib.nixosSystem { specialArgs = {inherit inputs;}; modules = [ diff --git a/home/misc/default.nix b/home/misc/default.nix index 1570651..e446d38 100644 --- a/home/misc/default.nix +++ b/home/misc/default.nix @@ -9,9 +9,6 @@ home.username = "joy"; home.sessionVariables = { EDITOR = "nvim"; }; - qt.enable = true; - qt.platformTheme.name = "gtk"; - qt.style.name = "adwaita-dark"; xdg.mimeApps.defaultApplications = { "text/plain" = ["neovide.desktop"]; diff --git a/home/neovim/default.nix b/home/neovim/default.nix index 5fcbb11..751f03a 100644 --- a/home/neovim/default.nix +++ b/home/neovim/default.nix @@ -32,7 +32,7 @@ cmdheight = 0; wrap = true; termguicolors = true; - showmode = false; +# showmode = false; }; }; } diff --git a/modules/default.nix b/modules/default.nix index abb7293..290b950 100644 --- a/modules/default.nix +++ b/modules/default.nix @@ -1,6 +1,6 @@ { imports = [ - ./fonts +# ./fonts ./sound ./vm ./packages diff --git a/modules/fonts/default.nix b/modules/fonts/default.nix index 7b95bad..57e5f3a 100644 --- a/modules/fonts/default.nix +++ b/modules/fonts/default.nix @@ -3,6 +3,6 @@ { fonts.packages = with pkgs; [ font-awesome - (nerdfonts.override { fonts = [ "FiraCode" "JetBrainsMono" "Iosevka" ]; }) + (nerdfonts.override { fonts = [ "FiraCode" ]; }) ]; } diff --git a/modules/packages/default.nix b/modules/packages/default.nix index 1bb7387..b5daa75 100644 --- a/modules/packages/default.nix +++ b/modules/packages/default.nix @@ -56,5 +56,6 @@ yt-dlp distrobox vim + font-awesome ]; } diff --git a/modules/stylix/default.nix b/modules/stylix/default.nix index 917df49..1b63e9a 100644 --- a/modules/stylix/default.nix +++ b/modules/stylix/default.nix @@ -22,11 +22,17 @@ base0F = "d65d0e"; }; image = ./wallpaper.png; - fonts.sizes.terminal = 14; targets.chromium.enable = false; cursor.name = "Bibata-Modern-Ice"; cursor.package = pkgs.bibata-cursors; cursor.size = 24; - fonts.sizes.desktop = 12; + fonts = { + sizes = { + applications = 12; + terminal = 14; + desktop = 12; + popups = 12; + }; + }; }; }