summaryrefslogtreecommitdiff
path: root/nixpkgs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2023-09-10 11:14:20 +0200
committerAlex Auvolat <alex@adnab.me>2023-09-10 11:14:28 +0200
commitcce4a253a281d940e6979b61a38b335ffecd0faf (patch)
tree2b4cd35fc0a2b5ed0ee845cb49108eb7b5b3d9db /nixpkgs
parent61c740fda66831b209b9737a21324697036b479f (diff)
downloaduser-config-cce4a253a281d940e6979b61a38b335ffecd0faf.tar.gz
user-config-cce4a253a281d940e6979b61a38b335ffecd0faf.zip
update icewm config
Diffstat (limited to 'nixpkgs')
-rw-r--r--nixpkgs/common.nix10
-rw-r--r--nixpkgs/kusanagi.nix28
2 files changed, 29 insertions, 9 deletions
diff --git a/nixpkgs/common.nix b/nixpkgs/common.nix
index 305132a..cf8f1c8 100644
--- a/nixpkgs/common.nix
+++ b/nixpkgs/common.nix
@@ -48,6 +48,8 @@
".config/sx/sxrc".text = ''
${pkgs.xorg.xsetroot}/bin/xsetroot -solid "#008080"
${pkgs.xorg.xkbcomp}/bin/xkbcomp ${../xkb/symbols/custom-fr} $DISPLAY
+ ${pkgs.xorg.xset}/bin/xset s off
+ ${pkgs.xorg.xset}/bin/xset -dpms
nm-applet &
icewm-session
'';
@@ -55,14 +57,6 @@
".config/icewm/keys".source = ../icewm/keys;
".config/icewm/menu".source = ../icewm/menu;
".config/icewm/theme".source = ../icewm/theme;
- ".config/icewm/toolbar".text = ''
- prog "Terminal" xterm st
- prog "Qutebrowser" ${pkgs.qutebrowser}/share/icons/hicolor/32x32/apps/qutebrowser.png qutebrowser
- prog "Firefox" ${pkgs.firefox}/share/icons/hicolor/32x32/apps/firefox.png ${pkgs.firefox}/bin/firefox
- prog "Midori" ${pkgs.midori}/share/icons/hicolor/22x22/apps/org.midori_browser.Midori.png midori
- prog "Thunderbird" ${pkgs.thunderbird}/share/icons/hicolor/32x32/apps/thunderbird.png thunderbird
- prog "Spotify" ${pkgs.spotify}/share/icons/hicolor/32x32/apps/spotify-client.png spotify
- '';
};
services.syncthing.enable = true;
diff --git a/nixpkgs/kusanagi.nix b/nixpkgs/kusanagi.nix
index 2c97fce..473e411 100644
--- a/nixpkgs/kusanagi.nix
+++ b/nixpkgs/kusanagi.nix
@@ -24,10 +24,32 @@ in {
programs.bash.shellAliases.z = "cd /Z/lx";
+ home.file = {
+ ".config/icewm/toolbar".text = ''
+ prog "Terminal" xterm st
+ prog "File manager" ${pkgs.xfce.thunar}/share/icons/hicolor/48x48/apps/org.xfce.thunar.png thunar /Z/lx
+ prog "Qutebrowser" ${pkgs.qutebrowser}/share/icons/hicolor/32x32/apps/qutebrowser.png qutebrowser
+ prog "Firefox" ${pkgs.firefox}/share/icons/hicolor/32x32/apps/firefox.png ${pkgs.firefox}/bin/firefox
+ prog "Thunderbird" ${pkgs.thunderbird}/share/icons/hicolor/32x32/apps/thunderbird.png thunderbird
+ prog "Spotify" ${pkgs.spotify}/share/icons/hicolor/32x32/apps/spotify-client.png spotify
+ '';
+ ".gtkrc-2.0".text = ''
+ gtk-theme-name = "Chicago95"
+ gtk-icon-theme-name = "Chicago95"
+ '';
+ ".config/gtk-3.0/settings.ini".text = ''
+ [Settings]
+ gtk-icon-theme-name = Chicago95
+ gtk-theme-name = Chicago95
+ '';
+ };
+
nixpkgs.config.packageOverrides = pkgs: {
nur = import nurSrc { inherit pkgs; };
};
+ home.packages = [ (import ../nixos/pkg_chicago95.nix { inherit pkgs; }) ];
+
home.file.".config/qutebrowser/quickmarks".source = ../qutebrowser/quickmarks;
programs.firefox.enable = true;
@@ -55,12 +77,16 @@ in {
};
xdg.mimeApps.enable = true;
xdg.mimeApps.defaultApplications = {
- "application/pdf" = [ "llpp.desktop" ];
+ "application/pdf" = [ "epdfview.desktop" ];
+ "image/jpeg" = [ "feh.desktop" ];
+ "image/png" = [ "feh.desktop" ];
};
home.homeDirectory = "/home/lx";
xdg.userDirs.download = "/home/lx/Downloads";
+ gtk.gtk3.bookmarks = [ "file:///Z/lx" ];
+
services.gpg-agent.enable = true;
services.gpg-agent.enableSshSupport = false;
services.gpg-agent.pinentryFlavor = "qt";