aboutsummaryrefslogtreecommitdiff
path: root/profiles/workstation.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2023-12-09 09:15:23 -0800
committerFranck Cuny <franck@fcuny.net>2023-12-09 09:15:23 -0800
commit543fcc38c9c48349d6988b1ace119f0cef2d6efa (patch)
treeae8174b09797fd19e365f60bf25a9d20b222c855 /profiles/workstation.nix
parentinstall kind / configure the dock (diff)
downloadinfra-543fcc38c9c48349d6988b1ace119f0cef2d6efa.tar.gz
delete even more unused configurations
Diffstat (limited to '')
-rw-r--r--profiles/workstation.nix109
1 files changed, 0 insertions, 109 deletions
diff --git a/profiles/workstation.nix b/profiles/workstation.nix
deleted file mode 100644
index a3a3fac..0000000
--- a/profiles/workstation.nix
+++ /dev/null
@@ -1,109 +0,0 @@
-{ pkgs, config, lib, ... }:
-{
- imports = [
- ./default.nix
- ./tailscale.nix
- ];
-
- virtualisation.docker.enable = false;
- virtualisation.podman.enable = true;
- virtualisation.podman.dockerCompat = true;
-
- services.dbus.enable = true;
- services.dbus.packages = with pkgs; [ gcr dconf gnome.sushi ];
- services.udev.packages = with pkgs; [ gnome3.gnome-settings-daemon ];
-
- services.gvfs.enable = true;
-
- programs.dconf.enable = true;
-
- services.avahi.enable = true;
- services.avahi.nssmdns = true;
- services.avahi.openFirewall = true;
-
- # for the yubikeys
- services.pcscd.enable = true;
-
- # Install tools related to the scanner (scanimage etc)
- hardware.sane.enable = true;
-
- # RealtimeKit is recommended
- security.rtkit.enable = true;
-
- # Sound configuration
- sound.enable = false;
-
- services.pipewire = {
- enable = true;
- alsa.enable = true;
- alsa.support32Bit = true;
- pulse.enable = true;
- jack.enable = true;
- };
-
- hardware.pulseaudio.enable = false;
-
- # This is a good source of information about fonts:
- # https://github.com/system-fonts/modern-font-stacks
- fonts = {
- enableDefaultFonts = true;
- fontDir.enable = true;
- fontconfig = {
- enable = true;
- defaultFonts = {
- serif = [ "DejaVu Serif" ];
- sansSerif = [ "DejaVu Sans Serif" ];
- monospace = [ "Source Code Pro" ];
- };
- };
- fonts = with pkgs; [
- dejavu_fonts
- etBook
- font-awesome_5
- noto-fonts
- noto-fonts-cjk
- noto-fonts-emoji
- source-code-pro
- powerline-fonts
- roboto
- roboto-mono
- ];
- };
-
- # Misc packages useful on a workstation
- environment.systemPackages = with pkgs; [
- # sound related
- pulseaudio
- pavucontrol
- easyeffects
- ];
-
- hardware.opengl.enable = true;
-
- # Use systemd-resolved
- services.resolved.enable = true;
- services.resolved.dnssec = "false";
-
- xdg.portal = {
- enable = true;
- wlr.enable = true;
- extraPortals =
- [ pkgs.xdg-desktop-portal-gtk pkgs.xdg-desktop-portal-wlr ];
- };
-
- programs.sway = {
- enable = true;
- wrapperFeatures.gtk = true;
- extraPackages = with pkgs; [
- brightnessctl
- polkit_gnome
- xsettingsd
- swaylock
- swayidle
- wl-clipboard
- ];
- extraSessionCommands = ''
- export MOZ_ENABLE_WAYLAND=1
- '';
- };
-}