making some config changes to better setup qt environments
This commit is contained in:
parent
1e2cc2c916
commit
982b86059f
12 changed files with 278 additions and 79 deletions
16
README.org
16
README.org
|
@ -165,7 +165,7 @@ services.pipewire = {
|
|||
wireplumber.enable = true;
|
||||
};
|
||||
|
||||
# Needed for some pipewire progs
|
||||
# Needed for some pipewire progs and other gtk apps
|
||||
programs.dconf.enable = true;
|
||||
#+end_src
|
||||
|
||||
|
@ -175,13 +175,15 @@ To make sure certain things are setup properly I'll modify the shells a bit.
|
|||
# Set default shell to be dash for speed
|
||||
# Apparently this is bad because a lot of nix relies on bash
|
||||
# environment.binsh = "${pkgs.dash}/bin/dash";
|
||||
|
||||
environment.variables = {
|
||||
EDITOR = "emacsclient -t -a";
|
||||
VISUAL = "emacsclient -c -a";
|
||||
|
||||
# Fixing Qt apps in other environments
|
||||
# Thought I needed this but apparently they are working fine without it.
|
||||
# QT_XCB_GL_INTEGRATION = "xcb_egl";
|
||||
QT_QPA_PLATFORM_PLUGIN_PATH = "${pkgs.qt5.qtbase.bin}/lib/qt-${pkgs.qt5.qtbase.qtCompatVersion}/plugins/platforms";
|
||||
# QT_QPA_PLATFORM_PLUGIN_PATH = "${pkgs.qt5.qtbase.bin}/lib/qt-${pkgs.qt5.qtbase.qtCompatVersion}/plugins/platforms";
|
||||
};
|
||||
environment.homeBinInPath = true;
|
||||
programs.fish.enable = true;
|
||||
|
@ -218,6 +220,7 @@ services.samba = {
|
|||
};
|
||||
#+end_src
|
||||
|
||||
Now lets turn on docker and podman. I create a lot of containers for my job.
|
||||
#+NAME: podman
|
||||
#+begin_src nix
|
||||
virtualisation.podman.enable = true;
|
||||
|
@ -273,6 +276,7 @@ rofi-emoji
|
|||
nerdfonts
|
||||
latte-dock
|
||||
bat
|
||||
jq
|
||||
alacritty
|
||||
libsForQt5.bismuth
|
||||
libnotify
|
||||
|
@ -299,6 +303,7 @@ btop
|
|||
qrencode
|
||||
brave
|
||||
scribus
|
||||
qutebrowser
|
||||
# firefox
|
||||
kate
|
||||
kdialog
|
||||
|
@ -338,6 +343,7 @@ quickemu
|
|||
OVMFFull
|
||||
element-desktop-wayland
|
||||
scrcpy
|
||||
python
|
||||
# hyprland
|
||||
#+end_src
|
||||
|
||||
|
@ -422,7 +428,7 @@ Emacs service
|
|||
#+begin_src nix
|
||||
services.emacs = {
|
||||
enable = true;
|
||||
package = with pkgs; ((emacsPackagesFor emacsPgtkNativeComp).emacsWithPackages (epkgs: [ epkgs.vterm epkgs.magit epkgs.pdf-tools pkgs.mu ]));
|
||||
package = with pkgs; ((emacsPackagesFor emacsNativeComp).emacsWithPackages (epkgs: [ epkgs.vterm epkgs.magit epkgs.pdf-tools pkgs.mu ]));
|
||||
};
|
||||
#+end_src
|
||||
|
||||
|
@ -1217,7 +1223,7 @@ I also use home-manager for managing dotfiles. This means that everything is con
|
|||
source = ../fish/functions;
|
||||
};
|
||||
|
||||
programs.qutebrowser.enable = true;
|
||||
# programs.qutebrowser.enable = true;
|
||||
home.file.".config/qutebrowser" = {
|
||||
source = ../qutebrowser;
|
||||
recursive = true;
|
||||
|
@ -1294,7 +1300,7 @@ I also use home-manager for managing dotfiles. This means that everything is con
|
|||
myip = "curl icanhazip.com";
|
||||
};
|
||||
initExtra = ''
|
||||
pfetch
|
||||
macchina
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue