summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorGrigory Shipunov2022-06-08 18:47:49 +0200
committerGrigory Shipunov2022-06-08 18:47:49 +0200
commit3924624e7516464d2f24cd19b62c02072436850c (patch)
treee19e56c5355a0a2354b341b844819b1992783ffb /modules
parent3a40a3af28b03615f9478825bb3f3e2b8028ceab (diff)
YOLO
Diffstat (limited to 'modules')
-rw-r--r--modules/chromium.nix2
-rw-r--r--modules/dvb-dump-nfs-automount.nix11
-rw-r--r--modules/graphical.nix14
3 files changed, 18 insertions, 9 deletions
diff --git a/modules/chromium.nix b/modules/chromium.nix
index 5021ea6..412ec59 100644
--- a/modules/chromium.nix
+++ b/modules/chromium.nix
@@ -27,7 +27,7 @@
"DefaultNotificationSetting" = 2;
"BackgroundModeEnabled" = false;
"DefaultSearchProviderEnabled" = true;
- "DefaultSearchProviderSearchURL" = "https://duckduckgo.com/?q={searchTerms}";
+ "DefaultSearchProviderSearchURL" = "https://google.com/?q={searchTerms}";
"SearchSuggestEnable" = false;
};
};
diff --git a/modules/dvb-dump-nfs-automount.nix b/modules/dvb-dump-nfs-automount.nix
index 182b844..9032402 100644
--- a/modules/dvb-dump-nfs-automount.nix
+++ b/modules/dvb-dump-nfs-automount.nix
@@ -1,23 +1,26 @@
{ pkgs, lib, ... }:
{
+
+ environment.systemPackages = with pkgs; [ nfs-utils ];
services.rpcbind.enable = true;
- systemd.mounts = {
+ systemd.mounts = [{
type = "nfs";
mountConfig = {
Options = "noatime";
};
what = "10.13.37.5:/";
where = "/mnt/dvb";
- };
+ }];
- systemd.automounts = {
+ systemd.automounts = [{
wantedBy = [ "multi-user.target" ];
+ requires = [ "wg-quick-wg-dvb.service" ];
automountConfig= {
TimeoutIdleSec = "600";
};
where = "/mnt/dvb";
- };
+ }];
}
diff --git a/modules/graphical.nix b/modules/graphical.nix
index 91369a7..729cb1d 100644
--- a/modules/graphical.nix
+++ b/modules/graphical.nix
@@ -11,16 +11,15 @@
firefox-wayland
dino
alacritty
- kitty
xclip
flameshot
wl-clipboard
brightnessctl
- pulseaudio-ctl
feh
mpv
zathura
pulsemixer
+ pulseaudioFull
screen-message
cmus
gtk-engine-murrine
@@ -43,7 +42,6 @@
monoid
spleen
terminus_font
- iosevka
creep
corefonts
dina-font
@@ -76,11 +74,18 @@
};
# Enable sound.
+ sound.enable = true;
security.rtkit.enable = true;
+ hardware.pulseaudio = {
+ zeroconf.discovery.enable = true;
+ extraClientConf = ''
+ autospawn=yes
+ '';
+ };
+
services.pipewire = {
enable = true;
alsa.enable = true;
- alsa.support32Bit = true;
pulse.enable = true;
};
@@ -128,4 +133,5 @@
programs.bash.vteIntegration = true;
services.upower.enable = true;
+ qt5.platformTheme = "gnome";
}