add gnome for starlite

This commit is contained in:
2025-10-10 16:24:42 +01:00
parent 869c6b4707
commit 8a3698ce15
7 changed files with 16 additions and 54 deletions

View File

@@ -3,7 +3,6 @@
{ {
imports = [ imports = [
./fonts.nix ./fonts.nix
./kde.nix
./location-time.nix ./location-time.nix
./networking.nix ./networking.nix
./nix-settings.nix ./nix-settings.nix

View File

@@ -1,48 +0,0 @@
{ pkgs, lib, ... }:
let
kwin = lib.concatStringsSep " " [
"${lib.getBin pkgs.kdePackages.kwin}/bin/kwin_wayland"
"--no-global-shortcuts"
"--no-kactivities"
"--no-lockscreen"
"--locale1"
"--inputmethod maliit-keyboard"
];
in
{
services.xserver.enable = true; # optional
# Configure keymap in X11
# services.xserver.xkb.layout = "us";
# services.xserver.xkb.options = "eurosign:e,caps:escape";
services.displayManager.sddm = {
enable = true;
wayland.enable = true;
settings = {
Wayland = {
CompositorCommand = kwin;
};
};
};
services.desktopManager.plasma6.enable = true;
environment.plasma6.excludePackages = [ pkgs.kdePackages.discover ];
# For cursor in steam?
xdg.icons.fallbackCursorThemes = [ "breeze_cursors" ];
programs.partition-manager.enable = true;
environment.systemPackages = with pkgs;
[
maliit-keyboard
exfatprogs
] ++ (with kdePackages; [
sddm-kcm
plasma-disks
filelight
ffmpegthumbs
kcalc
]);
}

View File

@@ -1,7 +1,8 @@
{ pkgs, ... }: { pkgs, ... }:
{ {
services.displayManager.gdm.enable = true; services.xserver.enable = true;
services.desktopManager.gnome.enable = true; services.xserver.displayManager.gdm.enable = true;
services.xserver.desktopManager.gnome.enable = true;
# To disable installing GNOME's suite of applications # To disable installing GNOME's suite of applications
# and only be left with GNOME shell. # and only be left with GNOME shell.
@@ -9,4 +10,8 @@
services.gnome.core-developer-tools.enable = false; services.gnome.core-developer-tools.enable = false;
services.gnome.games.enable = false; services.gnome.games.enable = false;
environment.gnome.excludePackages = with pkgs; [ gnome-tour gnome-user-docs ]; environment.gnome.excludePackages = with pkgs; [ gnome-tour gnome-user-docs ];
environment.systemPackages = with pkgs.gnomeExtensions; [
tray-icons-reloaded
];
} }

View File

@@ -2,7 +2,7 @@
# your system. Help is available in the configuration.nix(5) man page, on # your system. Help is available in the configuration.nix(5) man page, on
# https://search.nixos.org/options and in the NixOS manual (`nixos-help`). # https://search.nixos.org/options and in the NixOS manual (`nixos-help`).
{ inputs, ... }: { inputs, pkgs, ... }:
{ {
imports = imports =
@@ -14,10 +14,15 @@
./disk-config.nix ./disk-config.nix
inputs.home-manager.nixosModules.default inputs.home-manager.nixosModules.default
../../configuration/modules/laptop.nix ../../configuration/modules/laptop.nix
../../configuration/modules/gnome.nix
]; ];
networking.hostName = "starlite"; # Define your hostname. networking.hostName = "starlite"; # Define your hostname.
environment.systemPackages = with pkgs.gnomeExtensions; [
touchup
];
# Define a user account. Don't forget to set a password with passwd. # Define a user account. Don't forget to set a password with passwd.
users.users.worble = { users.users.worble = {
initialPassword = "password"; initialPassword = "password";

View File

@@ -16,6 +16,7 @@
../../configuration/modules/laptop.nix ../../configuration/modules/laptop.nix
../../configuration/modules/virtualisation.nix ../../configuration/modules/virtualisation.nix
../../configuration/modules/gaming.nix ../../configuration/modules/gaming.nix
../../configuration/modules/kde.nix
]; ];
networking.hostName = "tuxedo"; # Define your hostname. networking.hostName = "tuxedo"; # Define your hostname.

View File

@@ -24,7 +24,7 @@
# set breeze as default cursor # set breeze as default cursor
# For cursor in steam? # For cursor in steam?
home.file.".icons/default".source = "${pkgs.kdePackages.breeze}/share/icons/breeze_cursors"; # home.file.".icons/default".source = "${pkgs.kdePackages.breeze}/share/icons/breeze_cursors";
home.file.".npmrc".text = lib.generators.toINIWithGlobalSection { } { home.file.".npmrc".text = lib.generators.toINIWithGlobalSection { } {
globalSection = { globalSection = {

View File

@@ -28,7 +28,7 @@
"toolkit.legacyUserProfileCustomizations.stylesheets" = true; "toolkit.legacyUserProfileCustomizations.stylesheets" = true;
# menu bar # menu bar
"ui.key.menuAccessKeyFocuses" = false; "ui.key.menuAccessKeyFocuses" = false;
# use kde file picker # use desktop file picker
"widget.use-xdg-desktop-portal.file-picker" = 1; "widget.use-xdg-desktop-portal.file-picker" = 1;
# sidebar at right # sidebar at right
"sidebar.position_start" = false; "sidebar.position_start" = false;