Many changes, see full commit
Add clamav pkg with new nixos module clamav.nix Add some extraHosts for testing Tweak xserver dpi Set environment vars for scaling, along with dpi Change protonvpn-gui to proton-vpn Add many new pkgs, bc, pstere, tmux, wget ,gnupg, mosh, openvpn, clamav, conntrack-tools, kdotool, trash-cli, bat, psmisc, mupdf, signal-cli, exfat, fprintd Enable power-profiles-daemon environment.localBinInPath = true Add full .bashrc
This commit is contained in:
parent
bb6d3eb92d
commit
843b2fdee2
5 changed files with 476 additions and 25 deletions
|
|
@ -4,15 +4,19 @@
|
|||
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
inputs,
|
||||
...
|
||||
}:
|
||||
|
||||
with lib;
|
||||
|
||||
{
|
||||
imports = [
|
||||
# Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
../../modules/nixos/clamav.nix
|
||||
];
|
||||
|
||||
hardware.bluetooth = {
|
||||
|
|
@ -56,9 +60,10 @@
|
|||
"/dev/disk/by-uuid/1dfcf980-6806-4f69-bd86-ee87c904c04b";
|
||||
networking.hostName = "fw"; # Define your hostname.
|
||||
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
||||
#networking.extraHosts = ''
|
||||
# 65.109.157.161 wstn.de
|
||||
#'';
|
||||
networking.extraHosts = ''
|
||||
# 204.168.170.249 talk.timo.social
|
||||
# 204.168.170.249 turn.talk.timo.social
|
||||
'';
|
||||
|
||||
# Configure network proxy if necessary
|
||||
# networking.proxy.default = "http://user:password@proxy:port/";
|
||||
|
|
@ -213,6 +218,31 @@
|
|||
};
|
||||
};
|
||||
|
||||
services.xserver.dpi = 192;
|
||||
# services.xserver.dpi = 96;
|
||||
|
||||
environment.variables = {
|
||||
### ## Used by GTK 3
|
||||
### # `GDK_SCALE` is limited to integer values
|
||||
### GDK_SCALE = "2";
|
||||
### # Inverse of GDK_SCALE
|
||||
### GDK_DPI_SCALE = "0.5";
|
||||
|
||||
### # Used by Qt 5
|
||||
### QT_AUTO_SCREEN_SCALE_FACTOR = "1";
|
||||
|
||||
_JAVA_OPTIONS = "-Dsun.java2d.uiScale=2";
|
||||
|
||||
XCURSOR_SIZE = "64";
|
||||
};
|
||||
|
||||
### # Expose variables to graphical systemd user services
|
||||
### services.xserver.displayManager.importedVariables = [
|
||||
### "GDK_SCALE"
|
||||
### "GDK_DPI_SCALE"
|
||||
### "QT_AUTO_SCREEN_SCALE_FACTOR"
|
||||
### ];
|
||||
|
||||
# List packages installed in system profile. To search, run:
|
||||
# $ nix search wget
|
||||
environment.systemPackages = with pkgs; [
|
||||
|
|
@ -255,7 +285,7 @@
|
|||
mkvtoolnix-cli
|
||||
ydiff
|
||||
wl-clipboard-rs
|
||||
protonvpn-gui
|
||||
proton-vpn
|
||||
iperf3
|
||||
pv
|
||||
libarchive
|
||||
|
|
@ -263,5 +293,26 @@
|
|||
traceroute
|
||||
pciutils
|
||||
usbutils
|
||||
bc
|
||||
pstree
|
||||
tmux
|
||||
wget
|
||||
gnupg
|
||||
mosh
|
||||
openvpn
|
||||
clamav
|
||||
conntrack-tools
|
||||
kdotool
|
||||
trash-cli
|
||||
bat
|
||||
psmisc
|
||||
mupdf
|
||||
signal-cli
|
||||
exfat
|
||||
fprintd
|
||||
];
|
||||
|
||||
services.power-profiles-daemon.enable = true;
|
||||
|
||||
environment.localBinInPath = true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue