Implemented custom system for creating and distributing color schemes based on wallpapers, and also cycling through wallpapers.
nixfmt'd the codebase
This commit is contained in:
@@ -1,7 +1,12 @@
|
||||
{ lib, config, pkgs, ... }: {
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
options = {
|
||||
movOpts.sysEnv.consoleSettings.enable =
|
||||
lib.mkEnableOption "enables my console settings";
|
||||
movOpts.sysEnv.consoleSettings.enable = lib.mkEnableOption "enables my console settings";
|
||||
};
|
||||
config = lib.mkIf config.movOpts.sysEnv.consoleSettings.enable {
|
||||
i18n.defaultLocale = "en_US.UTF-8";
|
||||
|
||||
@@ -1,5 +1,19 @@
|
||||
{ inputs, nixpkgs, nixvim, config, self, username, host, ... }: {
|
||||
imports = [ (import ./sddm.nix) ] ++ [ (import ./issue.nix) ]
|
||||
++ [ (import ./nix.nix) ] ++ [ (import ./stylix.nix) ];
|
||||
{
|
||||
inputs,
|
||||
nixpkgs,
|
||||
nixvim,
|
||||
config,
|
||||
self,
|
||||
username,
|
||||
host,
|
||||
...
|
||||
}:
|
||||
{
|
||||
imports = [
|
||||
(import ./sddm.nix)
|
||||
]
|
||||
++ [ (import ./issue.nix) ]
|
||||
++ [ (import ./nix.nix) ]
|
||||
++ [ (import ./stylix.nix) ];
|
||||
#++ [ (import ./console.nix) ];
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{ lib, config, ... }: {
|
||||
{ lib, config, ... }:
|
||||
{
|
||||
options = {
|
||||
movOpts.sysEnv.issue.enable =
|
||||
lib.mkEnableOption "enables custom /etc/issue splash screen for the tty";
|
||||
movOpts.sysEnv.issue.enable = lib.mkEnableOption "enables custom /etc/issue splash screen for the tty";
|
||||
};
|
||||
config = lib.mkIf config.movOpts.sysEnv.issue.enable {
|
||||
environment.etc."issue".text = ''
|
||||
|
||||
@@ -1,14 +1,17 @@
|
||||
{ lib, config, ... }: {
|
||||
{ lib, config, ... }:
|
||||
{
|
||||
options = {
|
||||
movOpts.sysEnv.nixSettings.enable =
|
||||
lib.mkEnableOption "enables my nixos settings";
|
||||
movOpts.sysEnv.nixSettings.enable = lib.mkEnableOption "enables my nixos settings";
|
||||
};
|
||||
config = lib.mkIf config.movOpts.sysEnv.nixSettings.enable {
|
||||
system.stateVersion = "24.05";
|
||||
nix = {
|
||||
settings = {
|
||||
auto-optimise-store = true;
|
||||
experimental-features = [ "nix-command" "flakes" ];
|
||||
experimental-features = [
|
||||
"nix-command"
|
||||
"flakes"
|
||||
];
|
||||
substituters = [ "https://nix-gaming.cachix.org" ];
|
||||
};
|
||||
gc = {
|
||||
|
||||
@@ -1,7 +1,13 @@
|
||||
{ pkgs, self, lib, config, ... }: {
|
||||
{
|
||||
pkgs,
|
||||
self,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
{
|
||||
options = {
|
||||
movOpts.sysEnv.sddmConfig.enable =
|
||||
lib.mkEnableOption "enables custom sddm configuration";
|
||||
movOpts.sysEnv.sddmConfig.enable = lib.mkEnableOption "enables custom sddm configuration";
|
||||
};
|
||||
config = lib.mkIf config.movOpts.sysEnv.sddmConfig.enable {
|
||||
environment.systemPackages = [
|
||||
|
||||
@@ -1,25 +1,28 @@
|
||||
{ pkgs, self, lib, config, ... }:
|
||||
{
|
||||
pkgs,
|
||||
self,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
|
||||
let
|
||||
scheme = "ayu-dark";
|
||||
wallpaper = "${self}/assets/wallpapers/dark-waves.jpg";
|
||||
in {
|
||||
in
|
||||
{
|
||||
options = {
|
||||
movOpts.sysEnv.stylixConfig.enable =
|
||||
lib.mkEnableOption "enables custom stylix options";
|
||||
movOpts.sysEnv.stylixConfig.enable = lib.mkEnableOption "enables custom stylix options";
|
||||
};
|
||||
config = lib.mkIf config.movOpts.sysEnv.stylixConfig.enable {
|
||||
stylix = {
|
||||
enable = true;
|
||||
base16Scheme = "${pkgs.base16-schemes}/share/themes/${scheme}.yaml";
|
||||
image = wallpaper;
|
||||
homeManagerIntegration = {
|
||||
autoImport = true;
|
||||
followSystem = true;
|
||||
};
|
||||
polarity = "dark";
|
||||
autoEnable = true;
|
||||
opacity.terminal = 0.8;
|
||||
targets = {
|
||||
console.enable = false;
|
||||
feh.enable = true;
|
||||
|
||||
Reference in New Issue
Block a user