remove desktop environment from deck
This commit is contained in:
parent
53fee384c7
commit
e3d3a44d5d
3 changed files with 2 additions and 36 deletions
|
|
@ -7,35 +7,8 @@
|
||||||
# Import the common NixOS home configuration
|
# Import the common NixOS home configuration
|
||||||
imports = [
|
imports = [
|
||||||
../home-default.nix
|
../home-default.nix
|
||||||
../../../modules/syncthing.nix
|
|
||||||
../../../modules/firefox.nix
|
|
||||||
../../../modules/ghostty.nix
|
|
||||||
../../../modules/gnome/home.nix
|
|
||||||
];
|
];
|
||||||
|
|
||||||
# Always show GNOME top bar on Steam Deck
|
|
||||||
gnome-home-custom.alwaysShowTopBar = true;
|
|
||||||
|
|
||||||
# Disable Documents sync on Steam Deck (save space)
|
|
||||||
syncthing-custom.enabledFolders = [ "Credentials" ];
|
|
||||||
|
|
||||||
# Enable Ghostty terminal with OSC-52 clipboard support
|
|
||||||
programs.ghostty-custom = {
|
|
||||||
enable = true;
|
|
||||||
package = pkgs.ghostty;
|
|
||||||
fontSize = 12;
|
|
||||||
windowMode = "maximized";
|
|
||||||
};
|
|
||||||
|
|
||||||
# Enable Firefox browser
|
|
||||||
programs.firefox-custom = {
|
|
||||||
enable = true;
|
|
||||||
package = pkgs.firefox;
|
|
||||||
};
|
|
||||||
|
|
||||||
# ThinkPad-specific applications
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
keepassxc
|
|
||||||
vlc
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -5,14 +5,10 @@
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
./disk-config.nix
|
./disk-config.nix
|
||||||
../system-default.nix # Common NixOS system configuration
|
../system-default.nix # Common NixOS system configuration
|
||||||
../../../modules/gnome/system.nix
|
|
||||||
../../../modules/wireguard.nix
|
../../../modules/wireguard.nix
|
||||||
../../../modules/login-display.nix
|
../../../modules/login-display.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# Desktop module configuration (disable GDM for Jovian autoStart mode)
|
|
||||||
gnome-system-custom.enableDisplayManager = false;
|
|
||||||
|
|
||||||
# Bootloader - standard UEFI setup
|
# Bootloader - standard UEFI setup
|
||||||
boot.loader = {
|
boot.loader = {
|
||||||
systemd-boot.enable = true;
|
systemd-boot.enable = true;
|
||||||
|
|
@ -70,7 +66,7 @@
|
||||||
steam = {
|
steam = {
|
||||||
enable = true;
|
enable = true;
|
||||||
autoStart = true;
|
autoStart = true;
|
||||||
desktopSession = "gnome";
|
desktopSession = "gamescope-wayland";
|
||||||
user = "yanlin";
|
user = "yanlin";
|
||||||
};
|
};
|
||||||
devices.steamdeck = {
|
devices.steamdeck = {
|
||||||
|
|
|
||||||
|
|
@ -64,9 +64,6 @@ in
|
||||||
"thinkpad" = {
|
"thinkpad" = {
|
||||||
id = "OMZKASU-QPZDCQ2-7QRHRD4-3TPAXLM-AYRMWXB-A6E5OIZ-MGR422V-JYARQA6";
|
id = "OMZKASU-QPZDCQ2-7QRHRD4-3TPAXLM-AYRMWXB-A6E5OIZ-MGR422V-JYARQA6";
|
||||||
};
|
};
|
||||||
"deck" = {
|
|
||||||
id = "4LYWEFD-25FGQ7W-DQ7UC2R-LTJCTYQ-3UHXJUC-DRY2RIF-UFGNCZQ-LLFVDAX";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
# Define shared folders (only enabled ones)
|
# Define shared folders (only enabled ones)
|
||||||
|
|
@ -74,7 +71,7 @@ in
|
||||||
(lib.optionalAttrs (lib.elem "Credentials" cfg.enabledFolders) {
|
(lib.optionalAttrs (lib.elem "Credentials" cfg.enabledFolders) {
|
||||||
"Credentials" = {
|
"Credentials" = {
|
||||||
path = "~/Credentials";
|
path = "~/Credentials";
|
||||||
devices = [ "iphone" "hs" "thinkpad" "deck" ];
|
devices = [ "iphone" "hs" "thinkpad" ];
|
||||||
ignorePerms = true;
|
ignorePerms = true;
|
||||||
versioning = commonVersioning;
|
versioning = commonVersioning;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue