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 = {
enable = true;
enableCompletion = true;
# new option autosuggestion.enable = true;
enableAutosuggestions = true;
autosuggestion.enable = true;
shellAliases = {
# 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";

View File

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

View File

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