Merge branch 'master' of ssh://git.nx2.site:20022/nx2/dotfiles

This commit is contained in:
Lennart J. Kurzweg (Nx2)
2024-04-26 15:48:26 +02:00
6 changed files with 49 additions and 0 deletions

View File

@@ -11,6 +11,7 @@ in
./system-modules/grub.nix ./system-modules/grub.nix
./system-modules/dm.nix ./system-modules/dm.nix
./system-modules/networking.nix ./system-modules/networking.nix
./system-modules/virtualisation.nix
./system-modules/hsmw.nix ./system-modules/hsmw.nix
./system-modules/docker.nix ./system-modules/docker.nix
@@ -78,6 +79,7 @@ in
openssl openssl
blueman blueman
dmidecode dmidecode
file
]; ];

View File

@@ -51,6 +51,8 @@
nxf = "nxfetch"; nxf = "nxfetch";
nn = "nano"; nn = "nano";
m = "micro"; m = "micro";
p = "python";
ipy = "ipython";
c = "codium"; c = "codium";
g = "git"; g = "git";
# gst = "git status"; # gst = "git status";
@@ -63,6 +65,7 @@
glg = "git log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(auto)%d%C(reset)' --all"; glg = "git log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(auto)%d%C(reset)' --all";
gll = "git log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(auto)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)'"; gll = "git log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(auto)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)'";
gmt = "git_monitor"; gmt = "git_monitor";
ns = "nix-shell";
code = "codium"; code = "codium";
# ya = "yazi"; # function # ya = "yazi"; # function

View File

@@ -35,6 +35,19 @@ in
gtk4.extraConfig = { gtk4.extraConfig = {
gtk-application-prefer-dark-theme = 1; gtk-application-prefer-dark-theme = 1;
}; };
cursorTheme = {
name = "Catppuccin-Mocha-Pink-Cursors";
package = pkgs.catppuccin-cursors.mochaPink;
size = 20;
};
};
home.pointerCursor = {
gtk.enable = true;
x11.enable = true;
package = pkgs.catppuccin-cursors.mochaPeach;
name = "Catppuccin-Mocha-Pink-Cursors";
size = 20;
}; };
xdg.configFile = { xdg.configFile = {
@@ -45,6 +58,7 @@ in
dconf = { dconf = {
enable = true; enable = true;
settings = { settings = {

View File

@@ -0,0 +1,14 @@
{ config, pkgs, ... }:
{
home.packages = with pkgs; [
virt-manager
];
# programs.virt-manager.enable = true; # needs this in virtualization.nix
dconf.settings = {
"org/virt-manager/virt-manager/connections" = {
autoconnect = [ "qemu:///system" ];
uris = [ "qemu:///system" ];
};
};
}

View File

@@ -8,6 +8,7 @@
./home-modules/email.nix ./home-modules/email.nix
./home-modules/bitwarden.nix ./home-modules/bitwarden.nix
./home-modules/office.nix ./home-modules/office.nix
./home-modules/virt-manager.nix
# ./home-modules/mutt/neomutt.nix # ./home-modules/mutt/neomutt.nix
./home-modules/gestures.nix ./home-modules/gestures.nix
@@ -52,6 +53,7 @@
zoom-us zoom-us
discord discord
signal-desktop signal-desktop
xfce.thunar
obsidian obsidian
spotify spicetify-cli spotify spicetify-cli
@@ -70,6 +72,9 @@
gnumake gnumake
speedtest-go speedtest-go
glib
gsettings-desktop-schemas
]; ];
xdg = { xdg = {
@@ -99,6 +104,7 @@
"image/webp" = "imv.desktop"; "image/webp" = "imv.desktop";
"image/gif" = "imv.desktop"; "image/gif" = "imv.desktop";
"application/pdf" = "zathura.desktop"; "application/pdf" = "zathura.desktop";
"inode/directory" = "thunar.desktop";
}; };
}; };
}; };

View File

@@ -0,0 +1,10 @@
{ config, pkgs, user, ... }:
{
environment.systemPackages = with pkgs; [
virtiofsd
];
virtualisation.libvirtd.enable = true;
programs.virt-manager.enable = true;
users.users."${user}".extraGroups = [ "libvirtd" ];
}