mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-10 20:20:41 +03:00
123
This commit is contained in:
+2
-24
@@ -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";
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
}
|
||||
|
||||
@@ -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";
|
||||
# };
|
||||
}
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
...
|
||||
}:
|
||||
{
|
||||
imports = [
|
||||
./kde.nix
|
||||
#./gnome.nix
|
||||
#./xfce.nix
|
||||
#./deepin.nix
|
||||
];
|
||||
}
|
||||
@@ -1,6 +1,5 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
+2
-2
@@ -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.";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user