1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-30 11:37:44 +00:00

Reorder stuff alphabethically and quote non command strings in Nu config

This commit is contained in:
RGBCube 2023-11-06 14:40:43 +03:00
parent eb3c29492b
commit 4584e98557
No known key found for this signature in database
9 changed files with 14 additions and 13 deletions

View file

@ -6,8 +6,8 @@
(homeConfiguration "nixos" { (homeConfiguration "nixos" {
programs.nushell.environmentVariables = { programs.nushell.environmentVariables = {
PAGER = "\"bat --plain\"";
MANPAGER = "\"sh -c 'col --spaces --no-backspaces | bat --plain --language man'\""; MANPAGER = "\"sh -c 'col --spaces --no-backspaces | bat --plain --language man'\"";
PAGER = "\"bat --plain\"";
}; };
programs.bat = enabled { programs.bat = enabled {

View file

@ -27,9 +27,9 @@ homeConfiguration "nixos" {
extraConfig = { extraConfig = {
init.defaultBranch = "master"; init.defaultBranch = "master";
commit.gpgSign = true;
gpg.format = "ssh"; gpg.format = "ssh";
user.signingKey = "~/.ssh/id_rsa"; user.signingKey = "~/.ssh/id_rsa";
commit.gpgSign = true;
url."ssh://git@github.com/".insteadOf = "https://github.com/"; url."ssh://git@github.com/".insteadOf = "https://github.com/";
}; };

View file

@ -7,24 +7,24 @@
(homeConfiguration "nixos" { (homeConfiguration "nixos" {
gtk = enabled { gtk = enabled {
cursorTheme = { cursorTheme = {
package = pkgs.capitaine-cursors-themed;
name = "Gruvbox"; name = "Gruvbox";
package = pkgs.capitaine-cursors-themed;
}; };
font = { font = {
package = pkgs.jetbrains-mono;
name = "JetBrainsMono"; name = "JetBrainsMono";
package = pkgs.jetbrains-mono;
size = 11; size = 11;
}; };
iconTheme = { iconTheme = {
package = pkgs.gruvbox-dark-icons-gtk;
name = "gruvbox-dark"; name = "gruvbox-dark";
package = pkgs.gruvbox-dark-icons-gtk;
}; };
theme = { theme = {
package = pkgs.gruvbox-gtk-theme;
name = "Gruvbox-Dark-BL"; name = "Gruvbox-Dark-BL";
package = pkgs.gruvbox-gtk-theme;
}; };
}; };
}) })

View file

@ -13,8 +13,8 @@ systemConfiguration {
]; ];
boot.loader = { boot.loader = {
systemd-boot = enabled {};
efi.canTouchEfiVariables = true; efi.canTouchEfiVariables = true;
systemd-boot = enabled {};
}; };
fileSystems."/" = { fileSystems."/" = {

View file

@ -83,8 +83,8 @@
} }
decoration { decoration {
rounding = 0
drop_shadow = false drop_shadow = false
rounding = 0
blur { blur {
enabled = false enabled = false
@ -105,8 +105,8 @@
disable_hyprland_logo = true disable_hyprland_logo = true
disable_splash_rendering = true disable_splash_rendering = true
mouse_move_enables_dpms = true
key_press_enables_dpms = true key_press_enables_dpms = true
mouse_move_enables_dpms = true
animate_manual_resizes = true animate_manual_resizes = true
animate_mouse_windowdragging = true animate_mouse_windowdragging = true

View file

@ -3,7 +3,7 @@ let theme = {
leading_trailing_space_bg: { attr: n } leading_trailing_space_bg: { attr: n }
header: green_bold header: green_bold
empty: blue empty: blue
bool: {|| if $in { light_cyan } else { light_red }} bool: {|| if $in { "light_cyan" } else { "light_red" }}
int: white int: white
filesize: cyan filesize: cyan
duration: white duration: white

View file

@ -13,6 +13,7 @@
shellAliases = { shellAliases = {
la = "ls --all"; la = "ls --all";
ll = "ls --long";
lla = "ls --long --all"; lla = "ls --long --all";
sl = "ls"; sl = "ls";
}; };

View file

@ -5,5 +5,5 @@
]) ])
(homeConfiguration "nixos" { (homeConfiguration "nixos" {
programs.nushell.shellAliases = "steck paste"; programs.nushell.shellAliases.share = "steck paste";
}) })

View file

@ -5,9 +5,9 @@ systemConfiguration {
description = "NixOS"; description = "NixOS";
extraGroups = [ extraGroups = [
"wheel"
"networkmanager"
"docker" "docker"
"networkmanager"
"wheel"
]; ];
}; };
} }