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; [ imports = with inputs; [
./essentials ./essentials
(import ./options.nix { inherit inputs; }) (import ./options.nix { inherit lib inputs; }) # Options
# Flake modules # Flake modules
home-manager.nixosModules.home-manager # home-manager module 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 # 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: { inputs, ... }@flakeContext:
{ {
config, config,
@@ -8,13 +7,8 @@
}: }:
{ {
imports = [ imports = [
./environment/kde.nix ./environment
#./environment/gnome.nix ./theming.nix
#./environment/xfce.nix
#./environment/deepin.nix
./environment/theming.nix
inputs.grub2-themes.nixosModules.default # grub2 themes module inputs.grub2-themes.nixosModules.default # grub2 themes module
]; ];
@@ -77,24 +71,7 @@
cups-pdf.enable = true; cups-pdf.enable = true;
}; };
}; };
environment.sessionVariables = { # environment.sessionVariables = {
NIXOS_OZONE_WL = "1"; # 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" ];
# };
} }
+11
View File
@@ -0,0 +1,11 @@
{
...
}:
{
imports = [
./kde.nix
#./gnome.nix
#./xfce.nix
#./deepin.nix
];
}
@@ -1,6 +1,5 @@
{ {
config, config,
lib,
pkgs, pkgs,
... ...
}: }:
+2 -2
View File
@@ -1,5 +1,5 @@
{ {
config, inputs,
lib, lib,
... ...
}: }:
@@ -20,7 +20,7 @@
username = lib.mkOption { username = lib.mkOption {
type = lib.types.str; type = lib.types.str;
default = "${inputs.zeroq.devices.admin}"; default = "${inputs.zeroq.devices.admin}";
description = "Username for host"; description = "Username for host.";
}; };
}; };
}; };