fix warnings

This commit is contained in:
Kopatz
2024-06-06 23:22:44 +02:00
parent c3d36a822d
commit 8adc05399c
3 changed files with 23 additions and 24 deletions

View File

@@ -3,8 +3,7 @@
programs.zsh = { programs.zsh = {
enable = true; enable = true;
enableCompletion = true; enableCompletion = true;
# new option autosuggestion.enable = true; autosuggestion.enable = true;
enableAutosuggestions = true;
shellAliases = { shellAliases = {
# TODO: gifsicle -O3 --lossy=30 noita-20240328-191617-1612416266-00316616.gif -o noita-20240328-191617-1612416266.gif # TODO: gifsicle -O3 --lossy=30 noita-20240328-191617-1612416266-00316616.gif -o noita-20240328-191617-1612416266.gif
backupNoita = "cp -r ~/.local/share/Steam/steamapps/compatdata/881100/pfx/drive_c/users/steamuser/AppData/LocalLow/Nolla_Games_Noita/save00 /synced/default/backups/noita_save"; backupNoita = "cp -r ~/.local/share/Steam/steamapps/compatdata/881100/pfx/drive_c/users/steamuser/AppData/LocalLow/Nolla_Games_Noita/save00 /synced/default/backups/noita_save";

View File

@@ -19,22 +19,24 @@ in {
portal = { portal = {
enable = true; enable = true;
extraPortals = with pkgs; [ libsForQt5.xdg-desktop-portal-kde ]; extraPortals = with pkgs; [ libsForQt5.xdg-desktop-portal-kde ];
config.common.default = "*";
}; };
}; };
services.xserver = { services = {
enable = true;
xkb.layout = config.mainUser.layout;
xkb.variant = config.mainUser.variant;
desktopManager = { xterm.enable = false; };
displayManager = { displayManager = {
defaultSession = "none+i3"; defaultSession = "none+i3";
sddm.enable = true; sddm.enable = true;
sddm.theme = "${pkgs.sddm-astronaut}"; sddm.theme = "${pkgs.sddm-astronaut}";
}; };
xserver = {
enable = true;
xkb.layout = config.mainUser.layout;
xkb.variant = config.mainUser.variant;
desktopManager = { xterm.enable = false; };
windowManager.i3 = { windowManager.i3 = {
enable = true; enable = true;
extraPackages = with pkgs; [ extraPackages = with pkgs; [
@@ -44,6 +46,7 @@ in {
]; ];
}; };
}; };
};
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
picom # compositor picom # compositor

View File

@@ -24,8 +24,7 @@ in {
noto-fonts-cjk noto-fonts-cjk
#font-awesome #font-awesome
]; ];
services.xserver = { services.libinput = {
libinput = {
enable = true; enable = true;
# disabling mouse acceleration # disabling mouse acceleration
@@ -35,8 +34,6 @@ in {
}; };
}; };
};
networking.firewall = { networking.firewall = {
enable = true; enable = true;
allowedTCPPorts = [ 25565 53317 ]; # localsend allowedTCPPorts = [ 25565 53317 ]; # localsend