nixfmt everything

This commit is contained in:
rotterdam 2023-04-03 11:01:56 -03:00
parent dbf843d70f
commit d92420451d
30 changed files with 383 additions and 330 deletions

View file

@ -10,9 +10,7 @@
extraModprobeConfig = ''
options bluetooth disable_ertm=1
'';
kernel.sysctl = {
"net.ipv4.tcp_mtu_probing" = 1;
};
kernel.sysctl = { "net.ipv4.tcp_mtu_probing" = 1; };
kernelParams = [
"quiet"
"splash"

View file

@ -11,5 +11,6 @@
sound.enable = true;
security.rtkit.enable = true; # Needed for pipewire to acquire realtime priority
security.rtkit.enable =
true; # Needed for pipewire to acquire realtime priority
}

View file

@ -19,10 +19,10 @@
fzf
gimp
gocryptfs
# helvum
# helvum
heroic
inkscape
# itch # Currently using unsafe electron version
# itch # Currently using unsafe electron version
jellyfin-media-player
junction
kolourpaint
@ -42,7 +42,7 @@
prismlauncher-qt5
protontricks
protonup
# prusa-slicer
# prusa-slicer
qbittorrent
quickemu
qview
@ -62,9 +62,7 @@
wezterm
yubikey-personalization-gui
# Package overrides
(appimage-run.override {
extraPkgs = pkgs: [ libthai ];
})
(appimage-run.override { extraPkgs = pkgs: [ libthai ]; })
# Packages from 3rd party overlays
agenix
chatterino7
@ -95,11 +93,6 @@
];
};
environment.plasma5.excludePackages = ( with pkgs.plasma5Packages; [
elisa
gwenview
oxygen
khelpcenter
konsole
]);
environment.plasma5.excludePackages =
(with pkgs.plasma5Packages; [ elisa gwenview oxygen khelpcenter konsole ]);
}

View file

@ -4,9 +4,8 @@ let
plasma = pkgs.writeScriptBin "plasma" ''
${pkgs.plasma-workspace}/bin/startplasma-wayland &> /dev/null
'';
in
{
in {
services = {
printing.enable = true;
pipewire = {
@ -23,14 +22,15 @@ in
layout = "us";
xkbVariant = "altgr-intl";
exportConfiguration = true;
excludePackages = ( with pkgs; [ xterm ]);
excludePackages = (with pkgs; [ xterm ]);
displayManager.startx.enable = true;
desktopManager.plasma5.enable = true;
};
greetd = {
enable = true;
settings = {
default_session.command = "${pkgs.greetd.tuigreet}/bin/tuigreet --remember --user-menu --asterisks --time --greeting \"Welcome to NixOS\" --cmd ${plasma}/bin/plasma";
default_session.command = ''
${pkgs.greetd.tuigreet}/bin/tuigreet --remember --user-menu --asterisks --time --greeting "Welcome to NixOS" --cmd ${plasma}/bin/plasma'';
initial_session = {
command = "${plasma}/bin/plasma";
user = "user";

View file

@ -2,8 +2,10 @@
{
environment.sessionVariables = rec {
KDEHOME = "$XDG_CONFIG_HOME/kde4"; # Stops kde from placing a .kde4 folder in the home dir
NIXOS_OZONE_WL = "1"; # Forces chromium and most electron apps to run in wayland
KDEHOME =
"$XDG_CONFIG_HOME/kde4"; # Stops kde from placing a .kde4 folder in the home dir
NIXOS_OZONE_WL =
"1"; # Forces chromium and most electron apps to run in wayland
};
users.users.user = {