add yazi, vscode, gnome-tweaks, and others
This commit is contained in:
parent
0602ac8223
commit
1ffb33dae4
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,3 +2,4 @@ nvf-stuff
|
|||||||
config-nixvim
|
config-nixvim
|
||||||
result
|
result
|
||||||
hardware-configuration.nix
|
hardware-configuration.nix
|
||||||
|
*.swp
|
||||||
|
6
flake.lock
generated
6
flake.lock
generated
@ -7,11 +7,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1738275749,
|
"lastModified": 1738378034,
|
||||||
"narHash": "sha256-PM+cGduJ05EZ+YXulqAwUFjvfKpPmW080mcuN6R1POw=",
|
"narHash": "sha256-mldSa2NhDlnjqeSSFTNnkXIDrCLltpJfhrHUMBBKEiY=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "a8159195bfaef3c64df75d3b1e6a68d49d392be9",
|
"rev": "801ddd8693481866c2cfb1efd44ddbae778ea572",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
37
home/dconf.nix
Normal file
37
home/dconf.nix
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
{ inputs, pkgs, lib, config, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
dconf = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
"org/gnome/shell" = {
|
||||||
|
disable-user-extensions = false; # enables user extensions
|
||||||
|
enabled-extensions = [
|
||||||
|
# Put UUIDs of extensions that you want to enable here.
|
||||||
|
# If the extension you want to enable is packaged in nixpkgs,
|
||||||
|
# you can easily get its UUID by accessing its extensionUuid
|
||||||
|
# field (look at the following example).
|
||||||
|
pkgs.gnomeExtensions.gsconnect.extensionUuid
|
||||||
|
pkgs.gnomeExtensions.blur-my-shell.extensionUuid
|
||||||
|
pkgs.gnomeExtensions.pop-shell.extensionUuid
|
||||||
|
pkgs.gnomeExtensions.tactile.extensionUuid
|
||||||
|
pkgs.gnomeExtensions.pop-shell.extensionUuid
|
||||||
|
pkgs.gnomeExtensions.space-bar.extensionUuid
|
||||||
|
pkgs.gnomeExtensions.undecorate.extensionUuid
|
||||||
|
pkgs.gnomeExtensions.pastafarian-holy-days.extensionUuid
|
||||||
|
pkgs.gnomeExtensions.just-perfection.extensionUuid
|
||||||
|
|
||||||
|
];
|
||||||
|
};
|
||||||
|
"org/gnome/desktop/interface" = {
|
||||||
|
color-scheme = "prefer-dark";
|
||||||
|
};
|
||||||
|
|
||||||
|
# Configure individual extensions
|
||||||
|
"org/gnome/shell/extensions/blur-my-shell" = {
|
||||||
|
brightness = 0.75;
|
||||||
|
noise-amount = 0;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
@ -8,6 +8,7 @@
|
|||||||
./starship.nix
|
./starship.nix
|
||||||
#./vscode.nix
|
#./vscode.nix
|
||||||
./packages.nix
|
./packages.nix
|
||||||
|
./dconf.nix
|
||||||
./git.nix
|
./git.nix
|
||||||
./zsh.nix
|
./zsh.nix
|
||||||
./variables.nix
|
./variables.nix
|
||||||
|
@ -13,30 +13,30 @@
|
|||||||
background_opacity = "0.8";
|
background_opacity = "0.8";
|
||||||
background_blur = 0;
|
background_blur = 0;
|
||||||
themeFile = "Alucard";
|
themeFile = "Alucard";
|
||||||
symbol_map =
|
# symbol_map =
|
||||||
let
|
# let
|
||||||
mappings = [
|
# mappings = [
|
||||||
"U+23FB-U+23FE"
|
# "U+23FB-U+23FE"
|
||||||
"U+2B58"
|
# "U+2B58"
|
||||||
"U+E200-U+E2A9"
|
# "U+E200-U+E2A9"
|
||||||
"U+E0A0-U+E0A3"
|
# "U+E0A0-U+E0A3"
|
||||||
"U+E0B0-U+E0BF"
|
# "U+E0B0-U+E0BF"
|
||||||
"U+E0C0-U+E0C8"
|
# "U+E0C0-U+E0C8"
|
||||||
"U+E0CC-U+E0CF"
|
# "U+E0CC-U+E0CF"
|
||||||
"U+E0D0-U+E0D2"
|
# "U+E0D0-U+E0D2"
|
||||||
"U+E0D4"
|
# "U+E0D4"
|
||||||
"U+E700-U+E7C5"
|
# "U+E700-U+E7C5"
|
||||||
"U+F000-U+F2E0"
|
# "U+F000-U+F2E0"
|
||||||
"U+2665"
|
# "U+2665"
|
||||||
"U+26A1"
|
# "U+26A1"
|
||||||
"U+F400-U+F4A8"
|
# "U+F400-U+F4A8"
|
||||||
"U+F67C"
|
# "U+F67C"
|
||||||
"U+E000-U+E00A"
|
# "U+E000-U+E00A"
|
||||||
"U+F300-U+F313"
|
# "U+F300-U+F313"
|
||||||
"U+E5FA-U+E62B"
|
# "U+E5FA-U+E62B"
|
||||||
];
|
# ];
|
||||||
in
|
# in
|
||||||
(builtins.concatStringsSep "," mappings) + " Symbols Nerd Font";
|
# (builtins.concatStringsSep "," mappings) + " Symbols Nerd Font";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -52,11 +52,13 @@
|
|||||||
services.printing.enable = true;
|
services.printing.enable = true;
|
||||||
|
|
||||||
fonts.packages = with pkgs; [
|
fonts.packages = with pkgs; [
|
||||||
noto-fonts
|
nerd-fonts.fira-code
|
||||||
|
nerd-fonts.space-mono
|
||||||
|
nerd-fonts.droid-sans-mono
|
||||||
noto-fonts-cjk-sans
|
noto-fonts-cjk-sans
|
||||||
noto-fonts-emoji
|
noto-fonts-emoji
|
||||||
liberation_ttf
|
liberation_ttf
|
||||||
fira-code
|
#fira-code
|
||||||
fira-code-symbols
|
fira-code-symbols
|
||||||
mplus-outline-fonts.githubRelease
|
mplus-outline-fonts.githubRelease
|
||||||
dina-font
|
dina-font
|
||||||
|
@ -4,10 +4,14 @@
|
|||||||
imports =
|
imports =
|
||||||
[
|
[
|
||||||
./configuration.nix
|
./configuration.nix
|
||||||
|
./gnome.nix
|
||||||
|
./yazi.nix
|
||||||
./nvidia.nix
|
./nvidia.nix
|
||||||
./network.nix
|
./network.nix
|
||||||
./net-drives.nix
|
./net-drives.nix
|
||||||
./packages.nix
|
./packages.nix
|
||||||
./services.nix
|
./services.nix
|
||||||
|
./vscode.nix
|
||||||
|
./cachix.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
25
system/gnome.nix
Executable file
25
system/gnome.nix
Executable file
@ -0,0 +1,25 @@
|
|||||||
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
# Enable the X11 windowing system.
|
||||||
|
services.xserver.enable = true;
|
||||||
|
|
||||||
|
# Enable the GNOME Desktop Environment.
|
||||||
|
services.xserver.displayManager.gdm.enable = true;
|
||||||
|
services.xserver.desktopManager.gnome.enable = true;
|
||||||
|
|
||||||
|
environment.systemPackages = (with pkgs.gnomeExtensions; [
|
||||||
|
blur-my-shell
|
||||||
|
pop-shell
|
||||||
|
tactile
|
||||||
|
pop-shell
|
||||||
|
space-bar
|
||||||
|
undecorate
|
||||||
|
pastafarian-holy-days
|
||||||
|
just-perfection
|
||||||
|
]) ++ (with pkgs; [
|
||||||
|
gnome-tweaks
|
||||||
|
adwaita-icon-theme
|
||||||
|
]);
|
||||||
|
}
|
||||||
|
|
@ -24,7 +24,9 @@
|
|||||||
options = [ "fmask=0077" "dmask=0077" ];
|
options = [ "fmask=0077" "dmask=0077" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
swapDevices = [ ];
|
swapDevices = [{
|
||||||
|
device = "/dev/nvme0n1p7";
|
||||||
|
}];
|
||||||
|
|
||||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||||
# (the default) this is the recommended approach. When using systemd-networkd it's
|
# (the default) this is the recommended approach. When using systemd-networkd it's
|
||||||
|
@ -12,7 +12,8 @@
|
|||||||
git
|
git
|
||||||
fastfetch
|
fastfetch
|
||||||
wget
|
wget
|
||||||
discord
|
#discord-canary
|
||||||
|
vesktop
|
||||||
cudaPackages_12.cudatoolkit
|
cudaPackages_12.cudatoolkit
|
||||||
python3
|
python3
|
||||||
gimp
|
gimp
|
||||||
@ -20,6 +21,8 @@
|
|||||||
xclip
|
xclip
|
||||||
gparted
|
gparted
|
||||||
htop
|
htop
|
||||||
|
btop
|
||||||
|
yazi
|
||||||
];
|
];
|
||||||
|
|
||||||
# Install firefox.
|
# Install firefox.
|
||||||
|
45
system/vscode.nix
Executable file
45
system/vscode.nix
Executable file
@ -0,0 +1,45 @@
|
|||||||
|
{ inputs, pkgs, lib, config, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
(vscode-with-extensions.override {
|
||||||
|
vscodeExtensions = with vscode-extensions; [
|
||||||
|
bbenoist.nix
|
||||||
|
ms-python.python
|
||||||
|
ms-azuretools.vscode-docker
|
||||||
|
ms-vscode-remote.remote-ssh
|
||||||
|
golang.go
|
||||||
|
ms-vscode.cpptools
|
||||||
|
ms-vsliveshare.vsliveshare
|
||||||
|
bbenoist.nix
|
||||||
|
ms-python.python
|
||||||
|
#laravel.vscode-laravel
|
||||||
|
ms-azuretools.vscode-docker
|
||||||
|
ms-vscode-remote.remote-ssh
|
||||||
|
vscodevim.vim
|
||||||
|
enkia.tokyo-night
|
||||||
|
yzhang.markdown-all-in-one
|
||||||
|
#onecentlin.laravel-extension-pack
|
||||||
|
] ++ pkgs.vscode-utils.extensionsFromVscodeMarketplace [
|
||||||
|
{
|
||||||
|
name = "remote-ssh-edit";
|
||||||
|
publisher = "ms-vscode-remote";
|
||||||
|
version = "0.47.2";
|
||||||
|
sha256 = "1hp6gjh4xp2m1xlm1jsdzxw9d8frkiidhph6nvl24d0h8z34w49g";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name = "vsliveshare";
|
||||||
|
publisher = "ms-vsliveshare";
|
||||||
|
version = "1.0.5948"; # replace with the latest version
|
||||||
|
sha256 = "kou9zf5l6mtlu8z/l4xbwrl2x3uie15yghezjrkshgy="; # replace with the calculated hash
|
||||||
|
}
|
||||||
|
# {
|
||||||
|
# name = "glassit";
|
||||||
|
# publisher = "s-nlf-fh";
|
||||||
|
# version = "0.2.6";
|
||||||
|
# sha256 = "lcaomgk91hnjwqaw4i0fagtowr8kwv7zhvgcgkokkuy=";
|
||||||
|
# }
|
||||||
|
];
|
||||||
|
})
|
||||||
|
];
|
||||||
|
}
|
46
system/yazi.nix
Executable file
46
system/yazi.nix
Executable file
@ -0,0 +1,46 @@
|
|||||||
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
|
||||||
|
programs.yazi = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
yazi = {
|
||||||
|
ratio = [
|
||||||
|
1
|
||||||
|
4
|
||||||
|
3
|
||||||
|
];
|
||||||
|
sort_by = "natural";
|
||||||
|
sort_sensitive = true;
|
||||||
|
sort_reverse = false;
|
||||||
|
sort_dir_first = true;
|
||||||
|
linemode = "none";
|
||||||
|
show_hidden = true;
|
||||||
|
show_symlink = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
# preview = {
|
||||||
|
# image_filter = "lanczos3";
|
||||||
|
# image_quality = 90;
|
||||||
|
# tab_size = 1;
|
||||||
|
# max_width = 600;
|
||||||
|
# max_height = 900;
|
||||||
|
# cache_dir = "";
|
||||||
|
# ueberzug_scale = 1;
|
||||||
|
# ueberzug_offset = [
|
||||||
|
# 0
|
||||||
|
# 0
|
||||||
|
# 0
|
||||||
|
# 0
|
||||||
|
# ];
|
||||||
|
# };
|
||||||
|
|
||||||
|
# tasks = {
|
||||||
|
# micro_workers = 5;
|
||||||
|
# macro_workers = 10;
|
||||||
|
# bizarre_retry = 5;
|
||||||
|
# };
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user