removed gnome
This commit is contained in:
parent
2e2e76c06c
commit
4bc941f04c
10 changed files with 41 additions and 53 deletions
17
colors.nix
17
colors.nix
|
@ -22,6 +22,23 @@ in {
|
|||
highlight-med = "#403d52";
|
||||
highlight-high = "#524f67";
|
||||
};
|
||||
example = {
|
||||
base = "#191724";
|
||||
surface = "#1f1d2e";
|
||||
overlay = "#26233a";
|
||||
muted = "#6e6a86";
|
||||
subtle = "#908caa";
|
||||
text = "#e0def4";
|
||||
love = "#eb6f92";
|
||||
gold = "#f6c177";
|
||||
rose = "#ebbcba";
|
||||
pine = "#31748f";
|
||||
foam = "#9ccfd8";
|
||||
iris = "#c4a7e7";
|
||||
highlight-low = "#21202e";
|
||||
highlight-med = "#403d52";
|
||||
highlight-high = "#524f67";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -2,13 +2,9 @@
|
|||
full = true;
|
||||
|
||||
withNiri = true;
|
||||
withGnome = false;
|
||||
|
||||
withVM = false;
|
||||
withContainers = true;
|
||||
|
||||
withGames = false;
|
||||
|
||||
hwmonPath = "/sys/class/hwmon/hwmon1/temp1_input";
|
||||
|
||||
stateVersion = "24.05";
|
||||
|
|
|
@ -2,10 +2,6 @@
|
|||
full = true;
|
||||
|
||||
withNiri = true;
|
||||
withGnome = false;
|
||||
|
||||
withVM = false;
|
||||
withContainers = false;
|
||||
|
||||
withGames = true;
|
||||
|
||||
|
|
|
@ -1,16 +1,4 @@
|
|||
{ ... }: {
|
||||
full = false;
|
||||
|
||||
withNiri = false;
|
||||
withGnome = false;
|
||||
|
||||
withVM = false;
|
||||
withContainers = false;
|
||||
|
||||
withGames = false;
|
||||
|
||||
hwmonPath = "/sys/class/hwmon/hwmon1/temp1_input";
|
||||
|
||||
stateVersion = "24.05";
|
||||
hmStateVersion = "24.11";
|
||||
}
|
||||
|
|
|
@ -2,10 +2,6 @@
|
|||
full = true;
|
||||
|
||||
withNiri = true;
|
||||
withGnome = false;
|
||||
|
||||
withVM = false;
|
||||
withContainers = false;
|
||||
|
||||
withGames = true;
|
||||
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
imports = [
|
||||
./containers
|
||||
./games
|
||||
./gnome
|
||||
./home
|
||||
./niri
|
||||
./user
|
||||
|
|
|
@ -1,4 +1,15 @@
|
|||
{ lib, config, pkgs, ... }: lib.mkIf config.withGames {
|
||||
{ lib, config, pkgs, ... }: let
|
||||
inherit (lib) mkIf mkMerge;
|
||||
in mkIf config.withGames (mkMerge [
|
||||
(mkIf config.withImpermanence {
|
||||
users.${config.username}= {
|
||||
directories = [
|
||||
"Games"
|
||||
".steam"
|
||||
".local/share/PrismLauncher"
|
||||
];
|
||||
};
|
||||
}) {
|
||||
programs.steam.enable = true;
|
||||
programs.gamemode.enable = true;
|
||||
|
||||
|
@ -7,4 +18,5 @@
|
|||
prismlauncher
|
||||
];
|
||||
};
|
||||
}
|
||||
}
|
||||
])
|
||||
|
|
|
@ -1,17 +0,0 @@
|
|||
{ lib, config, pkgs, ... }: lib.mkIf config.withGnome {
|
||||
services.xserver = {
|
||||
enable = true;
|
||||
desktopManager.gnome.enable = true;
|
||||
};
|
||||
|
||||
services.gnome.core-utilities.enable = true;
|
||||
|
||||
hardware.pulseaudio.enable = false;
|
||||
|
||||
programs.dconf.enable = true;
|
||||
|
||||
environment.gnome.excludePackages = with pkgs; [
|
||||
gnome-tour
|
||||
gnome-user-docs
|
||||
];
|
||||
}
|
|
@ -6,6 +6,7 @@
|
|||
"/var/lib/bluetooth"
|
||||
"/var/lib/nixos"
|
||||
"/var/lib/iwd"
|
||||
"/etc/secureboot"
|
||||
];
|
||||
files = [
|
||||
"/etc/machine-id"
|
||||
|
@ -18,7 +19,6 @@
|
|||
"Documents"
|
||||
"Pictures"
|
||||
"Videos"
|
||||
"Games"
|
||||
"code"
|
||||
{ directory = ".local/share/keyrings"; mode = "0700"; }
|
||||
".local/share/direnv"
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
full = mkEnableOption "Enable complete configuration for end-user machine";
|
||||
|
||||
withNiri = mkEnableOption "Enable niri compositor";
|
||||
withGnome = mkEnableOption "Enable Gnome";
|
||||
|
||||
withVM = lib.mkEnableOption "Enable VM related configuration";
|
||||
withContainers = mkEnableOption "Enable container support";
|
||||
|
@ -15,6 +14,8 @@
|
|||
|
||||
withImpermanence = mkEnableOption "Use impermanence module";
|
||||
|
||||
withSecureBoot = mkEnableOption "Enable secure boot utilities (manual key-enrolling required)";
|
||||
|
||||
disks = mkOption {
|
||||
type = attrsOf str;
|
||||
default = { };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue