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

Better formatting

This commit is contained in:
RGBCube 2023-05-24 21:16:19 +03:00
parent 7b18ac23c7
commit a0397085ed
No known key found for this signature in database
9 changed files with 49 additions and 53 deletions

View file

@ -6,7 +6,7 @@
(homeConfiguration "nixos" {
programs.nushell.environmentVariables = {
PAGER = "\"bat --plain\"";
PAGER = "\"bat --plain\"";
MANPAGER = "\"sh -c 'col --spaces --no-backspaces | bat --plain --language man'\"";
};
@ -14,9 +14,9 @@
config.theme = "catppuccin";
themes.catppuccin = builtins.readFile (pkgs.fetchFromGitHub {
owner = "catppuccin";
repo = "bat";
rev = "ba4d16880d63e656acced2b7d4e034e4a93f74b1";
owner = "catppuccin";
repo = "bat";
rev = "ba4d16880d63e656acced2b7d4e034e4a93f74b1";
sha256 = "sha256-6WVKQErGdaqb++oaXnY3i6/GuH2FhTgK0v4TN4Y0Wbw=";
} + "/Catppuccin-mocha.tmTheme");
};

View file

@ -3,17 +3,13 @@
(systemConfiguration {
console = {
earlySetup = true;
font = "Lat2-Terminus16";
packages = with pkgs; [
terminus-nerdfont
];
font = "Lat2-Terminus16";
packages = with pkgs; [ terminus-nerdfont ];
};
})
(with pkgs; systemFonts [
(nerdfonts.override {
fonts = [
"JetBrainsMono"
];
fonts = [ "JetBrainsMono" ];
})
])

View file

@ -2,30 +2,31 @@
homeConfiguration "nixos" {
programs.nushell.shellAliases = {
g = "git";
ga = "git add ./";
grb = "git rebase --interactive";
g = "git";
ga = "git add ./";
grb = "git rebase --interactive";
grba = "git rebase --abort";
gc = "git commit --message";
gca = "git commit --amend";
gcl = "git clone";
gd = "git diff";
gds = "git diff --staged";
gp = "git push";
gs = "git stash";
gss = "git status";
gc = "git commit --message";
gca = "git commit --amend";
gcl = "git clone";
gd = "git diff";
gds = "git diff --staged";
gp = "git push";
gs = "git stash";
gst = "git status";
};
programs.git = enabled {
userName = "RGBCube";
userName = "RGBCube";
userEmail = "RGBCube@users.noreply.github.com";
extraConfig = {
init.defaultBranch = "master";
gpg.format = "ssh";
gpg.format = "ssh";
user.signingKey = "~/.ssh/id_rsa";
commit.gpgSign = true;
commit.gpgSign = true;
url."ssh://git@github.com/".insteadOf = "https://github.com/";
};
};

View file

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

View file

@ -13,16 +13,13 @@
settings.theme = "catppuccin_mocha";
settings.editor = {
color-modes = true;
color-modes = true;
cursor-shape.insert = "bar";
cursorline = true;
file-picker.hidden = false;
line-number = "relative";
shell = [
"nu"
"-c"
];
text-width = 100;
cursorline = true;
file-picker.hidden = false;
line-number = "relative";
shell = [ "nu" "-c" ];
text-width = 100;
};
settings.editor.auto-pairs = {
@ -42,7 +39,7 @@
};
settings.editor.whitespace = {
render.tab = "all";
render.tab = "all";
characters.tab = "";
};
};

View file

@ -2,20 +2,22 @@
systemConfiguration {
services.xserver.layout = "tr";
console.keyMap = "trq";
console.keyMap = "trq";
time.timeZone = "Europe/Istanbul";
i18n.defaultLocale = "en_US.UTF-8";
i18n.extraLocaleSettings = {
LC_ADDRESS = "tr_TR.UTF-8";
LC_IDENTIFICATION = "tr_TR.UTF-8";
LC_MEASUREMENT = "tr_TR.UTF-8";
LC_MONETARY = "tr_TR.UTF-8";
LC_NAME = "tr_TR.UTF-8";
LC_NUMERIC = "tr_TR.UTF-8";
LC_PAPER = "tr_TR.UTF-8";
LC_TELEPHONE = "tr_TR.UTF-8";
LC_TIME = "tr_TR.UTF-8";
i18n.defaultLocale = "en_US.UTF-8";
i18n.extraLocaleSettings = let
locale = "tr_TR.UTF-8";
in {
LC_ADDRESS = locale;
LC_IDENTIFICATION = locale;
LC_MEASUREMENT = locale;
LC_MONETARY = locale;
LC_NAME = locale;
LC_NUMERIC = locale;
LC_PAPER = locale;
LC_TELEPHONE = locale;
LC_TIME = locale;
};
}

View file

@ -8,13 +8,13 @@
programs.starship = enabled {
settings.character = {
success_symbol = "";
error_symbol = "";
error_symbol = "";
};
};
programs.nushell = enabled {
configFile.source = ./configuration.nu;
envFile.source = ./environment.nu;
envFile.source = ./environment.nu;
shellAliases = {
la = "ls --all";

View file

@ -2,7 +2,7 @@
systemConfiguration {
security.rtkit = enabled {};
sound = enabled {};
sound = enabled {};
services.pipewire = enabled {
pulse = enabled {};

View file

@ -2,7 +2,7 @@
systemConfiguration {
services.xserver = enabled {
displayManager.sddm = enabled {};
displayManager.sddm = enabled {};
desktopManager.plasma5 = enabled {};
};
}