This commit is contained in:
2025-08-04 17:45:42 +03:00
parent a31c1303c9
commit 889df388f8
5 changed files with 20 additions and 55 deletions
+2 -24
View File
@@ -7,11 +7,11 @@
{
imports = with inputs; [
./essentials
(import ./options.nix { inherit inputs; })
(import ./options.nix { inherit lib inputs; }) # Options
# Flake modules
home-manager.nixosModules.home-manager # home-manager module
nix-index-database.nixosModules.nix-index
nix-index-database.nixosModules.nix-index # nix-index module
];
# defines global user
@@ -36,26 +36,4 @@
};
};
};
# Options
# options = {
# device = {
# type = lib.mkOption {
# type = lib.types.enum [
# "minimal"
# "primary"
# "server"
# "vds"
# "wsl"
# ];
# default = "minimal";
# description = "Type of device for this host.";
# };
# username = lib.mkOption {
# type = lib.types.str;
# default = "${inputs.zeroq.devices.admin}";
# description = "Username for host";
# };
# };
# };
}
+5 -28
View File
@@ -1,4 +1,3 @@
# Setup DE, xserver and bootloader
{ inputs, ... }@flakeContext:
{
config,
@@ -8,13 +7,8 @@
}:
{
imports = [
./environment/kde.nix
#./environment/gnome.nix
#./environment/xfce.nix
#./environment/deepin.nix
./environment/theming.nix
./environment
./theming.nix
inputs.grub2-themes.nixosModules.default # grub2 themes module
];
@@ -77,24 +71,7 @@
cups-pdf.enable = true;
};
};
environment.sessionVariables = {
NIXOS_OZONE_WL = "1";
};
# environment = {
# systemPackages = with pkgs; [
# ];
# };
# systemd.services.xiccd = { # Color Profiler bus for x11
# enable = false;
# description = "Xiccd Screen Color Profiler";
# serviceConfig = {
# ExecStart = "${pkgs.xiccd}/bin/xiccd";
# ExecStop = "pkill xiccd";
# Restart = "always";
# };
# wantedBy = [ "dbus.service" ];
# after = [ "dbus.service" ];
# partOf = [ "dbus.service" ];
# };
# environment.sessionVariables = {
# NIXOS_OZONE_WL = "1";
# };
}
+11
View File
@@ -0,0 +1,11 @@
{
...
}:
{
imports = [
./kde.nix
#./gnome.nix
#./xfce.nix
#./deepin.nix
];
}
@@ -1,6 +1,5 @@
{
config,
lib,
pkgs,
...
}:
+2 -2
View File
@@ -1,5 +1,5 @@
{
config,
inputs,
lib,
...
}:
@@ -20,7 +20,7 @@
username = lib.mkOption {
type = lib.types.str;
default = "${inputs.zeroq.devices.admin}";
description = "Username for host";
description = "Username for host.";
};
};
};