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-med = "#403d52";
|
||||||
highlight-high = "#524f67";
|
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;
|
full = true;
|
||||||
|
|
||||||
withNiri = true;
|
withNiri = true;
|
||||||
withGnome = false;
|
|
||||||
|
|
||||||
withVM = false;
|
|
||||||
withContainers = true;
|
withContainers = true;
|
||||||
|
|
||||||
withGames = false;
|
|
||||||
|
|
||||||
hwmonPath = "/sys/class/hwmon/hwmon1/temp1_input";
|
hwmonPath = "/sys/class/hwmon/hwmon1/temp1_input";
|
||||||
|
|
||||||
stateVersion = "24.05";
|
stateVersion = "24.05";
|
||||||
|
|
|
@ -2,10 +2,6 @@
|
||||||
full = true;
|
full = true;
|
||||||
|
|
||||||
withNiri = true;
|
withNiri = true;
|
||||||
withGnome = false;
|
|
||||||
|
|
||||||
withVM = false;
|
|
||||||
withContainers = false;
|
|
||||||
|
|
||||||
withGames = true;
|
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";
|
stateVersion = "24.05";
|
||||||
hmStateVersion = "24.11";
|
hmStateVersion = "24.11";
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,10 +2,6 @@
|
||||||
full = true;
|
full = true;
|
||||||
|
|
||||||
withNiri = true;
|
withNiri = true;
|
||||||
withGnome = false;
|
|
||||||
|
|
||||||
withVM = false;
|
|
||||||
withContainers = false;
|
|
||||||
|
|
||||||
withGames = true;
|
withGames = true;
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
imports = [
|
imports = [
|
||||||
./containers
|
./containers
|
||||||
./games
|
./games
|
||||||
./gnome
|
|
||||||
./home
|
./home
|
||||||
./niri
|
./niri
|
||||||
./user
|
./user
|
||||||
|
|
|
@ -1,10 +1,22 @@
|
||||||
{ lib, config, pkgs, ... }: lib.mkIf config.withGames {
|
{ lib, config, pkgs, ... }: let
|
||||||
programs.steam.enable = true;
|
inherit (lib) mkIf mkMerge;
|
||||||
programs.gamemode.enable = true;
|
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;
|
||||||
|
|
||||||
home-manager.users.${config.username} = {
|
home-manager.users.${config.username} = {
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
prismlauncher
|
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/bluetooth"
|
||||||
"/var/lib/nixos"
|
"/var/lib/nixos"
|
||||||
"/var/lib/iwd"
|
"/var/lib/iwd"
|
||||||
|
"/etc/secureboot"
|
||||||
];
|
];
|
||||||
files = [
|
files = [
|
||||||
"/etc/machine-id"
|
"/etc/machine-id"
|
||||||
|
@ -18,7 +19,6 @@
|
||||||
"Documents"
|
"Documents"
|
||||||
"Pictures"
|
"Pictures"
|
||||||
"Videos"
|
"Videos"
|
||||||
"Games"
|
|
||||||
"code"
|
"code"
|
||||||
{ directory = ".local/share/keyrings"; mode = "0700"; }
|
{ directory = ".local/share/keyrings"; mode = "0700"; }
|
||||||
".local/share/direnv"
|
".local/share/direnv"
|
||||||
|
|
|
@ -6,7 +6,6 @@
|
||||||
full = mkEnableOption "Enable complete configuration for end-user machine";
|
full = mkEnableOption "Enable complete configuration for end-user machine";
|
||||||
|
|
||||||
withNiri = mkEnableOption "Enable niri compositor";
|
withNiri = mkEnableOption "Enable niri compositor";
|
||||||
withGnome = mkEnableOption "Enable Gnome";
|
|
||||||
|
|
||||||
withVM = lib.mkEnableOption "Enable VM related configuration";
|
withVM = lib.mkEnableOption "Enable VM related configuration";
|
||||||
withContainers = mkEnableOption "Enable container support";
|
withContainers = mkEnableOption "Enable container support";
|
||||||
|
@ -15,6 +14,8 @@
|
||||||
|
|
||||||
withImpermanence = mkEnableOption "Use impermanence module";
|
withImpermanence = mkEnableOption "Use impermanence module";
|
||||||
|
|
||||||
|
withSecureBoot = mkEnableOption "Enable secure boot utilities (manual key-enrolling required)";
|
||||||
|
|
||||||
disks = mkOption {
|
disks = mkOption {
|
||||||
type = attrsOf str;
|
type = attrsOf str;
|
||||||
default = { };
|
default = { };
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue