Compare commits
9 commits
954b390497
...
8befee6d36
Author | SHA1 | Date | |
---|---|---|---|
8befee6d36 | |||
6f8dba9eae | |||
061dd39ab6 | |||
d4c1cebada | |||
78b93df27a | |||
40ce29f470 | |||
b45ad865e9 | |||
d6e8be2796 | |||
3b3f0e292a |
9 changed files with 115 additions and 8 deletions
|
@ -174,6 +174,8 @@
|
|||
neovim
|
||||
git
|
||||
jujutsu
|
||||
# SDDM Cursor theme
|
||||
vimix-cursors
|
||||
];
|
||||
programs.zsh.enable = true;
|
||||
|
||||
|
@ -212,7 +214,10 @@
|
|||
};
|
||||
services.displayManager.sddm = {
|
||||
enable = true;
|
||||
wayland.enable = true;
|
||||
wayland = {
|
||||
enable = true;
|
||||
compositor = "kwin";
|
||||
};
|
||||
enableHidpi = true;
|
||||
package = lib.mkForce pkgs.libsForQt5.sddm;
|
||||
extraPackages = lib.mkForce [
|
||||
|
@ -220,6 +225,12 @@
|
|||
pkgs.libsForQt5.qt5.qtgraphicaleffects
|
||||
];
|
||||
|
||||
settings = {
|
||||
Theme = {
|
||||
CursorTheme = "Vimix-cursors";
|
||||
};
|
||||
};
|
||||
|
||||
sugarCandyNix = {
|
||||
enable = true;
|
||||
settings = {
|
||||
|
@ -233,4 +244,60 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
|
||||
# Nvidia config
|
||||
hardware.graphics.enable = true;
|
||||
services.xserver.videoDrivers = ["nvidia" "amdgpu"];
|
||||
hardware.nvidia = {
|
||||
modesetting.enable = true;
|
||||
|
||||
# Nvidia power management. Experimental, and can cause sleep/suspend to fail.
|
||||
# Enable this if you have graphical corruption issues or application crashes after waking
|
||||
# up from sleep. This fixes it by saving the entire VRAM memory to /tmp/ instead
|
||||
# of just the bare essentials.
|
||||
powerManagement.enable = false;
|
||||
|
||||
# Fine-grained power management. Turns off GPU when not in use.
|
||||
# Experimental and only works on modern Nvidia GPUs (Turing or newer).
|
||||
powerManagement.finegrained = true;
|
||||
|
||||
# Use the NVidia open source kernel module (not to be confused with the
|
||||
# independent third-party "nouveau" open source driver).
|
||||
# Support is limited to the Turing and later architectures. Full list of
|
||||
# supported GPUs is at:
|
||||
# https://github.com/NVIDIA/open-gpu-kernel-modules#compatible-gpus
|
||||
# Only available from driver 515.43.04+
|
||||
# Currently alpha-quality/buggy, so false is currently the recommended setting.
|
||||
open = false;
|
||||
|
||||
nvidiaSettings = true;
|
||||
|
||||
prime = {
|
||||
amdgpuBusId = "PCI:4:0:0";
|
||||
nvidiaBusId = "PCI:1:0:0";
|
||||
|
||||
offload = {
|
||||
enable = true;
|
||||
enableOffloadCmd = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
# Fonts
|
||||
fonts = {
|
||||
packages = with pkgs; [
|
||||
symbola
|
||||
noto-fonts
|
||||
noto-fonts-cjk-sans
|
||||
noto-fonts-emoji
|
||||
fira-code
|
||||
fira-code-symbols
|
||||
jetbrains-mono
|
||||
# Nerd fonts
|
||||
(nerdfonts.override {
|
||||
fonts = [ "FiraCode" "JetBrainsMono" ];
|
||||
})
|
||||
];
|
||||
enableDefaultPackages = false;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -93,7 +93,7 @@
|
|||
search = {
|
||||
force = true;
|
||||
default = "SearXNG";
|
||||
order = [ "SearXNG" "Google" "Wikipedia" "Nix Packages" "NixOS Wiki" ];
|
||||
order = [ "SearXNG" "Google" "Wikipedia" "Nix Packages" "NixOS Options" "NixOS Wiki" ];
|
||||
engines = {
|
||||
# Nix Package Search
|
||||
"Nix Packages" = {
|
||||
|
@ -107,6 +107,18 @@
|
|||
icon = "''${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
||||
definedAliases = [ "@np" ];
|
||||
};
|
||||
# NixOS Options Search
|
||||
"NixOS Options" = {
|
||||
urls = [{
|
||||
template = "https://search.nixos.org/options";
|
||||
params = [
|
||||
{ name = "type"; value = "packages"; }
|
||||
{ name = "query"; value = "{searchTerms}"; }
|
||||
];
|
||||
}];
|
||||
icon = "''${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
||||
definedAliases = [ "@no" ];
|
||||
};
|
||||
# NixOS Wiki Search
|
||||
"NixOS Wiki" = {
|
||||
urls = [{ template = "https://nixos.wiki/index.php?search={searchTerms}"; }];
|
||||
|
|
|
@ -8,9 +8,6 @@
|
|||
# Tailsccale
|
||||
tailscale
|
||||
|
||||
# Fonts
|
||||
fira-code-nerdfont
|
||||
|
||||
# KDE Packages
|
||||
kdePackages.kate
|
||||
kdePackages.elisa
|
||||
|
|
|
@ -22,6 +22,13 @@
|
|||
kwin = {
|
||||
edgeBarrier = 0; # Disables the highlighting when approaching an edge with an effect
|
||||
cornerBarrier = false;
|
||||
|
||||
effects = {
|
||||
blur.enable = true;
|
||||
shakeCursor.enable = false;
|
||||
translucency.enable = true;
|
||||
wobblyWindows.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
kscreenlocker = {
|
||||
|
|
14
home-manager/modules/shell/btop.nix
Normal file
14
home-manager/modules/shell/btop.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
{ ... }:
|
||||
{
|
||||
programs.btop = {
|
||||
enable = true;
|
||||
|
||||
settings = {
|
||||
color_theme = "Dracula";
|
||||
theme_background = false;
|
||||
truecolor = true;
|
||||
shown_boxes = "proc cpu mem net gpu0";
|
||||
update_ms = 100;
|
||||
};
|
||||
};
|
||||
}
|
|
@ -4,5 +4,6 @@
|
|||
./zsh.nix
|
||||
./starship.nix
|
||||
./konsole.nix
|
||||
./btop.nix
|
||||
];
|
||||
}
|
|
@ -20,6 +20,8 @@
|
|||
pager = "delta";
|
||||
default-command = "log";
|
||||
|
||||
editor = "codium --wait";
|
||||
|
||||
diff = {
|
||||
format = "git";
|
||||
};
|
||||
|
|
|
@ -9,8 +9,16 @@
|
|||
mutableExtensionsDir = false;
|
||||
|
||||
extensions = with inputs.vscode-extensions.extensions."${system}".open-vsx; [
|
||||
rust-lang.rust-analyzer
|
||||
jnoortheen.nix-ide
|
||||
# Language servers
|
||||
rust-lang.rust-analyzer # Rust
|
||||
llvm-vs-code-extensions.vscode-clangd # C++
|
||||
vadimcn.vscode-lldb # C++ Debugging
|
||||
jnoortheen.nix-ide # Nix
|
||||
tamasfe.even-better-toml # TOML
|
||||
# Theming
|
||||
pkief.material-icon-theme # Material icons
|
||||
# Utilities
|
||||
streetsidesoftware.code-spell-checker # Spellchecking
|
||||
];
|
||||
|
||||
userSettings = {
|
||||
|
|
1
result
1
result
|
@ -1 +0,0 @@
|
|||
/nix/store/8r0ifgzrfwls4lv0kimklysq8scjsnmw-beautyline-garuda-04052024
|
Loading…
Reference in a new issue