diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/dev.nix | 2 | ||||
-rw-r--r-- | modules/gnome.nix | 24 | ||||
-rw-r--r-- | modules/printing.nix | 8 | ||||
-rw-r--r-- | modules/satoshipay.nix | 4 | ||||
-rw-r--r-- | modules/t470s.nix | 2 | ||||
-rw-r--r-- | modules/window-manager.nix | 3 | ||||
-rw-r--r-- | modules/zeroconf.nix | 7 |
7 files changed, 50 insertions, 0 deletions
diff --git a/modules/dev.nix b/modules/dev.nix index 453d365c..48679cb4 100644 --- a/modules/dev.nix +++ b/modules/dev.nix @@ -10,6 +10,8 @@ ripgrep httpie + http-prompt + mitmproxy nodePackages.js-yaml ]; diff --git a/modules/gnome.nix b/modules/gnome.nix new file mode 100644 index 00000000..bd785453 --- /dev/null +++ b/modules/gnome.nix @@ -0,0 +1,24 @@ +{ config, lib, pkgs, ... }: + +with lib; +{ services = { + gnome3 = { + gnome-documents.enable = false; + gnome-user-share.enable = false; + gnome-online-accounts.enable = false; + seahorse.enable = false; + tracker.enable = false; + }; + telepathy.enable = false; + + xserver = { + desktopManager.gnome3 = { + enable = true; + extraGSettingsOverrides = '' + [org.gnome.desktop.input-sources] + sources=[('xkb','${config.services.xserver.layout + (optionalString (config.services.xserver.xkbVariant != "") ("+" + config.services.xserver.xkbVariant))}')] + ''; + }; + }; + }; +} diff --git a/modules/printing.nix b/modules/printing.nix new file mode 100644 index 00000000..3172f33b --- /dev/null +++ b/modules/printing.nix @@ -0,0 +1,8 @@ +{ config, pkgs, ... }: + +{ services.printing.enable = true; + + imports = [ + ./zeroconf.nix + ]; +} diff --git a/modules/satoshipay.nix b/modules/satoshipay.nix index 91aa89fe..ffe6ccf7 100644 --- a/modules/satoshipay.nix +++ b/modules/satoshipay.nix @@ -21,5 +21,9 @@ in pkgsUnstable.scudcloud ]; + services.printing.drivers = with pkgs; [ + pkgsUnstable.cups-toshiba-estudio + ]; + networking.domain = "satoshipay.io"; } diff --git a/modules/t470s.nix b/modules/t470s.nix index ddaba1df..133354a6 100644 --- a/modules/t470s.nix +++ b/modules/t470s.nix @@ -5,6 +5,8 @@ firmwareLinuxNonfree ]; + systemd.services.ModemManager.enable = true; + environment.systemPackages = with pkgs; [ nvme-cli ]; diff --git a/modules/window-manager.nix b/modules/window-manager.nix index 4b6a710f..b8cbb85a 100644 --- a/modules/window-manager.nix +++ b/modules/window-manager.nix @@ -9,7 +9,10 @@ environment.systemPackages = with pkgs; [ dmenu dunst + libnotify # for notify-send sxhkd scrot + + perlPackages.FileMimeInfo # xdg-utils uses this when no DE ]; } diff --git a/modules/zeroconf.nix b/modules/zeroconf.nix new file mode 100644 index 00000000..aa4b47e8 --- /dev/null +++ b/modules/zeroconf.nix @@ -0,0 +1,7 @@ +{ config, pkgs, ... }: + +{ services.avahi = { + enable = true; + nssmdns = true; + }; +} |