Merge branch 'master' of ssh://git.nx2.site:20022/nx2/dotfiles
This commit is contained in:
@@ -11,6 +11,7 @@ in
|
||||
./system-modules/grub.nix
|
||||
./system-modules/dm.nix
|
||||
./system-modules/networking.nix
|
||||
./system-modules/virtualisation.nix
|
||||
|
||||
./system-modules/hsmw.nix
|
||||
./system-modules/docker.nix
|
||||
@@ -78,6 +79,7 @@ in
|
||||
openssl
|
||||
blueman
|
||||
dmidecode
|
||||
file
|
||||
];
|
||||
|
||||
|
||||
|
||||
@@ -51,6 +51,8 @@
|
||||
nxf = "nxfetch";
|
||||
nn = "nano";
|
||||
m = "micro";
|
||||
p = "python";
|
||||
ipy = "ipython";
|
||||
c = "codium";
|
||||
g = "git";
|
||||
# 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";
|
||||
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";
|
||||
ns = "nix-shell";
|
||||
|
||||
code = "codium";
|
||||
# ya = "yazi"; # function
|
||||
|
||||
@@ -35,6 +35,19 @@ in
|
||||
gtk4.extraConfig = {
|
||||
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 = {
|
||||
@@ -45,6 +58,7 @@ in
|
||||
|
||||
|
||||
|
||||
|
||||
dconf = {
|
||||
enable = true;
|
||||
settings = {
|
||||
|
||||
14
home-modules/virt-manager.nix
Normal file
14
home-modules/virt-manager.nix
Normal 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" ];
|
||||
};
|
||||
};
|
||||
}
|
||||
6
home.nix
6
home.nix
@@ -8,6 +8,7 @@
|
||||
./home-modules/email.nix
|
||||
./home-modules/bitwarden.nix
|
||||
./home-modules/office.nix
|
||||
./home-modules/virt-manager.nix
|
||||
|
||||
# ./home-modules/mutt/neomutt.nix
|
||||
./home-modules/gestures.nix
|
||||
@@ -52,6 +53,7 @@
|
||||
zoom-us
|
||||
discord
|
||||
signal-desktop
|
||||
xfce.thunar
|
||||
|
||||
obsidian
|
||||
spotify spicetify-cli
|
||||
@@ -70,6 +72,9 @@
|
||||
gnumake
|
||||
|
||||
speedtest-go
|
||||
|
||||
glib
|
||||
gsettings-desktop-schemas
|
||||
];
|
||||
|
||||
xdg = {
|
||||
@@ -99,6 +104,7 @@
|
||||
"image/webp" = "imv.desktop";
|
||||
"image/gif" = "imv.desktop";
|
||||
"application/pdf" = "zathura.desktop";
|
||||
"inode/directory" = "thunar.desktop";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
10
system-modules/virtualisation.nix
Normal file
10
system-modules/virtualisation.nix
Normal 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" ];
|
||||
}
|
||||
Reference in New Issue
Block a user