icons
This commit is contained in:
18
homes/aarch64-linux/root@macbook-pro-nixos/default.nix
Normal file
18
homes/aarch64-linux/root@macbook-pro-nixos/default.nix
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
{
|
||||||
|
lib,
|
||||||
|
namespace,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
inherit (lib.${namespace}) enabled disabled;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
home.username = "root";
|
||||||
|
services = {
|
||||||
|
nextcloud-client = lib.mkForce disabled;
|
||||||
|
kdeconnect = {
|
||||||
|
enable = false;
|
||||||
|
indicator = false;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
18
homes/aarch64-linux/root@pi4/default.nix
Normal file
18
homes/aarch64-linux/root@pi4/default.nix
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
{
|
||||||
|
lib,
|
||||||
|
namespace,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
inherit (lib.${namespace}) enabled disabled;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
home.username = "root";
|
||||||
|
services = {
|
||||||
|
nextcloud-client = lib.mkForce disabled;
|
||||||
|
kdeconnect = {
|
||||||
|
enable = false;
|
||||||
|
indicator = false;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
18
homes/aarch64-linux/root@pi5/default.nix
Normal file
18
homes/aarch64-linux/root@pi5/default.nix
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
{
|
||||||
|
lib,
|
||||||
|
namespace,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
inherit (lib.${namespace}) enabled disabled;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
home.username = "root";
|
||||||
|
services = {
|
||||||
|
nextcloud-client = lib.mkForce disabled;
|
||||||
|
kdeconnect = {
|
||||||
|
enable = false;
|
||||||
|
indicator = false;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
18
homes/x86_64-linux/root@jallen-nas/default.nix
Normal file
18
homes/x86_64-linux/root@jallen-nas/default.nix
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
{
|
||||||
|
lib,
|
||||||
|
namespace,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
inherit (lib.${namespace}) enabled disabled;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
home.username = "root";
|
||||||
|
services = {
|
||||||
|
nextcloud-client = lib.mkForce disabled;
|
||||||
|
kdeconnect = {
|
||||||
|
enable = false;
|
||||||
|
indicator = false;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
18
homes/x86_64-linux/root@matt-nixos/default.nix
Normal file
18
homes/x86_64-linux/root@matt-nixos/default.nix
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
{
|
||||||
|
lib,
|
||||||
|
namespace,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
inherit (lib.${namespace}) enabled disabled;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
home.username = "root";
|
||||||
|
services = {
|
||||||
|
nextcloud-client = lib.mkForce disabled;
|
||||||
|
kdeconnect = {
|
||||||
|
enable = false;
|
||||||
|
indicator = false;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
18
homes/x86_64-linux/root@nuc-nixos/default.nix
Normal file
18
homes/x86_64-linux/root@nuc-nixos/default.nix
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
{
|
||||||
|
lib,
|
||||||
|
namespace,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
inherit (lib.${namespace}) enabled disabled;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
home.username = "root";
|
||||||
|
services = {
|
||||||
|
nextcloud-client = lib.mkForce disabled;
|
||||||
|
kdeconnect = {
|
||||||
|
enable = false;
|
||||||
|
indicator = false;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
18
homes/x86_64-linux/root@steamdeck/default.nix
Normal file
18
homes/x86_64-linux/root@steamdeck/default.nix
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
{
|
||||||
|
lib,
|
||||||
|
namespace,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
inherit (lib.${namespace}) enabled disabled;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
home.username = "root";
|
||||||
|
services = {
|
||||||
|
nextcloud-client = lib.mkForce disabled;
|
||||||
|
kdeconnect = {
|
||||||
|
enable = false;
|
||||||
|
indicator = false;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -12,7 +12,6 @@ in
|
|||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./options.nix
|
./options.nix
|
||||||
./theme.nix
|
|
||||||
];
|
];
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
|
|||||||
@@ -1,75 +0,0 @@
|
|||||||
{
|
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
with lib;
|
|
||||||
let
|
|
||||||
cfg = config.mjallen.programs.hyprland;
|
|
||||||
|
|
||||||
# Pull from global theme options
|
|
||||||
themeSize = "standard"; # "standard" | "compact"
|
|
||||||
themeAccent = "default"; # "default" | ... | "all"
|
|
||||||
themeTweak = "normal"; # "normal" | "rimless" | "float" | "black"
|
|
||||||
themeColor = "dark"; # "light" | "dark"
|
|
||||||
iconThemeVariant = "default"; # "default" | ... | "all"
|
|
||||||
iconScheme = "nord"; # "default" | "nord" | "dracula" | ...
|
|
||||||
|
|
||||||
# GTK
|
|
||||||
gtkTheme = "Colloid-dark-standard";
|
|
||||||
gtkThemePkg = pkgs.colloid-gtk-theme.override {
|
|
||||||
sizeVariants = [ themeSize ];
|
|
||||||
colorVariants = [ themeColor ];
|
|
||||||
themeVariants = [ themeAccent ];
|
|
||||||
tweaks = [ themeTweak ];
|
|
||||||
};
|
|
||||||
|
|
||||||
# Icons
|
|
||||||
iconTheme = "Colloid-nord-dark";
|
|
||||||
iconThemePkg = pkgs.colloid-icon-theme.override {
|
|
||||||
schemeVariants = [ iconScheme ];
|
|
||||||
colorVariants = [ iconThemeVariant ];
|
|
||||||
};
|
|
||||||
in
|
|
||||||
{
|
|
||||||
config = mkIf cfg.enable {
|
|
||||||
|
|
||||||
# dconf = {
|
|
||||||
# enable = true;
|
|
||||||
# settings = {
|
|
||||||
# "org/gnome/desktop/interface".color-scheme = mkForce "prefer-dark";
|
|
||||||
# # "org/gnome/desktop/interface".cursor-theme = cursorTheme;
|
|
||||||
# "org/gnome/desktop/interface".gtk-theme = gtkTheme;
|
|
||||||
# "org/gnome/desktop/interface".icon-theme = iconTheme;
|
|
||||||
# };
|
|
||||||
# };
|
|
||||||
|
|
||||||
# gtk = {
|
|
||||||
# enable = true;
|
|
||||||
|
|
||||||
# cursorTheme = {
|
|
||||||
# name = cursorTheme;
|
|
||||||
# package = cursorThemePkg;
|
|
||||||
# };
|
|
||||||
|
|
||||||
# theme = {
|
|
||||||
# name = gtkTheme;
|
|
||||||
# package = gtkThemePkg;
|
|
||||||
# };
|
|
||||||
|
|
||||||
# iconTheme = {
|
|
||||||
# name = iconTheme;
|
|
||||||
# package = iconThemePkg;
|
|
||||||
# };
|
|
||||||
|
|
||||||
# gtk3.extraConfig = {
|
|
||||||
# gtk-application-prefer-dark-theme = true;
|
|
||||||
# };
|
|
||||||
|
|
||||||
# gtk4.extraConfig = {
|
|
||||||
# gtk-application-prefer-dark-theme = true;
|
|
||||||
# };
|
|
||||||
# };
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -14,7 +14,7 @@ in
|
|||||||
{
|
{
|
||||||
programs = {
|
programs = {
|
||||||
nix-index-database.comma.enable = true;
|
nix-index-database.comma.enable = true;
|
||||||
zsh.enable = lib.mkDefault true;
|
zsh.enable = lib.mkForce true;
|
||||||
gnupg.agent = {
|
gnupg.agent = {
|
||||||
enable = lib.mkDefault true;
|
enable = lib.mkDefault true;
|
||||||
enableSSHSupport = lib.mkDefault true;
|
enableSSHSupport = lib.mkDefault true;
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{ lib, ... }:
|
{ lib, ... }:
|
||||||
{
|
{
|
||||||
programs = {
|
programs = {
|
||||||
zsh.enable = lib.mkDefault true;
|
zsh.enable = lib.mkForce true;
|
||||||
gnupg.agent = {
|
gnupg.agent = {
|
||||||
enable = lib.mkDefault true;
|
enable = lib.mkDefault true;
|
||||||
enableSSHSupport = lib.mkDefault true;
|
enableSSHSupport = lib.mkDefault true;
|
||||||
|
|||||||
@@ -69,51 +69,58 @@ in
|
|||||||
users = {
|
users = {
|
||||||
mutableUsers = cfg.mutableUsers;
|
mutableUsers = cfg.mutableUsers;
|
||||||
groups.${cfg.group}.gid = lib.mkForce (if cfg.group != "wheel" then cfg.gid else 1);
|
groups.${cfg.group}.gid = lib.mkForce (if cfg.group != "wheel" then cfg.gid else 1);
|
||||||
users.${cfg.name} = {
|
users = {
|
||||||
inherit (cfg)
|
root = {
|
||||||
name
|
isSystemUser = true;
|
||||||
uid
|
isNormalUser = false;
|
||||||
linger
|
shell = lib.mkForce pkgs.zsh;
|
||||||
packages
|
};
|
||||||
password
|
${cfg.name} = {
|
||||||
hashedPassword
|
inherit (cfg)
|
||||||
hashedPasswordFile
|
name
|
||||||
;
|
uid
|
||||||
|
linger
|
||||||
|
packages
|
||||||
|
password
|
||||||
|
hashedPassword
|
||||||
|
hashedPasswordFile
|
||||||
|
;
|
||||||
|
|
||||||
extraGroups = [
|
extraGroups = [
|
||||||
"wheel"
|
"wheel"
|
||||||
"keys"
|
"keys"
|
||||||
"networkmanager"
|
"networkmanager"
|
||||||
"ratbagd"
|
"ratbagd"
|
||||||
"scanner"
|
"scanner"
|
||||||
"systemd-journal"
|
"systemd-journal"
|
||||||
"mpd"
|
"mpd"
|
||||||
"audio"
|
"audio"
|
||||||
"video"
|
"video"
|
||||||
"input"
|
"input"
|
||||||
"plugdev"
|
"plugdev"
|
||||||
"lp"
|
"lp"
|
||||||
"tss"
|
"tss"
|
||||||
"power"
|
"power"
|
||||||
"nix"
|
"nix"
|
||||||
"i2c"
|
"i2c"
|
||||||
"media"
|
"media"
|
||||||
"nscd"
|
"nscd"
|
||||||
"avahi"
|
"avahi"
|
||||||
"podman"
|
"podman"
|
||||||
"libvirtd"
|
"libvirtd"
|
||||||
]
|
]
|
||||||
++ cfg.extraGroups;
|
++ cfg.extraGroups;
|
||||||
|
|
||||||
group = cfg.group;
|
group = cfg.group;
|
||||||
home = "/home/${cfg.name}";
|
home = "/home/${cfg.name}";
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
shell = lib.mkForce pkgs.zsh;
|
shell = lib.mkForce pkgs.zsh;
|
||||||
|
|
||||||
# SSH keys - combine user-specific and common keys
|
# SSH keys - combine user-specific and common keys
|
||||||
openssh.authorizedKeys.keys = cfg.sshKeys ++ (lib.optionals cfg.enableCommonSshKeys commonSshKeys);
|
openssh.authorizedKeys.keys = cfg.sshKeys ++ (lib.optionals cfg.enableCommonSshKeys commonSshKeys);
|
||||||
}
|
}
|
||||||
// cfg.extraOptions;
|
// cfg.extraOptions;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
assertions = [
|
assertions = [
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user