update
This commit is contained in:
parent
7f688ce99c
commit
69776514e0
2 changed files with 54 additions and 30 deletions
|
|
@ -22,6 +22,7 @@ in {
|
||||||
gnused
|
gnused
|
||||||
gdb
|
gdb
|
||||||
stdenv.cc.cc.lib
|
stdenv.cc.cc.lib
|
||||||
|
nix-prefetch-git
|
||||||
binutils
|
binutils
|
||||||
cmake
|
cmake
|
||||||
ninja
|
ninja
|
||||||
|
|
|
||||||
|
|
@ -15,11 +15,23 @@ in {
|
||||||
services.xserver.windowManager.i3 = {
|
services.xserver.windowManager.i3 = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.i3-gaps;
|
package = pkgs.i3-gaps;
|
||||||
extraPackages = with pkgs; [dmenu i3status i3lock i3blocks picom feh rofi dunst polybar i3-auto-layout];
|
extraPackages = with pkgs; [
|
||||||
|
dmenu
|
||||||
|
i3status
|
||||||
|
i3lock
|
||||||
|
i3blocks
|
||||||
|
picom
|
||||||
|
feh
|
||||||
|
rofi
|
||||||
|
dunst
|
||||||
|
polybar
|
||||||
|
i3-auto-layout
|
||||||
|
];
|
||||||
extraSessionCommands = ''
|
extraSessionCommands = ''
|
||||||
${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/* 2>/dev/null || ${pkgs.feh}/bin/feh --bg-fill ${pkgs.nixos-artwork.wallpapers.nineish-dark-gray}/share/backgrounds/nixos/nineish-dark-gray.png &
|
||||||
${pkgs.gtk3}/bin/gsettings set org.gnome.desktop.interface gtk-theme "Tokyo Night Storm"
|
export GSETTINGS_SCHEMA_DIR=${pkgs.gsettings-desktop-schemas}/share/gsettings-schemas/${pkgs.gsettings-desktop-schemas.name}/glib-2.0/schemas
|
||||||
${pkgs.gtk3}/bin/gsettings set org.gnome.desktop.interface icon-theme "Vivid-Dark-Icons"
|
${pkgs.glib}/bin/gsettings set org.gnome.desktop.interface gtk-theme "Tokyonight-Storm"
|
||||||
|
${pkgs.glib}/bin/gsettings set org.gnome.desktop.interface icon-theme "Vivid-Dark-Icons"
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -31,21 +43,25 @@ in {
|
||||||
|
|
||||||
services.xserver.displayManager.lightdm = {
|
services.xserver.displayManager.lightdm = {
|
||||||
enable = true;
|
enable = true;
|
||||||
background = "#000000";
|
background = "${pkgs.nixos-artwork.wallpapers.simple-dark-gray}/share/backgrounds/nixos/nixos-wallpaper.png";
|
||||||
greeters.gtk = {
|
greeters.gtk = {
|
||||||
enable = true;
|
enable = true;
|
||||||
theme = {
|
theme = {
|
||||||
package = customPkgs.tokyo-night-gtk;
|
package = customPkgs.tokyo-night-gtk;
|
||||||
name = "Tokyo Night Storm";
|
name = "Tokyonight-Storm";
|
||||||
};
|
};
|
||||||
iconTheme = {
|
iconTheme = {
|
||||||
package = customPkgs.vivid-icons;
|
package = customPkgs.vivid-icons;
|
||||||
name = "Vivid-Dark-Icons";
|
name = "Vivid-Dark-Icons";
|
||||||
};
|
};
|
||||||
|
cursorTheme = {
|
||||||
|
package = pkgs.capitaine-cursors;
|
||||||
|
name = "capitaine-cursors";
|
||||||
|
};
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
[greeter]
|
[greeter]
|
||||||
font-name=Clear Sans 10
|
font-name=Clear Sans 10
|
||||||
cursor-theme-name=Vivid-Dark-Icons
|
cursor-theme-name=capitaine-cursors
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
@ -63,35 +79,42 @@ in {
|
||||||
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=Tokyo Night Storm
|
gtk-theme-name=Tokyonight-Storm
|
||||||
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 = "Tokyo Night Storm";
|
GTK_THEME = "Tokyonight-Storm";
|
||||||
XCURSOR_THEME = "Vivid-Dark-Icons";
|
XCURSOR_THEME = "capitaine-cursors";
|
||||||
XCURSOR_SIZE = "24";
|
XCURSOR_SIZE = "24";
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.systemPackages = with pkgs;
|
environment.systemPackages = with pkgs; [
|
||||||
[
|
arandr
|
||||||
arandr
|
nitrogen
|
||||||
nitrogen
|
xclip
|
||||||
xclip
|
lxappearance
|
||||||
lxappearance
|
libsForQt5.qt5ct
|
||||||
libsForQt5.qt5ct
|
gnome-themes-extra
|
||||||
gnome-themes-extra
|
gsettings-desktop-schemas
|
||||||
gsettings-desktop-schemas
|
adwaita-qt
|
||||||
adwaita-qt
|
arc-theme
|
||||||
arc-theme
|
arc-icon-theme
|
||||||
arc-icon-theme
|
papirus-icon-theme
|
||||||
papirus-icon-theme
|
numix-icon-theme-circle
|
||||||
numix-icon-theme-circle
|
candy-icons
|
||||||
candy-icons
|
capitaine-cursors
|
||||||
]
|
] ++ (with customPkgs; [
|
||||||
++ (with customPkgs; [
|
tokyo-night-gtk
|
||||||
tokyo-night-gtk
|
vivid-icons
|
||||||
vivid-icons
|
]);
|
||||||
]);
|
|
||||||
|
services.xserver.desktopManager.session = [{
|
||||||
|
name = "xfce+i3";
|
||||||
|
start = ''
|
||||||
|
${pkgs.xfce.xfce4-session}/bin/xfce4-session --with-ck-launch &
|
||||||
|
${pkgs.i3-gaps}/bin/i3
|
||||||
|
'';
|
||||||
|
}];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue