bump
This commit is contained in:
parent
1bd3b595b1
commit
c2f796760a
4 changed files with 11 additions and 55 deletions
|
|
@ -14,7 +14,7 @@
|
||||||
boot.extraModulePackages = [ ];
|
boot.extraModulePackages = [ ];
|
||||||
|
|
||||||
fileSystems."/" =
|
fileSystems."/" =
|
||||||
{ device = "/dev/disk/by-uuid/07f76e3c-2dcf-4cda-99bf-657f1dc5885f";
|
{ device = "/dev/disk/by-uuid/b7877a82-a67d-4362-ad36-ac513d7c0fc6";
|
||||||
fsType = "ext4";
|
fsType = "ext4";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -107,5 +107,6 @@ in {
|
||||||
unzip
|
unzip
|
||||||
starship
|
starship
|
||||||
flameshot
|
flameshot
|
||||||
|
yarn
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -15,26 +15,10 @@ in {
|
||||||
services.xserver.windowManager.i3 = {
|
services.xserver.windowManager.i3 = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.i3-gaps;
|
package = pkgs.i3-gaps;
|
||||||
extraPackages = with pkgs; [
|
extraPackages = with pkgs; [dmenu i3status i3lock i3blocks picom feh rofi dunst polybar i3-auto-layout];
|
||||||
dmenu
|
|
||||||
i3status
|
|
||||||
i3lock
|
|
||||||
i3blocks
|
|
||||||
picom
|
|
||||||
feh
|
|
||||||
rofi
|
|
||||||
dunst
|
|
||||||
polybar
|
|
||||||
i3-auto-layout
|
|
||||||
];
|
|
||||||
extraSessionCommands = ''
|
extraSessionCommands = ''
|
||||||
# Set random wallpaper
|
|
||||||
${pkgs.feh}/bin/feh --randomize --bg-fill ~/wallpapers/* || ${pkgs.feh}/bin/feh --bg-fill ${pkgs.nixos-artwork.wallpapers.nineish-dark-gray}/share/backgrounds/nixos/nineish-dark-gray.png &
|
${pkgs.feh}/bin/feh --randomize --bg-fill ~/wallpapers/* || ${pkgs.feh}/bin/feh --bg-fill ${pkgs.nixos-artwork.wallpapers.nineish-dark-gray}/share/backgrounds/nixos/nineish-dark-gray.png &
|
||||||
export GTK_THEME="Tokyonight-Dark"
|
${pkgs.gtk3}/bin/gsettings set org.gnome.desktop.interface gtk-theme "Tokyo Night Storm"
|
||||||
export XCURSOR_THEME="Vivid-Dark-Icons"
|
|
||||||
export XCURSOR_SIZE="24"
|
|
||||||
export QT_STYLE_OVERRIDE="adwaita-dark"
|
|
||||||
${pkgs.gtk3}/bin/gsettings set org.gnome.desktop.interface gtk-theme "Tokyonight-Dark"
|
|
||||||
${pkgs.gtk3}/bin/gsettings set org.gnome.desktop.interface icon-theme "Vivid-Dark-Icons"
|
${pkgs.gtk3}/bin/gsettings set org.gnome.desktop.interface icon-theme "Vivid-Dark-Icons"
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
@ -52,7 +36,7 @@ in {
|
||||||
enable = true;
|
enable = true;
|
||||||
theme = {
|
theme = {
|
||||||
package = customPkgs.tokyo-night-gtk;
|
package = customPkgs.tokyo-night-gtk;
|
||||||
name = "Tokyonight-Dark";
|
name = "Tokyo Night Storm";
|
||||||
};
|
};
|
||||||
iconTheme = {
|
iconTheme = {
|
||||||
package = customPkgs.vivid-icons;
|
package = customPkgs.vivid-icons;
|
||||||
|
|
@ -60,8 +44,6 @@ in {
|
||||||
};
|
};
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
[greeter]
|
[greeter]
|
||||||
theme-name=Tokyonight-Dark
|
|
||||||
icon-theme-name=Vivid-Dark-Icons
|
|
||||||
font-name=Clear Sans 10
|
font-name=Clear Sans 10
|
||||||
cursor-theme-name=Vivid-Dark-Icons
|
cursor-theme-name=Vivid-Dark-Icons
|
||||||
'';
|
'';
|
||||||
|
|
@ -74,50 +56,22 @@ in {
|
||||||
user = "cobray";
|
user = "cobray";
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.etc."xdg/autostart/i3-setup.desktop" = {
|
|
||||||
text = ''
|
|
||||||
[Desktop Entry]
|
|
||||||
Type=Application
|
|
||||||
Name=i3 Setup
|
|
||||||
Exec=${pkgs.bash}/bin/bash -c "${pkgs.feh}/bin/feh --randomize --bg-fill ~/wallpapers/* || ${pkgs.feh}/bin/feh --bg-fill ${pkgs.nixos-artwork.wallpapers.nineish-dark-gray}/share/backgrounds/nixos/nineish-dark-gray.png"
|
|
||||||
Terminal=false
|
|
||||||
X-GNOME-Autostart-enabled=true
|
|
||||||
'';
|
|
||||||
mode = "0644";
|
|
||||||
};
|
|
||||||
|
|
||||||
qt.enable = true;
|
qt.enable = true;
|
||||||
qt.platformTheme = "qt5ct";
|
qt.platformTheme = "qt5ct";
|
||||||
qt.style = "adwaita-dark";
|
qt.style = "adwaita-dark";
|
||||||
|
|
||||||
environment.etc."gtk-2.0/gtkrc".text = ''
|
|
||||||
gtk-theme-name="Tokyonight-Dark"
|
|
||||||
gtk-icon-theme-name="Vivid-Dark-Icons"
|
|
||||||
gtk-font-name="Clear Sans 10"
|
|
||||||
'';
|
|
||||||
|
|
||||||
environment.etc."gtk-3.0/settings.ini".text = ''
|
environment.etc."gtk-3.0/settings.ini".text = ''
|
||||||
[Settings]
|
[Settings]
|
||||||
gtk-application-prefer-dark-theme=1
|
gtk-application-prefer-dark-theme=1
|
||||||
gtk-theme-name=Tokyonight-Dark
|
gtk-theme-name=Tokyo Night Storm
|
||||||
gtk-icon-theme-name=Vivid-Dark-Icons
|
|
||||||
gtk-font-name=Clear Sans 10
|
|
||||||
'';
|
|
||||||
|
|
||||||
environment.etc."gtk-4.0/settings.ini".text = ''
|
|
||||||
[Settings]
|
|
||||||
gtk-application-prefer-dark-theme=1
|
|
||||||
gtk-theme-name=Tokyonight-Dark
|
|
||||||
gtk-icon-theme-name=Vivid-Dark-Icons
|
gtk-icon-theme-name=Vivid-Dark-Icons
|
||||||
gtk-font-name=Clear Sans 10
|
gtk-font-name=Clear Sans 10
|
||||||
'';
|
'';
|
||||||
|
|
||||||
environment.variables = {
|
environment.variables = {
|
||||||
GTK_THEME = "Tokyonight-Dark";
|
GTK_THEME = "Tokyo Night Storm";
|
||||||
XCURSOR_THEME = "Vivid-Dark-Icons";
|
XCURSOR_THEME = "Vivid-Dark-Icons";
|
||||||
XCURSOR_SIZE = "24";
|
XCURSOR_SIZE = "24";
|
||||||
QT_STYLE_OVERRIDE = "adwaita-dark";
|
|
||||||
GTK2_RC_FILES = "$HOME/.gtkrc-2.0";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.systemPackages = with pkgs;
|
environment.systemPackages = with pkgs;
|
||||||
|
|
|
||||||
|
|
@ -7,8 +7,8 @@
|
||||||
services.xserver.videoDrivers = ["nvidia"];
|
services.xserver.videoDrivers = ["nvidia"];
|
||||||
|
|
||||||
hardware.nvidia = {
|
hardware.nvidia = {
|
||||||
modesetting.enable = true;
|
modesetting.enable = false;
|
||||||
powerManagement.enable = true;
|
powerManagement.enable = false;
|
||||||
# Set to true for RTX 4000 series and newer GPUs
|
# Set to true for RTX 4000 series and newer GPUs
|
||||||
open = true;
|
open = true;
|
||||||
package = config.boot.kernelPackages.nvidiaPackages.stable;
|
package = config.boot.kernelPackages.nvidiaPackages.stable;
|
||||||
|
|
@ -16,6 +16,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
#cudaPackages.cudatoolkit
|
cudaPackages.cudatoolkit
|
||||||
|
glxinfo
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue