This commit is contained in:
mjallen18
2025-02-08 18:41:55 -06:00
parent 3a25db1431
commit 1b6e2daeef

View File

@@ -30,18 +30,17 @@
optimise.automatic = lib.mkDefault true;
};
networking.hostName = "steamdeck";
networking.networkmanager.enable = true; # Easiest to use and most distros use this by default.
networking = {
hostName = "steamdeck";
networkmanager = {
enable = true;
wifi.powersave = lib.mkDefault false;
settings.connectivity.uri = lib.mkDefault "http://nmcheck.gnome.org/check_network_status.txt";
};
};
# Set your time zone.
time.timeZone = "America/Chicago";
# Enable the X11 windowing system.
services.xserver.enable = false;
# Enable the Plasma 5 Desktop Environment.
services.xserver.displayManager.sddm.enable = false;
services.xserver.desktopManager.plasma5.enable = false;
services.desktopManager.plasma6 = {
enable = true;
@@ -61,13 +60,52 @@
];
};
programs.gamemode.enable = lib.mkDefault true;
services = {
flatpak.enable = true;
btrfs = {
autoScrub.enable = lib.mkDefault true;
autoScrub.fileSystems = lib.mkDefault [
"/nix"
"/root"
"/etc"
"/var/log"
"/home"
];
};
};
boot = {
# Enable AppImage
binfmt.registrations.appimage = {
wrapInterpreterInShell = lib.mkDefault false;
interpreter = "${pkgs.appimage-run}/bin/appimage-run";
recognitionType = "magic";
offset = 0;
mask = "\\xff\\xff\\xff\\xff\\x00\\x00\\x00\\x00\\xff\\xff\\xff";
magicOrExtension = "\\x7fELF....AI\\x02";
};
};
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs; [
plymouth
# vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
# wget
];
environment = {
systemPackages = with pkgs; [
onlyoffice-bin
sbctl
smartmontools
usbutils
udisks2
plymouth
];
variables = {
STEAM_FORCE_DESKTOPUI_SCALING = "1.0";
GDK_SCALE = "1";
};
};
# Some programs need SUID wrappers, can be configured further or are
# started in user sessions.