Move all files

This commit is contained in:
Florian RICHER 2024-05-25 01:32:48 +02:00
parent d0e303d0f9
commit 34c8b954e5
45 changed files with 352 additions and 645 deletions

View file

@ -4,9 +4,12 @@
imports = [
./chromium
./flatpak
./gamingKernel
./gnome
./hyprland
./jetbrains-toolbox
./jetbrainsToolbox
./kitty
./plasma
./vscode
];
}

View file

@ -0,0 +1,16 @@
{ config, pkgs, lib, ... }:
with lib;
let
cfg = config.modules.desktop.gamingKernel;
in
{
options.modules.desktop.gamingKernel = {
enable = mkEnableOption ''
Enable gaming kernel with my custom configurations
'';
};
config = mkIf cfg.enable {
virtualisation.waydroid.enable = true;
};
}

View file

@ -0,0 +1,23 @@
{ config, pkgs, lib, ... }:
with lib;
let
cfg = config.modules.desktop.gnome;
in
{
options.modules.desktop.gnome = {
enable = mkEnableOption ''
Enable gnome with my custom configurations
'';
};
config = mkIf cfg.enable {
# Enable the X11 windowing system.
services.xserver.enable = true;
# Enable the Gnome Desktop Environment.
services.xserver.displayManager.gdm.enable = true;
# Enable the GNOME shell.
services.xserver.desktopManager.gnome.enable = true;
};
}

View file

@ -0,0 +1,42 @@
{ config, pkgs, lib, ... }:
with lib;
let
cfg = config.modules.system.plymouth;
in
{
options.modules.system.plymouth = {
enable = mkEnableOption ''
Enable plymouth with my custom configurations
'';
};
config = mkIf cfg.enable {
# Enable the X11 windowing system.
services.xserver.enable = true;
# Enable the KDE Plasma Desktop Environment.
services.displayManager = {
sddm.enable = true;
defaultSession = "plasma";
};
services.desktopManager.plasma6.enable = true;
programs.kdeconnect.enable = true;
environment.systemPackages = with pkgs; with kdePackages; [
krfb # Use by kdeconnect for virtualmonitorplugin "krfb-virtualmonitor"
discover
# Usefull for automatic informations collect software like KDE
vulkan-tools # For vulkaninfo command
wayland-utils # For wayland-info command
glxinfo
clinfo
];
# Uncomment when kwin is available in nixpkgs and NVIDIA 555
nixpkgs.overlays = [
(import ../overlays/kwin)
];
};
}

View file

@ -0,0 +1,16 @@
{ config, pkgs, lib, ... }:
with lib;
let
cfg = config.modules.desktop.waydroid;
in
{
options.modules.desktop.waydroid = {
enable = mkEnableOption ''
Enable waydroid with my custom configurations
'';
};
config = mkIf cfg.enable {
boot.kernelPackages = pkgs.linuxPackages_zen;
};
}