diff --git a/configuration.nix b/configuration.nix index dac215e..a9f67c5 100644 --- a/configuration.nix +++ b/configuration.nix @@ -84,8 +84,20 @@ # Enable touchpad support (enabled default in most desktopManager). services.libinput.enable = true; hardware.opentabletdriver = { + enable = false; + }; + programs.xppen = { enable = true; - daemon.enable = true; + package = pkgs.xppen_4.overrideAttrs (old: { + src = pkgs.fetchurl { + url = "https://download01.xp-pen.com/file/2026/04/XPPenLinux4.0.15-260422.tar.gz"; + hash = "sha256-Jady+pbqnzmVMuM0Io4/aE5B7dqNlDKPsnRj/Fbln6U="; + }; + buildInputs = (old.buildInputs or [ ]) ++ [ + pkgs.libXtst + pkgs.libXrandr + ]; + }); }; # Define a user account. Don't forget to set a password with ‘passwd’. @@ -150,6 +162,7 @@ cargo gnomeExtensions.user-themes gnomeExtensions.blur-my-shell + digital ]; environment.gnome.excludePackages = with pkgs; [ cheese # photo booth diff --git a/home/fastfetch.nix b/home/fastfetch.nix new file mode 100644 index 0000000..ac6424d --- /dev/null +++ b/home/fastfetch.nix @@ -0,0 +1,61 @@ +{ config, lib, ... }: + +{ + programs.fastfetch = { + enable = true; + settings = { + logo = { + type = "small"; + padding = { + top = 1; + right = 2; + }; + }; + display = { + separator = " "; + }; + modules = [ + { + key = "╭────────╮"; + type = "custom"; + } + { + key = "│{#34} distro {#keys}│"; + type = "os"; + format = "{name} {version}"; + } + { + key = "│{#35} kernel {#keys}│"; + type = "kernel"; + } + { + key = "│{#36} host {#keys}│"; + type = "host"; + } + { + key = "│{#33} wm {#keys}│"; + type = "wm"; + } + { + key = "│{#32} ip {#keys}│"; + type = "localip"; + showIpv6 = false; + format = "{ipv4}"; + } + { + key = "├────────┤"; + type = "custom"; + } + { + key = "│{#39} colors {#keys}│"; + type = "colors"; + symbol = "circle"; + } + { + key = "╰────────╯"; + type = "custom"; + } + ]; + }; + }; +} diff --git a/home/home.nix b/home/home.nix index 2094849..bed1b64 100644 --- a/home/home.nix +++ b/home/home.nix @@ -8,6 +8,7 @@ { imports = [ ./stylix.nix + ./fastfetch.nix inputs.nixcord.homeModules.nixcord ]; # Home Manager needs a bit of information about you and the @@ -15,8 +16,10 @@ home.packages = with pkgs; [ rnote git - inputs.late-sh.packages.${pkgs.system}.late + inputs.late-sh.packages.${stdenv.hostPlatform.system}.late spotify + fastfetch + hyfetch ]; home.username = "lucy"; home.homeDirectory = "/home/lucy"; diff --git a/home/stylix.nix b/home/stylix.nix index 628cd40..b1c422a 100644 --- a/home/stylix.nix +++ b/home/stylix.nix @@ -4,12 +4,14 @@ autoEnable = false; targets = { gnome.enable = true; + gnome.image.enable = false; gtk.enable = true; ghostty.enable = true; firefox.enable = true; firefox.profileNames = [ "lucy" ]; firefox.colorTheme.enable = true; nixcord.enable = true; + xresources.enable = true; }; }; } diff --git a/nixvim/keymaps.nix b/nixvim/keymaps.nix index 0609ab5..5c29e88 100644 --- a/nixvim/keymaps.nix +++ b/nixvim/keymaps.nix @@ -1,9 +1,3 @@ -{ - config, - lib, - pkgs, - ... -}: { programs.nixvim = { keymaps = [ @@ -21,8 +15,8 @@ mode = "t"; } { - key = ""; - action = " lua bdelete! "; + key = "w"; + action = "bdelete! "; } ]; }; diff --git a/nixvim/nixvim.nix b/nixvim/nixvim.nix index 63c405c..8cb1afe 100644 --- a/nixvim/nixvim.nix +++ b/nixvim/nixvim.nix @@ -10,11 +10,12 @@ ./keymaps.nix ]; programs.nixvim = { + nixpkgs.config.allowUnfree = true; enable = true; extraConfigLuaPost = '' local map = vim.keymap.set for i = 1, 10 do - map('n', '', ' LualineBuffersJump! ' .. i .. '') + map('n', '', ' BufferGoto ' .. i .. '') end ''; opts = { diff --git a/nixvim/plugins.nix b/nixvim/plugins.nix index 9d07e42..808a6d5 100644 --- a/nixvim/plugins.nix +++ b/nixvim/plugins.nix @@ -1,13 +1,8 @@ -{ - lib, - config, - pkgs, - ... -}: { programs.nixvim = { plugins = { lspconfig.enable = true; + web-devicons.enable = true; blink-cmp = { enable = true; }; @@ -25,13 +20,21 @@ }; }; }; + barbar = { + enable = true; + settings = { + icons = { + buffer_index = true; + }; + }; + }; lualine = { enable = true; settings = { options = { section_separators = { - left = ""; - right = ""; + left = "▎"; + right = "▕"; }; component_separators = { left = ""; @@ -57,14 +60,6 @@ "location" ]; }; - tabline = { - lualine_a = [ "buffers" ]; - lualine_b = [ "branch" ]; - lualine_c = [ ]; - lualine_x = [ ]; - lualine_y = [ ]; - lualine_z = [ "tabs" ]; - }; }; }; };