Disable/remove more options not needed for plasma6

This commit is contained in:
Evie Litherland-Smith 2024-06-16 20:47:03 +01:00
parent a44d79e6a0
commit ae08b23335
2 changed files with 25 additions and 83 deletions

View file

@ -81,7 +81,6 @@
]; ];
localBinInPath = true; localBinInPath = true;
}; };
console.keyMap = "uk";
programs = { programs = {
command-not-found.enable = false; command-not-found.enable = false;
ssh.startAgent = true; ssh.startAgent = true;
@ -106,22 +105,10 @@
}; };
virtualisation.podman.enable = true; virtualisation.podman.enable = true;
time.timeZone = "Europe/London"; time.timeZone = "Europe/London";
i18n = let i18n.defaultLocale = "en_GB.UTF-8";
locale = "en_GB.UTF-8"; console = {
in { font = iosevkaCustom.names.iosevka-custom-nerdfont;
# Select internationalisation properties. useXkbConfig = true;
defaultLocale = locale;
extraLocaleSettings = {
LC_ADDRESS = locale;
LC_IDENTIFICATION = locale;
LC_MEASUREMENT = locale;
LC_MONETARY = locale;
LC_NAME = locale;
LC_NUMERIC = locale;
LC_PAPER = locale;
LC_TELEPHONE = locale;
LC_TIME = locale;
};
}; };
fonts = { fonts = {
packages = with pkgs; packages = with pkgs;

View file

@ -5,46 +5,21 @@
... ...
}: { }: {
imports = [./default.nix]; imports = [./default.nix];
# nixpkgs.config.chromium.commandLineArgs = "--enable-features=UseOzonePlatform --ozone-platform=wayland";
system.autoUpgrade.operation = "boot"; system.autoUpgrade.operation = "boot";
hardware = {
pulseaudio.enable = true;
bluetooth.enable = true;
};
environment = { environment = {
# sessionVariables = { plasma6 =
# NIXOS_OZONE_WL = "1"; lib.mkIf config.services.desktopManager.plasma6.enable
# GRIM_DEFAULT_DIR = "$HOME/Pictures/Grim"; {excludePackages = with pkgs.kdePackages; [plasma-browser-integration];};
# };
systemPackages = with pkgs; [ systemPackages = with pkgs; [
wtype
# wl-clipboard
xdg-utils xdg-utils
# libnotify
# libcamera
glib
# gsettings-desktop-schemas
hunspell hunspell
hunspellDicts.en_GB-large hunspellDicts.en_GB-large
# pamixer
# pavucontrol
# playerctl
# brightnessctl
]; ];
}; };
# security = {
# polkit.enable = true;
# rtkit.enable = true;
# pam = {
# services.swaylock = {};
# loginLimits = [
# {
# domain = "@users";
# item = "rtprio";
# type = "-";
# value = 1;
# }
# ];
# };
# };
sound.enable = false;
hardware.bluetooth.enable = true;
programs = { programs = {
dconf.enable = true; dconf.enable = true;
noisetorch.enable = true; noisetorch.enable = true;
@ -52,51 +27,31 @@
enable = true; enable = true;
capSysNice = true; capSysNice = true;
}; };
# xwayland.enable = true;
};
gtk.iconCache.enable = true;
qt = {
enable = true;
platformTheme = "gnome";
style = "adwaita";
}; };
services = { services = {
flatpak.enable = true; flatpak.enable = true;
accounts-daemon.enable = true; printing.enable = true;
pipewire = { # pipewire = {
enable = true;
alsa = {
enable = true;
support32Bit = true;
};
audio.enable = true;
jack.enable = true;
pulse.enable = true;
wireplumber.enable = true;
};
# tumbler.enable = true;
# udisks2.enable = true;
xserver = {
# enable = true; # enable = true;
# pulse.enable = true;
# wireplumber.enable = true;
# };
xserver = {
enable = true;
xkb = { xkb = {
layout = "gb"; layout = "gb";
variant = ""; variant = "";
options = "ctrl:nocaps"; options = "ctrl:nocaps";
}; };
}; };
displayManager = { displayManager.sddm = {
enable = true;
defaultSession = "plasma";
sddm = {
enable = true; enable = true;
wayland.enable = true; wayland.enable = true;
settings.General.DisplayServer = "x11-user";
}; };
}; desktopManager.plasma6 = {
desktopManager.plasma6.enable = true;
};
xdg.portal = {
enable = true; enable = true;
# config.common.default = "*"; # TODO change for xdg-desktop-portal > 1.17 changes enableQt5Integration = true;
# extraPortals = [pkgs.xdg-desktop-portal-gtk]; };
}; };
} }