This commit is contained in:
Adithya 2023-10-02 17:23:23 +05:30
parent 01e9ae7271
commit ca413f4079
Signed by: adtya
GPG key ID: 48FC9915FFD326D0
3 changed files with 38 additions and 35 deletions

View file

@ -3,23 +3,25 @@ _: {
home.stateVersion = "23.11";
xdg.enable = true;
xdg.mime.enable = true;
xdg.mimeApps = {
xdg = {
enable = true;
defaultApplications = {
"application/pdf" = ["org.gnome.Evince.desktop"];
"image/gif" = ["org.gnome.eog.desktop"];
"image/jpeg" = ["org.gnome.eog.desktop"];
"image/png" = ["org.gnome.eog.desktop"];
"image/webp" = ["org.gnome.eog.desktop"];
mime.enable = true;
mimeApps = {
enable = true;
defaultApplications = {
"application/pdf" = ["org.gnome.Evince.desktop"];
"image/gif" = ["org.gnome.eog.desktop"];
"image/jpeg" = ["org.gnome.eog.desktop"];
"image/png" = ["org.gnome.eog.desktop"];
"image/webp" = ["org.gnome.eog.desktop"];
};
};
userDirs.enable = true;
desktopEntries."nixos-manual" = {
name = "NixOS Manual";
exec = "nixos-help";
noDisplay = true;
};
};
xdg.userDirs.enable = true;
xdg.desktopEntries."nixos-manual" = {
name = "NixOS Manual";
exec = "nixos-help";
noDisplay = true;
};
}

View file

@ -21,8 +21,19 @@
package = pkgs.bibata-cursors;
};
in {
gtk.enable = true;
gtk.theme = gtkTheme;
gtk = {
enable = true;
theme = gtkTheme;
inherit cursorTheme;
inherit iconTheme;
gtk3.extraConfig = {
gtk-application-prefer-dark-theme = true;
};
gtk4.extraConfig = {
gtk-application-prefer-dark-theme = true;
};
};
home.sessionVariables.GTK_THEME = gtkTheme.name;
xdg.configFile = {
"gtk-4.0/assets".source = "${gtkTheme.package}/share/themes/${gtkTheme.name}/gtk-4.0/assets";
@ -30,18 +41,6 @@ in {
"gtk-4.0/gtk-dark.css".source = "${gtkTheme.package}/share/themes/${gtkTheme.name}/gtk-4.0/gtk-dark.css";
};
gtk.cursorTheme = cursorTheme;
gtk.iconTheme = iconTheme;
gtk.gtk3.extraConfig = {
gtk-application-prefer-dark-theme = true;
};
gtk.gtk4.extraConfig = {
gtk-application-prefer-dark-theme = true;
};
dconf.settings = {
"org/gnome/desktop/interface" = {
color-scheme = "prefer-dark";

View file

@ -3,11 +3,13 @@
pkgs,
...
}: {
boot.bootspec.enable = true;
boot.loader.systemd-boot.enable = lib.mkForce false;
boot.lanzaboote = {
enable = true;
pkiBundle = "/etc/secureboot";
boot = {
bootspec.enable = true;
loader.systemd-boot.enable = lib.mkForce false;
lanzaboote = {
enable = true;
pkiBundle = "/etc/secureboot";
};
};
environment.systemPackages = with pkgs; [
sbctl