replace plasma with gnome on laptop
This commit is contained in:
parent
a676409afd
commit
f7104f4bce
4 changed files with 75 additions and 23 deletions
|
|
@ -18,6 +18,7 @@
|
||||||
external-speakers.enable = true;
|
external-speakers.enable = true;
|
||||||
gaming.enable = true;
|
gaming.enable = true;
|
||||||
link2c.enable = true;
|
link2c.enable = true;
|
||||||
|
plasma.enable = true;
|
||||||
|
|
||||||
# config
|
# config
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -11,29 +11,21 @@ in
|
||||||
config = lib.mkIf config.${feature}.enable {
|
config = lib.mkIf config.${feature}.enable {
|
||||||
pipewire.enable = true;
|
pipewire.enable = true;
|
||||||
print-and-scan.enable = true;
|
print-and-scan.enable = true;
|
||||||
plasma.enable = true;
|
|
||||||
|
|
||||||
environment.systemPackages =
|
environment.systemPackages = with pkgs; [
|
||||||
with pkgs;
|
beeper
|
||||||
[
|
brave
|
||||||
beeper
|
calibre
|
||||||
brave
|
cameractrls-gtk3
|
||||||
calibre
|
firefox
|
||||||
cameractrls-gtk3
|
jellyfin-media-player
|
||||||
firefox
|
kiwix
|
||||||
jellyfin-media-player
|
libreoffice
|
||||||
kiwix
|
nixfmt-rfc-style
|
||||||
libreoffice
|
obsidian
|
||||||
nixfmt-rfc-style
|
vlc
|
||||||
obsidian
|
vscode
|
||||||
vlc
|
];
|
||||||
vscode
|
|
||||||
]
|
|
||||||
++ (with pkgs.kdePackages; [
|
|
||||||
skanlite
|
|
||||||
ktorrent
|
|
||||||
kzones
|
|
||||||
]);
|
|
||||||
};
|
};
|
||||||
|
|
||||||
imports = [ ];
|
imports = [ ];
|
||||||
|
|
|
||||||
53
modules/nixos/features/gnome.nix
Normal file
53
modules/nixos/features/gnome.nix
Normal file
|
|
@ -0,0 +1,53 @@
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
feature = "gnome";
|
||||||
|
in
|
||||||
|
{
|
||||||
|
config = lib.mkIf config.${feature}.enable {
|
||||||
|
services = {
|
||||||
|
desktopManager.gnome.enable = true;
|
||||||
|
displayManager.gdm.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
# https://discourse.nixos.org/t/howto-disable-most-gnome-default-applications-and-what-they-are/13505
|
||||||
|
environment.gnome.excludePackages = with pkgs; [
|
||||||
|
# baobab # disk usage analyzer
|
||||||
|
# cheese # photo booth
|
||||||
|
# eog # image viewer
|
||||||
|
epiphany # web browser
|
||||||
|
gedit # text editor
|
||||||
|
# simple-scan # document scanner
|
||||||
|
totem # video player
|
||||||
|
yelp # help viewer
|
||||||
|
evince # document viewer
|
||||||
|
# file-roller # archive manager
|
||||||
|
geary # email client
|
||||||
|
seahorse # password manager
|
||||||
|
|
||||||
|
# these should be self explanatory
|
||||||
|
gnome-calculator
|
||||||
|
gnome-calendar
|
||||||
|
gnome-characters
|
||||||
|
gnome-clocks
|
||||||
|
gnome-contacts
|
||||||
|
gnome-font-viewer
|
||||||
|
gnome-logs
|
||||||
|
gnome-maps
|
||||||
|
gnome-music
|
||||||
|
gnome-photos
|
||||||
|
# gnome-screenshot
|
||||||
|
# gnome-system-monitor
|
||||||
|
gnome-terminal
|
||||||
|
gnome-weather
|
||||||
|
# gnome-disk-utility
|
||||||
|
gnome-connections
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
options.${feature}.enable = lib.mkEnableOption "enables ${feature}";
|
||||||
|
}
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, lib, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
let
|
let
|
||||||
feature = "plasma";
|
feature = "plasma";
|
||||||
in
|
in
|
||||||
|
|
@ -11,6 +11,12 @@ in
|
||||||
wayland.enable = true;
|
wayland.enable = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
environment.systemPackages = with pkgs.kdePackages; [
|
||||||
|
skanlite
|
||||||
|
ktorrent
|
||||||
|
kzones
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
options.${feature}.enable = lib.mkEnableOption "enables ${feature}";
|
options.${feature}.enable = lib.mkEnableOption "enables ${feature}";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue