mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-16 10:05:13 -05:00
feat: added other user themes
This commit is contained in:
parent
6cdbfedc93
commit
1635b0c845
40 changed files with 593 additions and 210 deletions
|
@ -68,12 +68,27 @@ in
|
|||
imports = builtins.attrValues {
|
||||
inherit (modules)
|
||||
tablet
|
||||
;
|
||||
};
|
||||
};
|
||||
|
||||
plasma = {
|
||||
imports = builtins.attrValues {
|
||||
inherit (modules)
|
||||
plasma
|
||||
sddm
|
||||
;
|
||||
};
|
||||
};
|
||||
|
||||
gnome = {
|
||||
imports = builtins.attrValues {
|
||||
inherit (modules)
|
||||
gnome
|
||||
;
|
||||
};
|
||||
};
|
||||
|
||||
hyprland = {
|
||||
imports = builtins.attrValues {
|
||||
inherit (modules)
|
||||
|
@ -90,6 +105,14 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
sops = {
|
||||
imports = builtins.attrValues {
|
||||
inherit (modules)
|
||||
sops
|
||||
;
|
||||
};
|
||||
};
|
||||
|
||||
shared = {
|
||||
imports = builtins.attrValues {
|
||||
inherit (modules)
|
||||
|
@ -102,7 +125,6 @@ in
|
|||
nh
|
||||
nix
|
||||
rsyncd
|
||||
sops
|
||||
ssh
|
||||
system
|
||||
xserver
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
let
|
||||
inherit (flake.config.people)
|
||||
user0
|
||||
user1
|
||||
user2
|
||||
;
|
||||
inherit (flake.config.machines)
|
||||
|
@ -11,6 +12,7 @@ let
|
|||
desktop = devices.desktop.name;
|
||||
server = devices.server.name;
|
||||
fallaryn = devices.fallaryn.name;
|
||||
bartholomew = devices.bartholomew.name;
|
||||
in
|
||||
{
|
||||
security = {
|
||||
|
@ -26,6 +28,8 @@ in
|
|||
user0
|
||||
else if hostname == server then
|
||||
user0
|
||||
else if hostname == bartholomew then
|
||||
user1
|
||||
else if hostname == fallaryn then
|
||||
user2
|
||||
else
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
{pkgs, ...}: {
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
services = {
|
||||
xserver = {
|
||||
enable = true;
|
||||
|
@ -15,8 +16,7 @@
|
|||
gnome-online-accounts.enable = true;
|
||||
};
|
||||
udev.packages = builtins.attrValues {
|
||||
inherit
|
||||
(pkgs.gnome)
|
||||
inherit (pkgs)
|
||||
gnome-settings-daemon
|
||||
;
|
||||
};
|
||||
|
@ -27,8 +27,7 @@
|
|||
# WEBKIT_DISABLE_COMPOSITING_MODE = "1";
|
||||
};
|
||||
gnome.excludePackages = builtins.attrValues {
|
||||
inherit
|
||||
(pkgs)
|
||||
inherit (pkgs)
|
||||
gnome-photos
|
||||
gnome-tour
|
||||
epiphany # web browser
|
||||
|
@ -38,19 +37,16 @@
|
|||
totem # video player
|
||||
yelp # help viewer
|
||||
gnome-calendar
|
||||
;
|
||||
inherit
|
||||
(pkgs.gnome)
|
||||
gnome-music
|
||||
tali # poker game
|
||||
iagno # go game
|
||||
hitori # sudoku game
|
||||
atomix # puzzle game
|
||||
gnome-clocks
|
||||
gnome-weather
|
||||
gnome-maps
|
||||
gnome-contacts
|
||||
gnome-characters
|
||||
gnome-music
|
||||
tali # poker game
|
||||
iagno # go game
|
||||
hitori # sudoku game
|
||||
;
|
||||
};
|
||||
};
|
||||
|
|
|
@ -11,6 +11,7 @@ let
|
|||
desktop = devices.desktop.name;
|
||||
server = devices.server.name;
|
||||
fallaryn = devices.fallaryn.name;
|
||||
bartholomew = devices.bartholomew.name;
|
||||
|
||||
userLogic =
|
||||
if hostname == desktop then
|
||||
|
@ -30,23 +31,27 @@ in
|
|||
keyFile = "/var/lib/sops-nix/key.txt";
|
||||
generateKey = false;
|
||||
};
|
||||
secrets = {
|
||||
"ssh/private" = {
|
||||
path = "/home/${userLogic}/.ssh/id_ed25519";
|
||||
owner = userLogic;
|
||||
};
|
||||
"ssh/public" = {
|
||||
path = "/home/${userLogic}/.ssh/id_ed25519.pub";
|
||||
owner = userLogic;
|
||||
};
|
||||
"ssh/hosts" = {
|
||||
path = "/home/${userLogic}/.ssh/known_hosts";
|
||||
owner = userLogic;
|
||||
};
|
||||
# "claude-api-key" = {
|
||||
# path = "/home/${user0}/.config/zed/claude-api-key";
|
||||
# owner = user0;
|
||||
# };
|
||||
};
|
||||
secrets =
|
||||
if hostname == bartholomew then
|
||||
{ }
|
||||
else
|
||||
{
|
||||
"ssh/private" = {
|
||||
path = "/home/${userLogic}/.ssh/id_ed25519";
|
||||
owner = userLogic;
|
||||
};
|
||||
"ssh/public" = {
|
||||
path = "/home/${userLogic}/.ssh/id_ed25519.pub";
|
||||
owner = userLogic;
|
||||
};
|
||||
"ssh/hosts" = {
|
||||
path = "/home/${userLogic}/.ssh/known_hosts";
|
||||
owner = userLogic;
|
||||
};
|
||||
# "claude-api-key" = {
|
||||
# path = "/home/${user0}/.config/zed/claude-api-key";
|
||||
# owner = user0;
|
||||
# };
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
let
|
||||
inherit (flake.config.people)
|
||||
user0
|
||||
user1
|
||||
user2
|
||||
;
|
||||
inherit (flake.config.people.users.${userLogic})
|
||||
|
@ -18,6 +19,7 @@ let
|
|||
desktop = devices.desktop.name;
|
||||
server = devices.server.name;
|
||||
fallaryn = devices.fallaryn.name;
|
||||
bartholomew = devices.bartholomew.name;
|
||||
|
||||
userLogic =
|
||||
if hostname == desktop then
|
||||
|
@ -30,7 +32,13 @@ let
|
|||
"";
|
||||
in
|
||||
{
|
||||
users.users.${userLogic} = {
|
||||
openssh.authorizedKeys.keys = sshKeys;
|
||||
};
|
||||
users.users =
|
||||
if hostname == bartholomew then
|
||||
{ }
|
||||
else
|
||||
{
|
||||
${userLogic} = {
|
||||
openssh.authorizedKeys.keys = sshKeys;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue