diff options
| author | Grigory Shipunov | 2022-10-29 20:38:12 +0200 |
|---|---|---|
| committer | Grigory Shipunov | 2022-10-29 20:38:12 +0200 |
| commit | 3884eb2f82b93ebd9112f6a04c62a8a7d26662dd (patch) | |
| tree | 72e5f323d6a2fb220c10beb4964b3b31a5f837d2 /modules | |
| parent | 96095790cdbf2760e63a19c7f7d6cae98433db15 (diff) | |
yolo
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/devtools.nix | 7 | ||||
| -rw-r--r-- | modules/gnome.nix | 116 | ||||
| -rw-r--r-- | modules/sway.nix (renamed from modules/graphical.nix) | 0 | ||||
| -rw-r--r-- | modules/virtualization.nix | 1 |
4 files changed, 124 insertions, 0 deletions
diff --git a/modules/devtools.nix b/modules/devtools.nix index 4f0bc50..d3ad897 100644 --- a/modules/devtools.nix +++ b/modules/devtools.nix @@ -14,8 +14,15 @@ # nix rnix-lsp nixpkgs-fmt + # julia + julia-bin ]; + ## Julia + environment.variables = { + JULIA_NUM_THREADS = "8"; + }; + ## direnv programs.bash.interactiveShellInit = '' eval "$(direnv hook bash)" diff --git a/modules/gnome.nix b/modules/gnome.nix new file mode 100644 index 0000000..5254353 --- /dev/null +++ b/modules/gnome.nix @@ -0,0 +1,116 @@ +{ config, pkgs, ... }: { + + environment.systemPackages = with pkgs; [ + celluloid + gnome.gnome-boxes + gnome.gnome-tweaks + nextcloud-client + amberol + firefox-wayland + element-desktop + wl-clipboard + pulseaudioFull + screen-message + qbittorrent + dino + gnome.gnome-terminal + #gnome-console + ]; + + environment.gnome.excludePackages = with pkgs; [ + gnome.totem + gnome.geary + gnome.gnome-music + gnome-console + ]; + + + services.gnome = { + evolution-data-server.enable = true; + gnome-keyring.enable = true; + gnome-online-accounts.enable = true; + }; + + programs = { + seahorse.enable = true; + gnupg.agent.pinentryFlavor = "gnome3"; + evolution = { + enable = true; + plugins = [ pkgs.evolution-ews ]; + }; + }; + + qt5 = { + enable = true; + platformTheme = "gnome"; + style = "adwaita-dark"; + }; + + services.xserver = { + enable = true; + desktopManager.gnome.enable = true; + displayManager.gdm = { + enable = true; + wayland = true; + }; + }; + + # Enable sound. + security.rtkit.enable = true; + hardware.pulseaudio = { + enable = false; + zeroconf.discovery.enable = true; + extraClientConf = '' + autospawn=yes + ''; + }; + services.pipewire = { + enable = true; + alsa.enable = true; + pulse.enable = true; + }; + + programs.zsh.vteIntegration = true; + programs.bash.vteIntegration = true; + + fonts.fonts = with pkgs; [ + monoid + font-awesome + dejavu_fonts + julia-mono + uw-ttyp0 + gohufont + spleen + terminus_font + creep + corefonts + dina-font + fira + fira-mono + hack-font + liberation_ttf + noto-fonts + noto-fonts-cjk + noto-fonts-emoji + noto-fonts-extra + proggyfonts + symbola + open-sans + twemoji-color-font + twitter-color-emoji + ]; + + fonts.enableDefaultFonts = true; + fonts.fontconfig = { + enable = true; + allowBitmaps = true; + useEmbeddedBitmaps = true; + defaultFonts.emoji = [ + "Twitter Color Emoji" + "Noto Color Emoji" + ]; + }; + + hardware.bluetooth.enable = true; + +} diff --git a/modules/graphical.nix b/modules/sway.nix index 550b01e..550b01e 100644 --- a/modules/graphical.nix +++ b/modules/sway.nix diff --git a/modules/virtualization.nix b/modules/virtualization.nix index bf33cc9..745451c 100644 --- a/modules/virtualization.nix +++ b/modules/virtualization.nix @@ -3,6 +3,7 @@ { environment.systemPackages = with pkgs; [ virt-manager + bridge-utils ]; boot.binfmt.emulatedSystems = [ "aarch64-linux" ]; |
