Compare commits
3 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9a7fa1be4d | ||
|
|
e3689e5b26 | ||
|
|
e77dec2d94 |
241 changed files with 8310 additions and 8126 deletions
196
common/_containers/forgejo.nix
Normal file
196
common/_containers/forgejo.nix
Normal file
|
|
@ -0,0 +1,196 @@
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
name = "forgejo";
|
||||||
|
|
||||||
|
hostDataDir = "/var/lib/${name}";
|
||||||
|
|
||||||
|
hostAddress = "10.0.0.1";
|
||||||
|
containerAddress = "10.0.0.2";
|
||||||
|
hostAddress6 = "fc00::1";
|
||||||
|
containerAddress6 = "fc00::2";
|
||||||
|
|
||||||
|
binds = [
|
||||||
|
# Postgres data, must use postgres user in container and host
|
||||||
|
{
|
||||||
|
host = "${hostDataDir}/postgres";
|
||||||
|
# Adjust based on container postgres data dir
|
||||||
|
container = "/var/lib/postgresql/17";
|
||||||
|
user = "postgres";
|
||||||
|
uid = config.ids.uids.postgres;
|
||||||
|
gid = config.ids.gids.postgres;
|
||||||
|
}
|
||||||
|
# Postgres backups
|
||||||
|
{
|
||||||
|
host = "${hostDataDir}/backups/postgres";
|
||||||
|
container = "/var/backup/postgresql";
|
||||||
|
user = "postgres";
|
||||||
|
uid = config.ids.uids.postgres;
|
||||||
|
gid = config.ids.gids.postgres;
|
||||||
|
}
|
||||||
|
# App data, uses custom user uid
|
||||||
|
{
|
||||||
|
host = "${hostDataDir}/data";
|
||||||
|
container = "/var/lib/forgejo";
|
||||||
|
user = "forgejo";
|
||||||
|
uid = 115;
|
||||||
|
gid = 115;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
uniqueUsers = lib.foldl' (
|
||||||
|
acc: bind: if lib.lists.any (item: item.user == bind.user) acc then acc else acc ++ [ bind ]
|
||||||
|
) [ ] binds;
|
||||||
|
users = {
|
||||||
|
users = lib.listToAttrs (
|
||||||
|
lib.map (u: {
|
||||||
|
name = u.user;
|
||||||
|
value = {
|
||||||
|
isSystemUser = true;
|
||||||
|
name = u.user;
|
||||||
|
uid = u.uid;
|
||||||
|
group = u.user;
|
||||||
|
};
|
||||||
|
}) uniqueUsers
|
||||||
|
);
|
||||||
|
|
||||||
|
groups = lib.listToAttrs (
|
||||||
|
lib.map (g: {
|
||||||
|
name = g.user;
|
||||||
|
value.gid = g.gid;
|
||||||
|
}) uniqueUsers
|
||||||
|
);
|
||||||
|
};
|
||||||
|
in
|
||||||
|
{
|
||||||
|
# Ensure users exists on host machine with same IDs as container
|
||||||
|
inherit users;
|
||||||
|
|
||||||
|
# Ensure directories exist on host machine
|
||||||
|
system.activationScripts.createMediaServerDirs = ''
|
||||||
|
${lib.concatStringsSep "\n" (
|
||||||
|
lib.map (bind: ''
|
||||||
|
mkdir -p ${bind.host}
|
||||||
|
chown -R ${toString bind.user}:${toString bind.gid} ${bind.host}
|
||||||
|
chmod -R 750 ${bind.host}
|
||||||
|
'') binds
|
||||||
|
)}
|
||||||
|
'';
|
||||||
|
|
||||||
|
containers.${name} = {
|
||||||
|
ephemeral = true;
|
||||||
|
autoStart = true;
|
||||||
|
privateNetwork = true;
|
||||||
|
hostAddress = hostAddress;
|
||||||
|
localAddress = containerAddress;
|
||||||
|
hostAddress6 = hostAddress6;
|
||||||
|
localAddress6 = containerAddress6;
|
||||||
|
bindMounts = lib.foldl (
|
||||||
|
acc: bind:
|
||||||
|
{
|
||||||
|
"${bind.container}" = {
|
||||||
|
hostPath = bind.host;
|
||||||
|
isReadOnly = false;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
// acc
|
||||||
|
) { } binds;
|
||||||
|
config =
|
||||||
|
{ config, pkgs, ... }:
|
||||||
|
{
|
||||||
|
system.stateVersion = "24.11";
|
||||||
|
|
||||||
|
networking = {
|
||||||
|
firewall = {
|
||||||
|
enable = true;
|
||||||
|
allowedTCPPorts = [
|
||||||
|
3000
|
||||||
|
3032
|
||||||
|
];
|
||||||
|
};
|
||||||
|
# Use systemd-resolved inside the container
|
||||||
|
# Workaround for bug https://github.com/NixOS/nixpkgs/issues/162686
|
||||||
|
useHostResolvConf = lib.mkForce false;
|
||||||
|
};
|
||||||
|
services.resolved.enable = true;
|
||||||
|
|
||||||
|
# Ensure users exist on container
|
||||||
|
inherit users;
|
||||||
|
|
||||||
|
services.postgresql = {
|
||||||
|
enable = true;
|
||||||
|
package = pkgs.postgresql_17.withJIT;
|
||||||
|
enableJIT = true;
|
||||||
|
authentication = ''
|
||||||
|
local all all trust
|
||||||
|
host all all 127.0.0.1/8 trust
|
||||||
|
host all all ::1/128 trust
|
||||||
|
host all all fc00::1/128 trust
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
|
# Backup database
|
||||||
|
services.postgresqlBackup = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
services.forgejo = {
|
||||||
|
enable = true;
|
||||||
|
dump = {
|
||||||
|
enable = false;
|
||||||
|
type = "tar.gz";
|
||||||
|
};
|
||||||
|
database = {
|
||||||
|
type = "postgres";
|
||||||
|
};
|
||||||
|
settings = {
|
||||||
|
DEFAULT = {
|
||||||
|
APP_NAME = "Josh's Git";
|
||||||
|
};
|
||||||
|
server = {
|
||||||
|
PROTOCOL = "http";
|
||||||
|
DOMAIN = "git.joshuabell.xyz";
|
||||||
|
HTTP_ADDR = "0.0.0.0";
|
||||||
|
HTTP_PORT = 3000;
|
||||||
|
|
||||||
|
START_SSH_SERVER = true;
|
||||||
|
SSH_DOMAIN = "git.joshuabell.xyz";
|
||||||
|
SSH_LISTEN_HOST = "0.0.0.0";
|
||||||
|
SSH_LISTEN_PORT = 3032; # actual listen port
|
||||||
|
SSH_PORT = 3032; # used in UI
|
||||||
|
BUILTIN_SSH_SERVER_USER = "git";
|
||||||
|
|
||||||
|
LANDING_PAGE = "explore";
|
||||||
|
};
|
||||||
|
service = {
|
||||||
|
DISABLE_REGISTRATION = true;
|
||||||
|
ENABLE_BASIC_AUTHENTICATION = false;
|
||||||
|
DISABLE_USERS_PAGE = true;
|
||||||
|
DISABLE_ORGANIZATIONS_PAGE = true;
|
||||||
|
};
|
||||||
|
repository = {
|
||||||
|
# ENABLE_PUSH_CREATE_USER = true;
|
||||||
|
# ENABLE_PUSH_CREATE_ORG = true;
|
||||||
|
DISABLE_STARS = true;
|
||||||
|
DEFAULT_PRIVATE = "private";
|
||||||
|
};
|
||||||
|
admin = {
|
||||||
|
DISABLE_REGULAR_ORG_CREATION = true;
|
||||||
|
USER_DISABLED_FEATURES = "deletion";
|
||||||
|
};
|
||||||
|
other = {
|
||||||
|
SHOW_FOOTER_POWERED_BY = false;
|
||||||
|
SHOW_FOOTER_VERSION = false;
|
||||||
|
SHOW_FOOTER_TEMPLATE_LOAD_TIME = false;
|
||||||
|
};
|
||||||
|
migrations = {
|
||||||
|
ALLOWED_DOMAINS = "*.github.com,github.com";
|
||||||
|
ALLOW_LOCALNETWORKS = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
7
common/_containers/obsidian_sync.md
Normal file
7
common/_containers/obsidian_sync.md
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
docker run \
|
||||||
|
-e hostname=https://obsidiansync.joshuabell.xyz \
|
||||||
|
-e database=obsidian_sync \
|
||||||
|
-e username=obsidian_admin \
|
||||||
|
-e password=$REPLACE \
|
||||||
|
docker.io/oleduc/docker-obsidian-livesync-couchdb:master \
|
||||||
|
deno -A /scripts/generate_setupuri.ts
|
||||||
61
common/_containers/obsidian_sync.nix
Normal file
61
common/_containers/obsidian_sync.nix
Normal file
|
|
@ -0,0 +1,61 @@
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
cfg = config.services.obsidian_sync;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
options.services.obsidian_sync =
|
||||||
|
let
|
||||||
|
lib = pkgs.lib;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
port = lib.mkOption {
|
||||||
|
type = lib.types.port;
|
||||||
|
default = 5984;
|
||||||
|
description = "Port number for Obsidian Sync CouchDB server";
|
||||||
|
};
|
||||||
|
dataDir = lib.mkOption {
|
||||||
|
type = lib.types.path;
|
||||||
|
default = "/var/lib/obsidian_sync";
|
||||||
|
description = "Directory to store Obsidian Sync data";
|
||||||
|
};
|
||||||
|
serverUrl = lib.mkOption {
|
||||||
|
type = lib.types.str;
|
||||||
|
description = "URL of the Obsidian Sync server";
|
||||||
|
};
|
||||||
|
dockerEnvFiles = lib.mkOption {
|
||||||
|
type = lib.types.listOf lib.types.path;
|
||||||
|
default = [ ];
|
||||||
|
description = "List of environment files to be used by the Obsidian Sync container. When provided you must supply chouchdb user/password env files they will not be supplied by default.";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
config = {
|
||||||
|
virtualisation.oci-containers.containers = {
|
||||||
|
#############
|
||||||
|
# obsidian_sync #
|
||||||
|
#############
|
||||||
|
obsidian_sync = {
|
||||||
|
user = "root";
|
||||||
|
image = "docker.io/oleduc/docker-obsidian-livesync-couchdb:master";
|
||||||
|
ports = [
|
||||||
|
"${toString cfg.port}:${toString cfg.port}"
|
||||||
|
];
|
||||||
|
environment = {
|
||||||
|
SERVER_URL = cfg.serverUrl;
|
||||||
|
COUCHDB_DATABASE = "obsidian_sync";
|
||||||
|
COUCHDB_USER = pkgs.lib.mkIf (cfg.dockerEnvFiles == [ ]) "adminu";
|
||||||
|
COUCHDB_PASSWORD = pkgs.lib.mkIf (cfg.dockerEnvFiles == [ ]) "Password123";
|
||||||
|
};
|
||||||
|
environmentFiles = cfg.dockerEnvFiles;
|
||||||
|
volumes = [
|
||||||
|
"${cfg.dataDir}/data:/opt/couchdb/data"
|
||||||
|
"${cfg.dataDir}/config:/opt/couchdb/etc/local.d"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
52
common/_home_manager/default.nix
Normal file
52
common/_home_manager/default.nix
Normal file
|
|
@ -0,0 +1,52 @@
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
hyprland,
|
||||||
|
hyprlandPkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
ccfg = import ../config.nix;
|
||||||
|
cfg_path = [
|
||||||
|
ccfg.custom_config_key
|
||||||
|
"homeManager"
|
||||||
|
];
|
||||||
|
cfg = lib.attrsets.getAttrFromPath cfg_path config;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
options =
|
||||||
|
{ }
|
||||||
|
// lib.attrsets.setAttrByPath cfg_path {
|
||||||
|
users = lib.mkOption {
|
||||||
|
type = lib.types.attrsOf lib.types.attrs;
|
||||||
|
default = { };
|
||||||
|
description = "Home manager users to configure. Should match nix options of home-manager.users.<name>.*";
|
||||||
|
};
|
||||||
|
stateVersion = lib.mkOption {
|
||||||
|
type = lib.types.str;
|
||||||
|
default = "25.05";
|
||||||
|
description = "Home manager state version";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
config = {
|
||||||
|
# Home manager options
|
||||||
|
security.polkit.enable = true;
|
||||||
|
home-manager.useUserPackages = true;
|
||||||
|
home-manager.useGlobalPkgs = true;
|
||||||
|
home-manager.backupFileExtension = "bak";
|
||||||
|
|
||||||
|
home-manager.extraSpecialArgs = {
|
||||||
|
inherit hyprland hyprlandPkgs;
|
||||||
|
};
|
||||||
|
|
||||||
|
home-manager.users = lib.mapAttrs' (name: userConfig: {
|
||||||
|
inherit name;
|
||||||
|
value = userConfig // {
|
||||||
|
home.stateVersion = cfg.stateVersion;
|
||||||
|
programs.home-manager.enable = true;
|
||||||
|
home.username = name;
|
||||||
|
home.homeDirectory = lib.mkForce (if name == "root" then "/root" else "/home/${name}");
|
||||||
|
};
|
||||||
|
}) cfg.users;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -6,7 +6,6 @@
|
||||||
window = {
|
window = {
|
||||||
decorations = "None";
|
decorations = "None";
|
||||||
dynamic_title = false;
|
dynamic_title = false;
|
||||||
opacity = 0.94;
|
|
||||||
};
|
};
|
||||||
colors = {
|
colors = {
|
||||||
primary = {
|
primary = {
|
||||||
|
|
@ -1,18 +1,16 @@
|
||||||
{ ... }:
|
{ ... }:
|
||||||
# TODO setup auto secret/login for sync
|
|
||||||
{
|
{
|
||||||
programs.atuin = {
|
programs.atuin = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableZshIntegration = true; # TODO make dynamic?
|
enableZshIntegration = true;
|
||||||
flags = [ "--disable-up-arrow" ];
|
flags = [ "--disable-up-arrow" ];
|
||||||
settings = {
|
settings = {
|
||||||
workspaces = true;
|
workspaces = true;
|
||||||
exit-mode = "return-query";
|
exit-mode = "return-query";
|
||||||
enter_accept = true;
|
enter_accept = true;
|
||||||
sync_address = "https://atuin.joshuabell.xyz";
|
sync_address = "https://atuin.joshuabell.xyz";
|
||||||
sync = {
|
sync = { records = true; };
|
||||||
records = true;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
61
common/_home_manager/mods/foot.nix
Normal file
61
common/_home_manager/mods/foot.nix
Normal file
|
|
@ -0,0 +1,61 @@
|
||||||
|
{ config, lib, ... }:
|
||||||
|
{
|
||||||
|
options.components.foot = {
|
||||||
|
font_size = lib.mkOption {
|
||||||
|
type = lib.types.float;
|
||||||
|
default = 12.0;
|
||||||
|
description = "Font size for Foot terminal";
|
||||||
|
};
|
||||||
|
alpha = lib.mkOption {
|
||||||
|
type = lib.types.float;
|
||||||
|
default = 0.94;
|
||||||
|
description = "Background opacity for Foot terminal (1.0 = opaque)";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
config = {
|
||||||
|
programs.foot = {
|
||||||
|
enable = true;
|
||||||
|
|
||||||
|
# This renders to ~/.config/foot/foot.ini
|
||||||
|
settings = {
|
||||||
|
main = {
|
||||||
|
# Use the same font and size as your Kitty config
|
||||||
|
font = "JetBrainsMonoNL Nerd Font:size=${toString config.components.kitty.font_size}";
|
||||||
|
|
||||||
|
# Initial window size in character cells (Kitty used 160c x 55c)
|
||||||
|
"initial-window-size-chars" = "160x55";
|
||||||
|
};
|
||||||
|
|
||||||
|
colors = {
|
||||||
|
# Background opacity (1.0 = opaque)
|
||||||
|
alpha = toString config.components.foot.alpha;
|
||||||
|
|
||||||
|
# Foreground/background
|
||||||
|
foreground = "e0e0e0";
|
||||||
|
background = "262626";
|
||||||
|
|
||||||
|
# 16-color palette
|
||||||
|
# normal (0–7)
|
||||||
|
regular0 = "1f1f1f"; # black
|
||||||
|
regular1 = "f38ba8"; # red
|
||||||
|
regular2 = "a6e3a1"; # green
|
||||||
|
regular3 = "f9e2af"; # yellow
|
||||||
|
regular4 = "89b4fa"; # blue
|
||||||
|
regular5 = "cba6f7"; # magenta
|
||||||
|
regular6 = "89dceb"; # cyan
|
||||||
|
regular7 = "e0e0e0"; # white
|
||||||
|
|
||||||
|
# bright (8–15)
|
||||||
|
bright0 = "565656"; # bright black
|
||||||
|
bright1 = "f38ba8"; # bright red
|
||||||
|
bright2 = "a6e3a1"; # bright green
|
||||||
|
bright3 = "f9e2af"; # bright yellow
|
||||||
|
bright4 = "89b4fa"; # bright blue
|
||||||
|
bright5 = "cba6f7"; # bright magenta
|
||||||
|
bright6 = "89dceb"; # bright cyan
|
||||||
|
bright7 = "ffffff"; # bright white
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
userName = "RingOfStorms (Joshua Bell)";
|
userName = "RingOfStorms (Joshua Bell)";
|
||||||
|
|
||||||
extraConfig = {
|
extraConfig = {
|
||||||
core.pager = "bat";
|
core.pager = "cat";
|
||||||
core.editor = "nano";
|
core.editor = "nano";
|
||||||
|
|
||||||
pull.rebase = false;
|
pull.rebase = false;
|
||||||
|
|
@ -55,10 +55,13 @@
|
||||||
|
|
||||||
# direnv things
|
# direnv things
|
||||||
".direnv"
|
".direnv"
|
||||||
".envrc"
|
|
||||||
|
|
||||||
# local only files
|
# local only files
|
||||||
"*.local"
|
"*.local"
|
||||||
|
|
||||||
|
# AI tooling
|
||||||
|
".aider*"
|
||||||
|
"aider"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
65
common/_home_manager/mods/kitty.nix
Normal file
65
common/_home_manager/mods/kitty.nix
Normal file
|
|
@ -0,0 +1,65 @@
|
||||||
|
{ config, lib, ... }:
|
||||||
|
{
|
||||||
|
options.components.kitty = {
|
||||||
|
font_size = lib.mkOption {
|
||||||
|
type = lib.types.float;
|
||||||
|
default = 12.0;
|
||||||
|
description = "Font size for Kitty terminal";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
config = {
|
||||||
|
# Enable Kitty terminal
|
||||||
|
programs.kitty = {
|
||||||
|
enable = true;
|
||||||
|
|
||||||
|
settings = {
|
||||||
|
# Window settings
|
||||||
|
background_opacity = 1.0;
|
||||||
|
os_window_class = "kitty";
|
||||||
|
remember_window_size = false;
|
||||||
|
placement_strategy = "center";
|
||||||
|
initial_window_width = "160c";
|
||||||
|
initial_window_height = "55c";
|
||||||
|
|
||||||
|
# Remove window borders
|
||||||
|
hide_window_decorations = "titlebar-only";
|
||||||
|
tab_title_template = "none";
|
||||||
|
active_tab_title_template = "none";
|
||||||
|
draw_minimal_borders = "yes";
|
||||||
|
window_border_width = "0.1pt";
|
||||||
|
|
||||||
|
# Colors (Catppuccin Coal)
|
||||||
|
foreground = "#e0e0e0";
|
||||||
|
background = "#262626";
|
||||||
|
color0 = "#1f1f1f";
|
||||||
|
color1 = "#f38ba8";
|
||||||
|
color2 = "#a6e3a1";
|
||||||
|
color3 = "#f9e2af";
|
||||||
|
color4 = "#89b4fa";
|
||||||
|
color5 = "#cba6f7";
|
||||||
|
color6 = "#89dceb";
|
||||||
|
color7 = "#e0e0e0";
|
||||||
|
color8 = "#565656";
|
||||||
|
color9 = "#f38ba8";
|
||||||
|
color10 = "#a6e3a1";
|
||||||
|
color11 = "#f9e2af";
|
||||||
|
color12 = "#89b4fa";
|
||||||
|
color13 = "#cba6f7";
|
||||||
|
color14 = "#89dceb";
|
||||||
|
color15 = "#ffffff";
|
||||||
|
|
||||||
|
# Font settings
|
||||||
|
font_family = "JetBrainsMonoNL Nerd Font";
|
||||||
|
font_size = config.components.kitty.font_size;
|
||||||
|
bold_font = "auto";
|
||||||
|
italic_font = "auto";
|
||||||
|
italic_bold_font = "auto";
|
||||||
|
};
|
||||||
|
|
||||||
|
# If you want to include extra configuration this way instead of through the main `settings` attribute
|
||||||
|
extraConfig = ''
|
||||||
|
# You can add additional config here if needed
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -10,7 +10,7 @@
|
||||||
modi = "drun,run,ssh,window,calc";
|
modi = "drun,run,ssh,window,calc";
|
||||||
terminal = "alacritty";
|
terminal = "alacritty";
|
||||||
};
|
};
|
||||||
theme = "Arc-Dark";
|
theme = "glue_pro_blue";
|
||||||
};
|
};
|
||||||
programs.wofi = {
|
programs.wofi = {
|
||||||
enable = true;
|
enable = true;
|
||||||
18
common/_home_manager/mods/nix_deprecations.nix
Normal file
18
common/_home_manager/mods/nix_deprecations.nix
Normal file
|
|
@ -0,0 +1,18 @@
|
||||||
|
{ ... }:
|
||||||
|
{
|
||||||
|
programs.zsh.shellAliases = {
|
||||||
|
# Nix deprecations
|
||||||
|
nix-hash = "echo 'The functionality of nix-hash may be covered by various subcommands or options in the new `nix` command.'";
|
||||||
|
nix-build = "echo 'Use `nix build` instead.'";
|
||||||
|
nix-info = "echo 'Use `nix flake info` or other `nix` subcommands to obtain system and Nix information.'";
|
||||||
|
nix-channel = "echo 'Channels are being phased out in favor of flakes. Use `nix flake` subcommands.'";
|
||||||
|
nix-instantiate = "echo 'Use `nix eval` or `nix-instantiate` with flakes.'";
|
||||||
|
nix-collect-garbage = "echo 'Use `nix store gc` instead.'";
|
||||||
|
nix-prefetch-url = "echo 'Use `nix-prefetch` or fetchers in Nix expressions.'";
|
||||||
|
nix-copy-closure = "echo 'Use `nix copy` instead.'";
|
||||||
|
nix-shell = "echo 'Use `nix shell` instead.'";
|
||||||
|
# nix-daemon # No direct replacement: The Nix daemon is still in use and managed by the system service manager.
|
||||||
|
nix-store = "echo 'Use `nix store` subcommands for store operations.'";
|
||||||
|
nix-env = "echo 'Use `nix profile` instead'";
|
||||||
|
};
|
||||||
|
}
|
||||||
4
common/_home_manager/mods/obs.nix
Normal file
4
common/_home_manager/mods/obs.nix
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
{ ... }:
|
||||||
|
{
|
||||||
|
programs.obs-studio.enable = true;
|
||||||
|
}
|
||||||
|
|
@ -129,11 +129,6 @@ in
|
||||||
user = "luser";
|
user = "luser";
|
||||||
};
|
};
|
||||||
"h003" = lib.mkIf (hasSecret "nix2h003") {
|
"h003" = lib.mkIf (hasSecret "nix2h003") {
|
||||||
identityFile = age.secrets.nix2h003.path;
|
|
||||||
hostname = "10.12.14.1";
|
|
||||||
user = "luser";
|
|
||||||
};
|
|
||||||
"h003_" = lib.mkIf (hasSecret "nix2h003") {
|
|
||||||
identityFile = age.secrets.nix2h003.path;
|
identityFile = age.secrets.nix2h003.path;
|
||||||
user = "luser";
|
user = "luser";
|
||||||
};
|
};
|
||||||
|
|
@ -35,20 +35,11 @@ bind -r right select-pane -R
|
||||||
bind x kill-pane
|
bind x kill-pane
|
||||||
bind -r space resize-pane -Z
|
bind -r space resize-pane -Z
|
||||||
bind S select-layout tiled
|
bind S select-layout tiled
|
||||||
|
|
||||||
bind -r h select-pane -L
|
bind -r h select-pane -L
|
||||||
bind -r j select-pane -D
|
bind -r j select-pane -D
|
||||||
bind -r k select-pane -U
|
bind -r k select-pane -U
|
||||||
bind -r l select-pane -R
|
bind -r l select-pane -R
|
||||||
bind -r C-h swap-pane -t '{left-of}'
|
|
||||||
bind -r C-j swap-pane -D
|
|
||||||
bind -r C-k swap-pane -U
|
|
||||||
bind -r C-l swap-pane -t '{right-of}'
|
|
||||||
|
|
||||||
bind -n C-Left resize-pane -L 5
|
|
||||||
bind -n C-Down resize-pane -D 5
|
|
||||||
bind -n C-Up resize-pane -U 5
|
|
||||||
bind -n C-Right resize-pane -R 5
|
|
||||||
|
|
||||||
# Sessions
|
# Sessions
|
||||||
bind $ command-prompt "rename-session %%"
|
bind $ command-prompt "rename-session %%"
|
||||||
|
|
@ -68,4 +68,9 @@
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
home.shellAliases = {
|
||||||
|
t = "tmux";
|
||||||
|
tat = "tmux attach-session";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
35
common/boot/default.nix
Normal file
35
common/boot/default.nix
Normal file
|
|
@ -0,0 +1,35 @@
|
||||||
|
{ config, lib, ... }:
|
||||||
|
let
|
||||||
|
ccfg = import ../config.nix;
|
||||||
|
cfg = config.${ccfg.custom_config_key}.boot;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
./grub.nix
|
||||||
|
./systemd.nix
|
||||||
|
];
|
||||||
|
config = {
|
||||||
|
assertions = [
|
||||||
|
(
|
||||||
|
let
|
||||||
|
enabledBootloaders = lib.filter (x: x.enabled) [
|
||||||
|
{
|
||||||
|
name = "systemd";
|
||||||
|
enabled = cfg.systemd.enable;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name = "grub";
|
||||||
|
enabled = cfg.grub.enable;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
in
|
||||||
|
{
|
||||||
|
assertion = lib.length enabledBootloaders <= 1;
|
||||||
|
message =
|
||||||
|
"Only one bootloader can be enabled at a time. Enabled: "
|
||||||
|
+ lib.concatStringsSep ", " (map (x: x.name) enabledBootloaders);
|
||||||
|
}
|
||||||
|
)
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
35
common/boot/grub.nix
Normal file
35
common/boot/grub.nix
Normal file
|
|
@ -0,0 +1,35 @@
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
ccfg = import ../config.nix;
|
||||||
|
cfg_path = [
|
||||||
|
ccfg.custom_config_key
|
||||||
|
"boot"
|
||||||
|
"grub"
|
||||||
|
];
|
||||||
|
cfg = lib.attrsets.getAttrFromPath cfg_path config;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
options =
|
||||||
|
{ }
|
||||||
|
// lib.attrsets.setAttrByPath cfg_path {
|
||||||
|
enable = lib.mkEnableOption "Grub bootloader";
|
||||||
|
device = lib.mkOption {
|
||||||
|
type = lib.types.str;
|
||||||
|
default = "/dev/sda";
|
||||||
|
description = ''
|
||||||
|
The device to install GRUB on.
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
config = lib.mkIf cfg.enable {
|
||||||
|
boot.loader.grub = {
|
||||||
|
enable = true;
|
||||||
|
device = cfg.device;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
33
common/boot/systemd.nix
Normal file
33
common/boot/systemd.nix
Normal file
|
|
@ -0,0 +1,33 @@
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
ccfg = import ../config.nix;
|
||||||
|
cfg_path = [
|
||||||
|
ccfg.custom_config_key
|
||||||
|
"boot"
|
||||||
|
"systemd"
|
||||||
|
];
|
||||||
|
cfg = lib.attrsets.getAttrFromPath cfg_path config;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
options =
|
||||||
|
{ }
|
||||||
|
// lib.attrsets.setAttrByPath cfg_path {
|
||||||
|
enable = lib.mkEnableOption "Systemd bootloader";
|
||||||
|
};
|
||||||
|
config = lib.mkIf cfg.enable {
|
||||||
|
boot.loader = {
|
||||||
|
systemd-boot = {
|
||||||
|
enable = true;
|
||||||
|
consoleMode = "keep";
|
||||||
|
};
|
||||||
|
timeout = 5;
|
||||||
|
efi = {
|
||||||
|
canTouchEfiVariables = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
3
common/config.nix
Normal file
3
common/config.nix
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
custom_config_key = "ringofstorms_common";
|
||||||
|
}
|
||||||
57
common/desktop_environment/cosmic/default.nix
Normal file
57
common/desktop_environment/cosmic/default.nix
Normal file
|
|
@ -0,0 +1,57 @@
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
ccfg = import ../../config.nix;
|
||||||
|
cfg_path = [ ccfg.custom_config_key "desktopEnvironment" "cosmic" ];
|
||||||
|
cfg = lib.attrsets.getAttrFromPath cfg_path config;
|
||||||
|
in
|
||||||
|
with lib;
|
||||||
|
{
|
||||||
|
options = {}
|
||||||
|
// lib.attrsets.setAttrByPath cfg_path {
|
||||||
|
enable = lib.mkEnableOption "COSMIC desktop environment (System76)";
|
||||||
|
terminalCommand = mkOption {
|
||||||
|
type = lib.types.str;
|
||||||
|
default = "foot";
|
||||||
|
description = "The terminal command to use.";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
config = lib.mkIf cfg.enable {
|
||||||
|
services.greetd = {
|
||||||
|
enable = true;
|
||||||
|
vt = 2;
|
||||||
|
# settings.default_session = {
|
||||||
|
# command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --remember --remember-session --cmd '${pkgs.dbus}/bin/dbus-run-session ${pkgs.cosmic}/bin/cosmic-session'";
|
||||||
|
# user = "greeter";
|
||||||
|
# };
|
||||||
|
};
|
||||||
|
|
||||||
|
# Caps Lock as Escape for console/tty
|
||||||
|
console.useXkbConfig = true;
|
||||||
|
services.xserver.xkb = {
|
||||||
|
layout = "us";
|
||||||
|
options = "caps:escape";
|
||||||
|
};
|
||||||
|
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
wl-clipboard
|
||||||
|
wofi
|
||||||
|
btop
|
||||||
|
];
|
||||||
|
|
||||||
|
xdg.portal.enable = true;
|
||||||
|
|
||||||
|
environment.sessionVariables = {
|
||||||
|
NIXOS_OZONE_WL = "1";
|
||||||
|
GTK_THEME = "Adwaita:dark";
|
||||||
|
};
|
||||||
|
|
||||||
|
qt = { enable = true; platformTheme = "gtk2"; style = "adwaita-dark"; };
|
||||||
|
hardware.graphics.enable = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
50
common/desktop_environment/default.nix
Normal file
50
common/desktop_environment/default.nix
Normal file
|
|
@ -0,0 +1,50 @@
|
||||||
|
{ config, lib, ... }:
|
||||||
|
let
|
||||||
|
ccfg = import ../config.nix;
|
||||||
|
cfg = config.${ccfg.custom_config_key}.desktopEnvironment;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
./gnome
|
||||||
|
# ./hyprland
|
||||||
|
./sway
|
||||||
|
./cosmic
|
||||||
|
./i3
|
||||||
|
];
|
||||||
|
config = {
|
||||||
|
assertions = [
|
||||||
|
(
|
||||||
|
let
|
||||||
|
enabledDEs = lib.filter (x: x.enabled) [
|
||||||
|
{
|
||||||
|
name = "gnome";
|
||||||
|
enabled = cfg.gnome.enable;
|
||||||
|
}
|
||||||
|
# {
|
||||||
|
# name = "hyprland";
|
||||||
|
# enabled = cfg.hyprland.enable;
|
||||||
|
# }
|
||||||
|
{
|
||||||
|
name = "sway";
|
||||||
|
enabled = cfg.sway.enable;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name = "cosmic";
|
||||||
|
enabled = cfg.cosmic.enable;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name = "i3";
|
||||||
|
enabled = cfg.i3.enable;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
in
|
||||||
|
{
|
||||||
|
assertion = lib.length enabledDEs <= 1;
|
||||||
|
message =
|
||||||
|
"Only one desktop environment can be enabled at a time. Enabled: "
|
||||||
|
+ lib.concatStringsSep ", " (map (x: x.name) enabledDEs);
|
||||||
|
}
|
||||||
|
)
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
BIN
common/desktop_environment/gnome/black.png
Normal file
BIN
common/desktop_environment/gnome/black.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 70 B |
208
common/desktop_environment/gnome/dconf.nix
Normal file
208
common/desktop_environment/gnome/dconf.nix
Normal file
|
|
@ -0,0 +1,208 @@
|
||||||
|
{ cfg }:
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
{
|
||||||
|
config = lib.mkIf cfg.enable {
|
||||||
|
home-manager.sharedModules = [
|
||||||
|
(
|
||||||
|
{ lib, ... }:
|
||||||
|
with lib.hm.gvariant;
|
||||||
|
{
|
||||||
|
# use `dconf dump /` before and after and diff the files for easy editing of dconf below
|
||||||
|
# dconf dump / > /tmp/dconf_dump_start && watch -n0.5 "dconf dump / > /tmp/dconf_dump_current && \diff --color /tmp/dconf_dump_start /tmp/dconf_dump_current -U12"
|
||||||
|
# To get nix specific diff:
|
||||||
|
# \diff -u /tmp/dconf_dump_start /tmp/dconf_dump_current | grep '^+[^+]' | sed 's/^+//' | dconf2nix
|
||||||
|
# OR (Must be logged into user directly, no SU to user will work): `dconf watch /`
|
||||||
|
# OR get the exact converted nixConfig from `dconf dump / | dconf2nix | less` and search with forward slash
|
||||||
|
dconf.settings = {
|
||||||
|
"org/gnome/shell" = {
|
||||||
|
favorite-apps = [ ];
|
||||||
|
enabled-extensions = with pkgs.gnomeExtensions; [
|
||||||
|
vertical-workspaces.extensionUuid
|
||||||
|
compact-top-bar.extensionUuid
|
||||||
|
tray-icons-reloaded.extensionUuid
|
||||||
|
vitals.extensionUuid
|
||||||
|
] ++ lib.optionals cfg.enableRotate [
|
||||||
|
screen-rotate.extensionUuid
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
# Plugin Settings
|
||||||
|
"org/gnome/shell/extensions/vertical-workspaces" = {
|
||||||
|
animation-speed-factor = 42;
|
||||||
|
center-dash-to-ws = false;
|
||||||
|
dash-bg-color = 0;
|
||||||
|
dash-position = 2;
|
||||||
|
dash-position-adjust = 0;
|
||||||
|
hot-corner-action = 0;
|
||||||
|
startup-state = 1;
|
||||||
|
ws-switcher-wraparound = true;
|
||||||
|
};
|
||||||
|
"org/gnome/shell/extensions/compact-top-bar" = {
|
||||||
|
fade-text-on-fullscreen = true;
|
||||||
|
};
|
||||||
|
"org/gnome/shell/extensions/vitals" = {
|
||||||
|
position-in-panel = 1;
|
||||||
|
};
|
||||||
|
|
||||||
|
# Built in settings
|
||||||
|
"org/gnome/desktop/session" = {
|
||||||
|
idle-delay = mkUint32 0;
|
||||||
|
};
|
||||||
|
"org/gnome/desktop/wm/preferences" = {
|
||||||
|
resize-with-right-button = true;
|
||||||
|
button-layout = "maximize:appmenu,close";
|
||||||
|
audible-bell = false;
|
||||||
|
wrap-around = true;
|
||||||
|
};
|
||||||
|
"org/gnome/settings-daemon/plugins/media-keys" = {
|
||||||
|
# Disable the lock screen shortcut
|
||||||
|
screensaver = [ "" ];
|
||||||
|
custom-keybindings = [
|
||||||
|
"/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/"
|
||||||
|
"/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1/"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0" = {
|
||||||
|
binding = "<Super>Return";
|
||||||
|
command = cfg.terminalCommand;
|
||||||
|
name = "Launch terminal";
|
||||||
|
};
|
||||||
|
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1" = {
|
||||||
|
binding = "<Super>Space";
|
||||||
|
command = "wofi";
|
||||||
|
name = "Launcher";
|
||||||
|
};
|
||||||
|
"org/gnome/desktop/wm/keybindings" = {
|
||||||
|
minimize = [ "" ];
|
||||||
|
move-to-workspace-1 = [ "" ];
|
||||||
|
move-to-workspace-2 = [ "" ];
|
||||||
|
move-to-workspace-3 = [ "" ];
|
||||||
|
move-to-workspace-4 = [ "" ];
|
||||||
|
move-to-workspace-last = [ "" ];
|
||||||
|
move-to-workspace-down = [ "<Control><Super>j" ];
|
||||||
|
move-to-workspace-up = [ "<Control><Super>k" ];
|
||||||
|
# move-to-workspace-left = [ "<Control><Super>h" ];
|
||||||
|
# move-to-workspace-right = [ "<Control><Super>l" ];
|
||||||
|
switch-input-source = [ ];
|
||||||
|
switch-input-source-backward = [ ];
|
||||||
|
switch-to-workspace-1 = [ "<Super>1" ];
|
||||||
|
switch-to-workspace-2 = [ "<Super>2" ];
|
||||||
|
switch-to-workspace-3 = [ "<Super>3" ];
|
||||||
|
switch-to-workspace-4 = [ "<Super>4" ];
|
||||||
|
switch-to-workspace-last = [ "" ];
|
||||||
|
switch-to-workspace-down = [ "<Super>j" ];
|
||||||
|
switch-to-workspace-up = [ "<Super>k" ];
|
||||||
|
# switch-to-workspace-left = [ "<Super>k" ];
|
||||||
|
# switch-to-workspace-right = [ "<Super>j" ];
|
||||||
|
# move-to-monitor-down = [ "<Control><Super><Shift>j" ];
|
||||||
|
# move-to-monitor-up = [ "<Control><Super><Shift>k" ];
|
||||||
|
move-to-monitor-left = [ "<Control><Super>h" ];
|
||||||
|
move-to-monitor-right = [ "<Control><Super>l" ];
|
||||||
|
unmaximize = [ "<Super><Shift>j" ];
|
||||||
|
maximize = [ "<Super><Shift>k" ];
|
||||||
|
};
|
||||||
|
"org/gnome/mutter" = {
|
||||||
|
dynamic-workspaces = true;
|
||||||
|
edge-tiling = true;
|
||||||
|
workspaces-only-on-primary = true;
|
||||||
|
center-new-windows = true;
|
||||||
|
};
|
||||||
|
"org/gnome/mutter/keybindings" = {
|
||||||
|
toggle-tiled-right = [ "<Super><Shift>l" ];
|
||||||
|
toggle-tiled-left = [ "<Super><Shift>h" ];
|
||||||
|
};
|
||||||
|
"org/gnome/settings-daemon/plugins/power" = {
|
||||||
|
power-button-action = "nothing";
|
||||||
|
sleep-inactive-ac-type = "nothing";
|
||||||
|
sleep-inactive-battery-type = "nothing";
|
||||||
|
idle-brightness = 15;
|
||||||
|
power-saver-profile-on-low-battery = false;
|
||||||
|
};
|
||||||
|
"org/gnome/desktop/background" = {
|
||||||
|
color-shading-type = "solid";
|
||||||
|
picture-options = "zoom";
|
||||||
|
picture-uri = "file://" + (./black.png);
|
||||||
|
picture-uri-dark = "file://" + (./black.png);
|
||||||
|
primary-color = "#000000000000";
|
||||||
|
secondary-color = "#000000000000";
|
||||||
|
};
|
||||||
|
"org/gnome/desktop/screensaver" = {
|
||||||
|
lock-enabled = false;
|
||||||
|
idle-activation-enabled = false;
|
||||||
|
picture-options = "zoom";
|
||||||
|
picture-uri = "file://" + (./black.png);
|
||||||
|
picture-uri-dark = "file://" + (./black.png);
|
||||||
|
};
|
||||||
|
"org/gnome/desktop/applications/terminal" = {
|
||||||
|
exec = "alacritty";
|
||||||
|
};
|
||||||
|
"org/gnome/settings-daemon/plugins/color" = {
|
||||||
|
night-light-enabled = false;
|
||||||
|
night-light-schedule-automatic = false;
|
||||||
|
};
|
||||||
|
"org/gnome/shell/keybindings" = {
|
||||||
|
shift-overview-down = [ "" ];
|
||||||
|
shift-overview-up = [ "" ];
|
||||||
|
switch-to-application-1 = [ "" ];
|
||||||
|
switch-to-application-2 = [ "" ];
|
||||||
|
switch-to-application-3 = [ "" ];
|
||||||
|
switch-to-application-4 = [ "" ];
|
||||||
|
switch-to-application-5 = [ "" ];
|
||||||
|
switch-to-application-6 = [ "" ];
|
||||||
|
switch-to-application-7 = [ "" ];
|
||||||
|
switch-to-application-8 = [ "" ];
|
||||||
|
switch-to-application-9 = [ "" ];
|
||||||
|
toggle-quick-settings = [ "" ];
|
||||||
|
toggle-application-view = [ "" ];
|
||||||
|
};
|
||||||
|
"org/gtk/gtk4/settings/file-chooser" = {
|
||||||
|
show-hidden = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
"org/gnome/desktop/interface" = {
|
||||||
|
accent-color = "orange";
|
||||||
|
show-battery-percentage = true;
|
||||||
|
clock-show-date = true;
|
||||||
|
clock-show-seconds = true;
|
||||||
|
clock-show-weekday = true;
|
||||||
|
color-scheme = "prefer-dark";
|
||||||
|
cursor-size = 24;
|
||||||
|
enable-animations = true;
|
||||||
|
enable-hot-corners = false;
|
||||||
|
font-antialiasing = "grayscale";
|
||||||
|
font-hinting = "slight";
|
||||||
|
gtk-theme = "Adwaita-dark";
|
||||||
|
# icon-theme = "Yaru-magenta-dark";
|
||||||
|
};
|
||||||
|
|
||||||
|
"org/gnome/desktop/notifications" = {
|
||||||
|
application-children = [ "org-gnome-tweaks" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
"org/gnome/desktop/notifications/application/org-gnome-tweaks" = {
|
||||||
|
application-id = "org.gnome.tweaks.desktop";
|
||||||
|
};
|
||||||
|
|
||||||
|
"org/gnome/desktop/peripherals/mouse" = {
|
||||||
|
natural-scroll = false;
|
||||||
|
};
|
||||||
|
|
||||||
|
"org/gnome/desktop/peripherals/touchpad" = {
|
||||||
|
disable-while-typing = true;
|
||||||
|
two-finger-scrolling-enabled = true;
|
||||||
|
natural-scroll = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
"org/gnome/tweaks" = {
|
||||||
|
show-extensions-notice = false;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
)
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
86
common/desktop_environment/gnome/default.nix
Normal file
86
common/desktop_environment/gnome/default.nix
Normal file
|
|
@ -0,0 +1,86 @@
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
ccfg = import ../../config.nix;
|
||||||
|
cfg_path = [
|
||||||
|
ccfg.custom_config_key
|
||||||
|
"desktopEnvironment"
|
||||||
|
"gnome"
|
||||||
|
];
|
||||||
|
cfg = lib.attrsets.getAttrFromPath cfg_path config;
|
||||||
|
in
|
||||||
|
with lib;
|
||||||
|
{
|
||||||
|
options =
|
||||||
|
{ }
|
||||||
|
// lib.attrsets.setAttrByPath cfg_path {
|
||||||
|
enable = lib.mkEnableOption "gnome desktop environment";
|
||||||
|
terminalCommand = mkOption {
|
||||||
|
type = lib.types.str;
|
||||||
|
default = "kitty";
|
||||||
|
description = "The terminal command to use.";
|
||||||
|
};
|
||||||
|
enableRotate = lib.mkEnableOption "enable screen rotation";
|
||||||
|
};
|
||||||
|
|
||||||
|
imports = [
|
||||||
|
(import ./dconf.nix { inherit cfg; })
|
||||||
|
(import ./wofi.nix { inherit cfg; })
|
||||||
|
];
|
||||||
|
|
||||||
|
config = lib.mkIf cfg.enable {
|
||||||
|
services.xserver = {
|
||||||
|
enable = true;
|
||||||
|
desktopManager.gnome.enable = true;
|
||||||
|
displayManager.gdm = {
|
||||||
|
enable = true;
|
||||||
|
autoSuspend = false;
|
||||||
|
wayland = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
services.gnome.gnome-initial-setup.enable = false;
|
||||||
|
|
||||||
|
environment.gnome.excludePackages = with pkgs; [
|
||||||
|
gnome-backgrounds
|
||||||
|
gnome-video-effects
|
||||||
|
gnome-maps
|
||||||
|
gnome-music
|
||||||
|
gnome-tour
|
||||||
|
gnome-text-editor
|
||||||
|
gnome-user-docs
|
||||||
|
];
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
dconf-editor
|
||||||
|
dconf2nix
|
||||||
|
gnome-tweaks
|
||||||
|
wayland
|
||||||
|
wayland-utils
|
||||||
|
wl-clipboard
|
||||||
|
numix-cursor-theme
|
||||||
|
gnomeExtensions.vertical-workspaces
|
||||||
|
gnomeExtensions.compact-top-bar
|
||||||
|
gnomeExtensions.tray-icons-reloaded
|
||||||
|
gnomeExtensions.vitals
|
||||||
|
] ++ lib.optionals cfg.enableRotate [
|
||||||
|
gnomeExtensions.screen-rotate
|
||||||
|
];
|
||||||
|
environment.sessionVariables = {
|
||||||
|
NIXOS_OZONE_WL = "1";
|
||||||
|
GTK_THEME = "Adwaita:dark";
|
||||||
|
};
|
||||||
|
|
||||||
|
qt = {
|
||||||
|
enable = true;
|
||||||
|
platformTheme = "gnome";
|
||||||
|
style = "adwaita-dark";
|
||||||
|
};
|
||||||
|
|
||||||
|
hardware.graphics = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
51
common/desktop_environment/gnome/wofi.css
Normal file
51
common/desktop_environment/gnome/wofi.css
Normal file
|
|
@ -0,0 +1,51 @@
|
||||||
|
window {
|
||||||
|
margin: 0px;
|
||||||
|
border: 1px solid #171717;
|
||||||
|
background-color: #262626;
|
||||||
|
}
|
||||||
|
|
||||||
|
#input {
|
||||||
|
margin: 5px;
|
||||||
|
border: none;
|
||||||
|
color: #e0e0e0;
|
||||||
|
background-color: #1f1f1f;
|
||||||
|
}
|
||||||
|
|
||||||
|
#inner-box {
|
||||||
|
margin: 5px;
|
||||||
|
border: none;
|
||||||
|
background-color: #171717;
|
||||||
|
}
|
||||||
|
|
||||||
|
#outer-box {
|
||||||
|
margin: 5px;
|
||||||
|
border: none;
|
||||||
|
background-color: #191919;
|
||||||
|
}
|
||||||
|
|
||||||
|
#scroll {
|
||||||
|
margin: 0px;
|
||||||
|
border: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#text {
|
||||||
|
margin: 5px;
|
||||||
|
border: none;
|
||||||
|
color: #e0e0e0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#entry.activatable #text {
|
||||||
|
color: #cccccc;
|
||||||
|
}
|
||||||
|
|
||||||
|
#entry>* {
|
||||||
|
color: #e0e0e0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#entry:selected {
|
||||||
|
background-color: #4f4f4f;
|
||||||
|
}
|
||||||
|
|
||||||
|
#entry:selected #text {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
31
common/desktop_environment/gnome/wofi.nix
Normal file
31
common/desktop_environment/gnome/wofi.nix
Normal file
|
|
@ -0,0 +1,31 @@
|
||||||
|
{ cfg }:
|
||||||
|
{ lib, ... }:
|
||||||
|
{
|
||||||
|
config = lib.mkIf cfg.enable {
|
||||||
|
home-manager.sharedModules = [
|
||||||
|
(
|
||||||
|
{ lib, ... }:
|
||||||
|
{
|
||||||
|
programs.wofi = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
width = "28%";
|
||||||
|
height = "38%";
|
||||||
|
show = "drun";
|
||||||
|
location = "center";
|
||||||
|
gtk_dark = true;
|
||||||
|
valign = "center";
|
||||||
|
key_backward = "Ctrl+k";
|
||||||
|
key_forward = "Ctrl+j";
|
||||||
|
insensitive = true;
|
||||||
|
prompt = "Run";
|
||||||
|
allow_images = true;
|
||||||
|
};
|
||||||
|
style = builtins.readFile ./wofi.css;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
)
|
||||||
|
];
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
151
common/desktop_environment/hyprland/default.nix
Normal file
151
common/desktop_environment/hyprland/default.nix
Normal file
|
|
@ -0,0 +1,151 @@
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
hyprland,
|
||||||
|
hyprlandPkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
ccfg = import ../../config.nix;
|
||||||
|
cfg_path = [
|
||||||
|
ccfg.custom_config_key
|
||||||
|
"desktopEnvironment"
|
||||||
|
"hyprland"
|
||||||
|
];
|
||||||
|
cfg = lib.attrsets.getAttrFromPath cfg_path config;
|
||||||
|
in
|
||||||
|
with lib;
|
||||||
|
{
|
||||||
|
options =
|
||||||
|
{ }
|
||||||
|
// lib.attrsets.setAttrByPath cfg_path {
|
||||||
|
enable = lib.mkEnableOption "hyprland desktop environment";
|
||||||
|
terminalCommand = mkOption {
|
||||||
|
type = lib.types.str;
|
||||||
|
default = "foot";
|
||||||
|
description = "The terminal command to use.";
|
||||||
|
};
|
||||||
|
extraOptions = mkOption {
|
||||||
|
type = lib.types.attrs;
|
||||||
|
default = { };
|
||||||
|
description = "Extra options for Hyprland configuration.";
|
||||||
|
};
|
||||||
|
swaync = {
|
||||||
|
enable = lib.mkEnableOption "Enable Swaync (notification center for Hyprland)";
|
||||||
|
};
|
||||||
|
waybar = {
|
||||||
|
enable = lib.mkEnableOption "Enable Waybar (status bar for Hyprland)";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
config = lib.mkIf cfg.enable {
|
||||||
|
# Enable for all users
|
||||||
|
home-manager = {
|
||||||
|
sharedModules = [
|
||||||
|
hyprland.homeManagerModules.default
|
||||||
|
./home_manager
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
services.greetd = {
|
||||||
|
enable = true;
|
||||||
|
vt = 2;
|
||||||
|
settings = {
|
||||||
|
default_session = {
|
||||||
|
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --remember --remember-session --cmd '${pkgs.dbus}/bin/dbus-run-session ${hyprlandPkgs.hyprland}/bin/Hyprland'";
|
||||||
|
user = "greeter";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
# Caps Lock as Escape for console/tty
|
||||||
|
console.useXkbConfig = true;
|
||||||
|
services.xserver.xkb = {
|
||||||
|
layout = "us";
|
||||||
|
options = "caps:escape";
|
||||||
|
};
|
||||||
|
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
wl-clipboard
|
||||||
|
wl-clip-persist
|
||||||
|
wofi # application launcher
|
||||||
|
nemo # file manager (x11)
|
||||||
|
# nautilus # file manager
|
||||||
|
feh # image viewer (x11)
|
||||||
|
# imv # image viewer
|
||||||
|
networkmanager # network management
|
||||||
|
upower # power management
|
||||||
|
brightnessctl # screen/keyboard brightness control
|
||||||
|
wireplumber # media session manager
|
||||||
|
libgtop # system monitor library
|
||||||
|
bluez # Bluetooth support
|
||||||
|
power-profiles-daemon # power profiles
|
||||||
|
grim
|
||||||
|
slurp
|
||||||
|
hyprpicker
|
||||||
|
grimblast # screenshot tool
|
||||||
|
wf-recorder # screen recording tool
|
||||||
|
btop # system monitor
|
||||||
|
];
|
||||||
|
|
||||||
|
services.blueman.enable = config.hardware.bluetooth.enable;
|
||||||
|
|
||||||
|
programs.hyprland = {
|
||||||
|
enable = true;
|
||||||
|
# xwayland.enable = false;
|
||||||
|
withUWSM = true;
|
||||||
|
|
||||||
|
# set the flake package
|
||||||
|
package = hyprlandPkgs.hyprland;
|
||||||
|
# make sure to also set the portal package, so that they are in sync
|
||||||
|
# This is set below now in xdf portal directly so we can also add things like gtk
|
||||||
|
# portalPackage = hyprlandPkgs.xdg-desktop-portal-hyprland;
|
||||||
|
};
|
||||||
|
|
||||||
|
xdg.portal = {
|
||||||
|
enable = true;
|
||||||
|
extraPortals = lib.mkForce [
|
||||||
|
hyprlandPkgs.xdg-desktop-portal-hyprland
|
||||||
|
hyprlandPkgs.xdg-desktop-portal-gtk
|
||||||
|
];
|
||||||
|
config.common.default = [
|
||||||
|
"hyprland"
|
||||||
|
"gtk"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
hardware.graphics = {
|
||||||
|
enable = true;
|
||||||
|
package = hyprlandPkgs.mesa;
|
||||||
|
# if you also want 32-bit support (e.g for Steam)
|
||||||
|
# enable32Bit = true;
|
||||||
|
package32 = hyprlandPkgs.pkgsi686Linux.mesa;
|
||||||
|
};
|
||||||
|
|
||||||
|
# Environment variables
|
||||||
|
environment.sessionVariables = {
|
||||||
|
GTK_THEME = "Adwaita:dark";
|
||||||
|
XDG_SESSION_TYPE = "wayland";
|
||||||
|
XDG_CURRENT_DESKTOP = "Hyprland";
|
||||||
|
XDG_SESSION_DESKTOP = "Hyprland";
|
||||||
|
WLR_RENDERER = "auto";
|
||||||
|
|
||||||
|
# Tell apps to run native wayland
|
||||||
|
NIXOS_OZONE_WL = "1";
|
||||||
|
ELECTRON_OZONE_PLATFORM_HINT = "wayland";
|
||||||
|
GDK_BACKEND = "wayland,x11"; # GTK
|
||||||
|
QT_QPA_PLATFORM = "wayland;xcb"; # Qt 5/6
|
||||||
|
MOZ_ENABLE_WAYLAND = "1"; # Firefox
|
||||||
|
SDL_VIDEODRIVER = "wayland"; # SDL apps/games
|
||||||
|
CLUTTER_BACKEND = "wayland"; # You already have this
|
||||||
|
};
|
||||||
|
|
||||||
|
# Qt theming
|
||||||
|
qt = {
|
||||||
|
enable = true;
|
||||||
|
platformTheme = "gtk2";
|
||||||
|
style = "adwaita-dark";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -3,7 +3,6 @@
|
||||||
imports = [
|
imports = [
|
||||||
./theme.nix
|
./theme.nix
|
||||||
./hyprland.nix
|
./hyprland.nix
|
||||||
./hyprpaper.nix
|
|
||||||
# ./quickshell.nix
|
# ./quickshell.nix
|
||||||
./waybar.nix
|
./waybar.nix
|
||||||
./hyprpolkitagent.nix
|
./hyprpolkitagent.nix
|
||||||
|
|
@ -4,6 +4,15 @@
|
||||||
hyprlandPkgs,
|
hyprlandPkgs,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
|
let
|
||||||
|
ccfg = import ../../../config.nix;
|
||||||
|
cfg_path = [
|
||||||
|
ccfg.custom_config_key
|
||||||
|
"desktopEnvironment"
|
||||||
|
"hyprland"
|
||||||
|
];
|
||||||
|
cfg = lib.attrsets.getAttrFromPath cfg_path osConfig;
|
||||||
|
in
|
||||||
{
|
{
|
||||||
wayland.windowManager.hyprland = {
|
wayland.windowManager.hyprland = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
@ -12,12 +21,12 @@
|
||||||
# hyprspace
|
# hyprspace
|
||||||
# ];
|
# ];
|
||||||
|
|
||||||
settings = {
|
settings = lib.attrsets.recursiveUpdate {
|
||||||
# Debug logs enabled when this is uncommented
|
# Debug logs enabled when this is uncommented
|
||||||
debug.disable_logs = false;
|
debug.disable_logs = false;
|
||||||
debug.disable_time = false;
|
debug.disable_time = false;
|
||||||
|
|
||||||
# exec-once = [ "pgrep waybar>/dev/null || waybar" ];
|
exec-once = [ "pgrep waybar>/dev/null || waybar" ];
|
||||||
|
|
||||||
# Default monitor configuration
|
# Default monitor configuration
|
||||||
monitor = "monitor = , preferred, auto, 1";
|
monitor = "monitor = , preferred, auto, 1";
|
||||||
|
|
@ -80,13 +89,12 @@
|
||||||
|
|
||||||
bind = [
|
bind = [
|
||||||
# Applications
|
# Applications
|
||||||
"$mainMod, Return, exec, foot"
|
"$mainMod, Return, exec, ${cfg.terminalCommand}"
|
||||||
"$mainMod, Space, exec, pkill wofi || wofi --show drun"
|
"$mainMod, Space, exec, pkill wofi || wofi --show drun"
|
||||||
"$mainMod, q, killactive"
|
"$mainMod, q, killactive"
|
||||||
"$mainMod SHIFT, escape, exit"
|
"$mainMod SHIFT, escape, exit"
|
||||||
"$mainMod SHIFT, q, exec, swaylock"
|
"$mainMod SHIFT, q, exec, swaylock"
|
||||||
"$mainMod, f, togglefloating"
|
"$mainMod, f, togglefloating"
|
||||||
"$mainMod SHIFT, F, fullscreen"
|
|
||||||
"$mainMod, g, pseudo"
|
"$mainMod, g, pseudo"
|
||||||
"$mainMod, t, togglesplit"
|
"$mainMod, t, togglesplit"
|
||||||
|
|
||||||
|
|
@ -162,6 +170,6 @@
|
||||||
"$mainMod, mouse:273, resizewindow"
|
"$mainMod, mouse:273, resizewindow"
|
||||||
];
|
];
|
||||||
|
|
||||||
};
|
} cfg.extraOptions;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
@ -1,8 +1,19 @@
|
||||||
{
|
{
|
||||||
|
osConfig,
|
||||||
|
lib,
|
||||||
pkgs,
|
pkgs,
|
||||||
upkgs,
|
upkgs,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
|
let
|
||||||
|
ccfg = import ../../../config.nix;
|
||||||
|
cfg_path = [
|
||||||
|
ccfg.custom_config_key
|
||||||
|
"desktopEnvironment"
|
||||||
|
"hyprland"
|
||||||
|
];
|
||||||
|
cfg = lib.attrsets.getAttrFromPath cfg_path osConfig;
|
||||||
|
in
|
||||||
{
|
{
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
upkgs.quickshell
|
upkgs.quickshell
|
||||||
251
common/desktop_environment/hyprland/home_manager/swaync.nix
Normal file
251
common/desktop_environment/hyprland/home_manager/swaync.nix
Normal file
|
|
@ -0,0 +1,251 @@
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
osConfig,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
ccfg = import ../../../config.nix;
|
||||||
|
cfg_path = [
|
||||||
|
ccfg.custom_config_key
|
||||||
|
"desktopEnvironment"
|
||||||
|
"hyprland"
|
||||||
|
"swaync"
|
||||||
|
];
|
||||||
|
cfg = lib.attrsets.getAttrFromPath cfg_path osConfig;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
config = lib.mkIf cfg.enable {
|
||||||
|
services.swaync = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
ignore = [
|
||||||
|
"com.spotify.Client"
|
||||||
|
];
|
||||||
|
|
||||||
|
positionX = "right";
|
||||||
|
positionY = "top";
|
||||||
|
layer = "overlay";
|
||||||
|
control-center-layer = "top";
|
||||||
|
layer-shell = true;
|
||||||
|
cssPriority = "application";
|
||||||
|
|
||||||
|
control-center-margin-top = 0;
|
||||||
|
control-center-margin-bottom = 0;
|
||||||
|
control-center-margin-right = 0;
|
||||||
|
control-center-margin-left = 0;
|
||||||
|
|
||||||
|
notification-2fa-action = true;
|
||||||
|
notification-inline-replies = false;
|
||||||
|
notification-icon-size = 64;
|
||||||
|
notification-body-image-height = 100;
|
||||||
|
notification-body-image-width = 200;
|
||||||
|
|
||||||
|
timeout = 10;
|
||||||
|
timeout-low = 5;
|
||||||
|
timeout-critical = 0;
|
||||||
|
|
||||||
|
control-center-width = 500;
|
||||||
|
control-center-height = 600;
|
||||||
|
notification-window-width = 500;
|
||||||
|
|
||||||
|
keyboard-shortcuts = true;
|
||||||
|
image-visibility = "when-available";
|
||||||
|
transition-time = 200;
|
||||||
|
hide-on-clear = false;
|
||||||
|
hide-on-action = true;
|
||||||
|
script-fail-notify = true;
|
||||||
|
|
||||||
|
widgets = [
|
||||||
|
"inhibitors"
|
||||||
|
"title"
|
||||||
|
"dnd"
|
||||||
|
"volume"
|
||||||
|
"backlight"
|
||||||
|
"mpris"
|
||||||
|
"buttons-grid#quick"
|
||||||
|
"notifications"
|
||||||
|
];
|
||||||
|
|
||||||
|
# Widget configurations
|
||||||
|
widget-config = {
|
||||||
|
inhibitors = {
|
||||||
|
text = "Inhibitors";
|
||||||
|
button-text = "Clear All";
|
||||||
|
clear-all-button = true;
|
||||||
|
};
|
||||||
|
title = {
|
||||||
|
text = "Notifications";
|
||||||
|
clear-all-button = true;
|
||||||
|
button-text = "Clear All";
|
||||||
|
};
|
||||||
|
dnd.text = "Do Not Disturb";
|
||||||
|
mpris = {
|
||||||
|
image-size = 96;
|
||||||
|
image-radius = 12;
|
||||||
|
};
|
||||||
|
volume = {
|
||||||
|
label = "";
|
||||||
|
show-per-app = true;
|
||||||
|
};
|
||||||
|
backlight = {
|
||||||
|
label = "";
|
||||||
|
device = "intel_backlight";
|
||||||
|
};
|
||||||
|
"buttons-grid#quick" = {
|
||||||
|
columns = 4; # adjust: 3/4/5
|
||||||
|
icon-size = 20; # tweak to taste
|
||||||
|
actions = [
|
||||||
|
# Power
|
||||||
|
{
|
||||||
|
label = "";
|
||||||
|
tooltip = "Shutdown";
|
||||||
|
command = "confirm-action 'systemctl poweroff' 'Shutdown?'";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
label = "";
|
||||||
|
tooltip = "Reboot";
|
||||||
|
command = "confirm-action 'systemctl reboot' 'Reboot?'";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
label = "";
|
||||||
|
tooltip = "Logout";
|
||||||
|
command = "confirm-action 'hyprctl dispatch exit' 'Logout?'";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
# Custom CSS for the control center
|
||||||
|
style = ''
|
||||||
|
.control-center {
|
||||||
|
background: #1a1b26;
|
||||||
|
border: 2px solid #7dcae4;
|
||||||
|
border-radius: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.control-center-list {
|
||||||
|
background: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
.control-center .notification-row:focus,
|
||||||
|
.control-center .notification-row:hover {
|
||||||
|
opacity: 1;
|
||||||
|
background: #24283b;
|
||||||
|
}
|
||||||
|
|
||||||
|
.notification {
|
||||||
|
border-radius: 8px;
|
||||||
|
margin: 6px 12px;
|
||||||
|
box-shadow: 0 0 0 1px rgba(125, 196, 228, 0.3), 0 1px 3px 1px rgba(0, 0, 0, 0.7), 0 2px 6px 2px rgba(0, 0, 0, 0.3);
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Widget styling */
|
||||||
|
.widget-title {
|
||||||
|
margin: 8px;
|
||||||
|
font-size: 1.5rem;
|
||||||
|
color: #c0caf5;
|
||||||
|
}
|
||||||
|
|
||||||
|
.widget-dnd {
|
||||||
|
margin: 8px;
|
||||||
|
font-size: 1.1rem;
|
||||||
|
color: #c0caf5;
|
||||||
|
}
|
||||||
|
|
||||||
|
.widget-dnd > switch {
|
||||||
|
font-size: initial;
|
||||||
|
border-radius: 8px;
|
||||||
|
background: #414868;
|
||||||
|
border: 1px solid #7dcae4;
|
||||||
|
}
|
||||||
|
|
||||||
|
.widget-dnd > switch:checked {
|
||||||
|
background: #7dcae4;
|
||||||
|
}
|
||||||
|
|
||||||
|
.widget-mpris {
|
||||||
|
color: #c0caf5;
|
||||||
|
background: #24283b;
|
||||||
|
padding: 8px;
|
||||||
|
margin: 8px;
|
||||||
|
border-radius: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.widget-mpris-player {
|
||||||
|
padding: 8px;
|
||||||
|
margin: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.widget-mpris-title {
|
||||||
|
font-weight: bold;
|
||||||
|
font-size: 1.25rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.widget-mpris-subtitle {
|
||||||
|
font-size: 1.1rem;
|
||||||
|
color: #9ece6a;
|
||||||
|
}
|
||||||
|
|
||||||
|
.widget-volume {
|
||||||
|
background: #24283b;
|
||||||
|
padding: 8px;
|
||||||
|
margin: 8px;
|
||||||
|
border-radius: 8px;
|
||||||
|
color: #c0caf5;
|
||||||
|
}
|
||||||
|
|
||||||
|
.widget-backlight {
|
||||||
|
background: #24283b;
|
||||||
|
padding: 8px;
|
||||||
|
margin: 8px;
|
||||||
|
border-radius: 8px;
|
||||||
|
color: #c0caf5;
|
||||||
|
}
|
||||||
|
|
||||||
|
.widget-menubar {
|
||||||
|
background: #24283b;
|
||||||
|
padding: 8px;
|
||||||
|
margin: 8px;
|
||||||
|
border-radius: 8px;
|
||||||
|
color: #c0caf5;
|
||||||
|
}
|
||||||
|
|
||||||
|
.widget-menubar .menu-item button {
|
||||||
|
background: #1f2335;
|
||||||
|
color: #c0caf5;
|
||||||
|
border-radius: 8px;
|
||||||
|
padding: 6px 10px;
|
||||||
|
margin: 4px;
|
||||||
|
border: 1px solid #2e3440;
|
||||||
|
font-family: "JetBrainsMonoNL Nerd Font";
|
||||||
|
}
|
||||||
|
|
||||||
|
.widget-menubar .menu-item button:hover {
|
||||||
|
background: #414868;
|
||||||
|
border-color: #7dcae4;
|
||||||
|
}
|
||||||
|
|
||||||
|
.topbar-buttons button {
|
||||||
|
border: none;
|
||||||
|
background: transparent;
|
||||||
|
color: #c0caf5;
|
||||||
|
font-size: 1.1rem;
|
||||||
|
border-radius: 8px;
|
||||||
|
margin: 0 4px;
|
||||||
|
padding: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.topbar-buttons button:hover {
|
||||||
|
background: #414868;
|
||||||
|
}
|
||||||
|
|
||||||
|
.topbar-buttons button:active {
|
||||||
|
background: #7dcae4;
|
||||||
|
color: #1a1b26;
|
||||||
|
}
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,18 @@
|
||||||
|
{
|
||||||
|
osConfig,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
ccfg = import ../../../config.nix;
|
||||||
|
cfg_path = [
|
||||||
|
ccfg.custom_config_key
|
||||||
|
"desktopEnvironment"
|
||||||
|
"hyprland"
|
||||||
|
];
|
||||||
|
cfg = lib.attrsets.getAttrFromPath cfg_path osConfig;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
267
common/desktop_environment/hyprland/home_manager/waybar.nix
Normal file
267
common/desktop_environment/hyprland/home_manager/waybar.nix
Normal file
|
|
@ -0,0 +1,267 @@
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
osConfig,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
ccfg = import ../../../config.nix;
|
||||||
|
cfg_path = [
|
||||||
|
ccfg.custom_config_key
|
||||||
|
"desktopEnvironment"
|
||||||
|
"hyprland"
|
||||||
|
"waybar"
|
||||||
|
];
|
||||||
|
cfg = lib.attrsets.getAttrFromPath cfg_path osConfig;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
config = lib.mkIf cfg.enable {
|
||||||
|
programs.waybar = {
|
||||||
|
enable = true;
|
||||||
|
systemd.enable = true;
|
||||||
|
settings = {
|
||||||
|
mainBar = {
|
||||||
|
layer = "top";
|
||||||
|
position = "top";
|
||||||
|
height = 30;
|
||||||
|
spacing = 6;
|
||||||
|
margin-top = 0;
|
||||||
|
margin-bottom = 0;
|
||||||
|
margin-left = 10;
|
||||||
|
margin-right = 10;
|
||||||
|
|
||||||
|
modules-left = [
|
||||||
|
"hyprland/workspaces"
|
||||||
|
];
|
||||||
|
|
||||||
|
modules-center = [
|
||||||
|
"clock"
|
||||||
|
"temperature"
|
||||||
|
"cpu"
|
||||||
|
"memory"
|
||||||
|
"disk"
|
||||||
|
];
|
||||||
|
|
||||||
|
modules-right = [
|
||||||
|
"pulseaudio"
|
||||||
|
"network"
|
||||||
|
"bluetooth"
|
||||||
|
"custom/notifications"
|
||||||
|
"hyprland/language"
|
||||||
|
];
|
||||||
|
|
||||||
|
# Workspaces configuration
|
||||||
|
"hyprland/workspaces" = {
|
||||||
|
format = "{icon}";
|
||||||
|
format-icons = {
|
||||||
|
"1" = "一";
|
||||||
|
"2" = "二";
|
||||||
|
"3" = "三";
|
||||||
|
"4" = "四";
|
||||||
|
"5" = "五";
|
||||||
|
"6" = "六";
|
||||||
|
"7" = "七";
|
||||||
|
"8" = "八";
|
||||||
|
"9" = "九";
|
||||||
|
"10" = "十";
|
||||||
|
"11" = "十一";
|
||||||
|
"12" = "十二";
|
||||||
|
"13" = "十三";
|
||||||
|
"14" = "十四";
|
||||||
|
"15" = "十五";
|
||||||
|
"16" = "十六";
|
||||||
|
"17" = "十七";
|
||||||
|
"18" = "十八";
|
||||||
|
"19" = "十九";
|
||||||
|
"20" = "二十";
|
||||||
|
};
|
||||||
|
show-special = false;
|
||||||
|
};
|
||||||
|
|
||||||
|
pulseaudio = {
|
||||||
|
format = "{icon} {volume}%";
|
||||||
|
format-bluetooth = " {volume}%";
|
||||||
|
format-bluetooth-muted = " ";
|
||||||
|
format-muted = " ";
|
||||||
|
format-source = " {volume}%";
|
||||||
|
format-source-muted = " ";
|
||||||
|
format-icons = {
|
||||||
|
headphone = "";
|
||||||
|
hands-free = "";
|
||||||
|
headset = "";
|
||||||
|
phone = "";
|
||||||
|
portable = "";
|
||||||
|
car = "";
|
||||||
|
default = [
|
||||||
|
""
|
||||||
|
""
|
||||||
|
""
|
||||||
|
];
|
||||||
|
};
|
||||||
|
scroll-step = 5;
|
||||||
|
on-click = "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle";
|
||||||
|
on-click-right = "swaync-client -t -sw";
|
||||||
|
};
|
||||||
|
|
||||||
|
"custom/notifications" = {
|
||||||
|
format = "{icon} {}";
|
||||||
|
format-icons = {
|
||||||
|
notification = "";
|
||||||
|
none = "";
|
||||||
|
dnd-notification = "";
|
||||||
|
dnd-none = "";
|
||||||
|
inhibited-notification = "";
|
||||||
|
inhibited-none = "";
|
||||||
|
dnd-inhibited-notification = "";
|
||||||
|
dnd-inhibited-none = "";
|
||||||
|
};
|
||||||
|
return-type = "json";
|
||||||
|
exec-if = "which swaync-client";
|
||||||
|
exec = "swaync-client -swb";
|
||||||
|
on-click = "swaync-client -t -sw";
|
||||||
|
on-click-right = "swaync-client -d -sw";
|
||||||
|
escape = true;
|
||||||
|
tooltip = false;
|
||||||
|
};
|
||||||
|
|
||||||
|
# Clock
|
||||||
|
clock = {
|
||||||
|
format = "{:%b %d, %H:%M}";
|
||||||
|
};
|
||||||
|
|
||||||
|
temperature = {
|
||||||
|
thermal-zone = 2;
|
||||||
|
hwmon-path = "/sys/class/hwmon/hwmon2/temp1_input";
|
||||||
|
critical-threshold = 80;
|
||||||
|
format-critical = " {temperatureC}°C";
|
||||||
|
format = " {temperatureC}°C";
|
||||||
|
};
|
||||||
|
|
||||||
|
cpu = {
|
||||||
|
format = " {usage}%";
|
||||||
|
tooltip = false;
|
||||||
|
on-click = "btop";
|
||||||
|
};
|
||||||
|
|
||||||
|
memory = {
|
||||||
|
format = " {}%";
|
||||||
|
on-click = "btop";
|
||||||
|
};
|
||||||
|
|
||||||
|
disk = {
|
||||||
|
interval = 30;
|
||||||
|
format = " {percentage_used}%";
|
||||||
|
path = "/";
|
||||||
|
on-click = "btop";
|
||||||
|
};
|
||||||
|
|
||||||
|
network = {
|
||||||
|
format-wifi = " {essid} ({signalStrength}%)";
|
||||||
|
format-ethernet = " {ipaddr}/{cidr}";
|
||||||
|
tooltip-format = "{ifname} via {gwaddr} ";
|
||||||
|
format-linked = " {ifname} (No IP)";
|
||||||
|
format-disconnected = " Disconnected";
|
||||||
|
on-click = "wofi-wifi-menu";
|
||||||
|
on-click-right = "nmcli radio wifi toggle";
|
||||||
|
};
|
||||||
|
|
||||||
|
bluetooth = {
|
||||||
|
format = " {status}";
|
||||||
|
format-connected = " {device_alias}";
|
||||||
|
format-connected-battery = " {device_alias} {device_battery_percentage}%";
|
||||||
|
tooltip-format = "{controller_alias}\t{controller_address}\n\n{num_connections} connected";
|
||||||
|
tooltip-format-connected = "{controller_alias}\t{controller_address}\n\n{num_connections} connected\n\n{device_enumerate}";
|
||||||
|
tooltip-format-enumerate-connected = "{device_alias}\t{device_address}";
|
||||||
|
tooltip-format-enumerate-connected-battery = "{device_alias}\t{device_address}\t{device_battery_percentage}%";
|
||||||
|
on-click = "wofi-bluetooth-menu";
|
||||||
|
on-click-right = "bluetoothctl power toggle";
|
||||||
|
};
|
||||||
|
|
||||||
|
# Keyboard input (language)
|
||||||
|
"hyprland/language" = {
|
||||||
|
format = "{}";
|
||||||
|
format-en = "EN";
|
||||||
|
format-ja = "JP";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
style = ''
|
||||||
|
* {
|
||||||
|
font-family: "JetBrainsMonoNL Nerd Font";
|
||||||
|
font-size: 12px;
|
||||||
|
border: none;
|
||||||
|
border-radius: 0;
|
||||||
|
min-height: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
window#waybar {
|
||||||
|
background: transparent;
|
||||||
|
border-radius: 10px;
|
||||||
|
margin: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.modules-left,
|
||||||
|
.modules-center,
|
||||||
|
.modules-right {
|
||||||
|
background: rgba(26, 27, 38, 0.8);
|
||||||
|
border-radius: 10px;
|
||||||
|
margin: 4px;
|
||||||
|
padding: 0 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces {
|
||||||
|
padding: 0 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces button {
|
||||||
|
padding: 0 8px;
|
||||||
|
background: transparent;
|
||||||
|
color: #c0caf5;
|
||||||
|
border-radius: 5px;
|
||||||
|
margin: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces button:hover {
|
||||||
|
background: rgba(125, 196, 228, 0.2);
|
||||||
|
color: #7dcae4;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces button.active {
|
||||||
|
background: #7dcae4;
|
||||||
|
color: #1a1b26;
|
||||||
|
}
|
||||||
|
|
||||||
|
#pulseaudio,
|
||||||
|
#custom-notifications,
|
||||||
|
#clock,
|
||||||
|
#temperature,
|
||||||
|
#cpu,
|
||||||
|
#memory,
|
||||||
|
#disk,
|
||||||
|
#network,
|
||||||
|
#bluetooth,
|
||||||
|
#language {
|
||||||
|
padding: 0 8px;
|
||||||
|
color: #c0caf5;
|
||||||
|
margin: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#temperature.critical {
|
||||||
|
color: #f7768e;
|
||||||
|
}
|
||||||
|
|
||||||
|
#network.disconnected {
|
||||||
|
color: #f7768e;
|
||||||
|
}
|
||||||
|
|
||||||
|
#bluetooth.disabled {
|
||||||
|
color: #565f89;
|
||||||
|
}
|
||||||
|
|
||||||
|
#pulseaudio.muted {
|
||||||
|
color: #565f89;
|
||||||
|
}
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
97
common/desktop_environment/i3/default.nix
Normal file
97
common/desktop_environment/i3/default.nix
Normal file
|
|
@ -0,0 +1,97 @@
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
ccfg = import ../../config.nix;
|
||||||
|
cfg_path = [
|
||||||
|
ccfg.custom_config_key
|
||||||
|
"desktopEnvironment"
|
||||||
|
"i3"
|
||||||
|
];
|
||||||
|
cfg = lib.attrsets.getAttrFromPath cfg_path config;
|
||||||
|
in
|
||||||
|
with lib;
|
||||||
|
{
|
||||||
|
options =
|
||||||
|
{ }
|
||||||
|
// lib.attrsets.setAttrByPath cfg_path {
|
||||||
|
enable = lib.mkEnableOption "i3 window manager";
|
||||||
|
terminalCommand = mkOption {
|
||||||
|
type = lib.types.str;
|
||||||
|
default = "kitty";
|
||||||
|
description = "The terminal command to use.";
|
||||||
|
};
|
||||||
|
extraOptions = mkOption {
|
||||||
|
type = lib.types.attrs;
|
||||||
|
default = { };
|
||||||
|
description = "Extra options for i3 home manager configuration.";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
config = lib.mkIf cfg.enable {
|
||||||
|
# Enable for all users
|
||||||
|
home-manager = {
|
||||||
|
sharedModules = [
|
||||||
|
./home_manager
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
services.greetd = {
|
||||||
|
enable = true;
|
||||||
|
vt = 2;
|
||||||
|
settings = {
|
||||||
|
default_session = {
|
||||||
|
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --remember --remember-session --cmd '${pkgs.dbus}/bin/dbus-run-session ${pkgs.xorg.xinit}/bin/xinit ${pkgs.i3}/bin/i3'}";
|
||||||
|
user = "greeter";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
# Caps Lock as Escape for console/tty
|
||||||
|
console.useXkbConfig = true;
|
||||||
|
services.xserver.xkb = {
|
||||||
|
layout = "us";
|
||||||
|
options = "caps:escape";
|
||||||
|
};
|
||||||
|
|
||||||
|
# flatpaks need this TODO remove flatpaks?
|
||||||
|
xdg.portal = {
|
||||||
|
enable = true;
|
||||||
|
extraPortals = lib.mkForce [
|
||||||
|
pkgs.xdg-desktop-portal-gtk
|
||||||
|
];
|
||||||
|
config.common.default = [
|
||||||
|
"gtk"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
services.xserver = {
|
||||||
|
enable = true;
|
||||||
|
|
||||||
|
# desktopManager = {
|
||||||
|
# xterm.enable = false;
|
||||||
|
# };
|
||||||
|
|
||||||
|
windowManager.i3 = {
|
||||||
|
enable = true;
|
||||||
|
extraPackages = with pkgs; [
|
||||||
|
# dmenu # application launcher most people use
|
||||||
|
# i3status # gives you the default i3 status bar
|
||||||
|
# i3blocks # if you are planning on using i3blocks over i3status
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
services.displayManager.defaultSession = "none+i3";
|
||||||
|
# programs.i3lock.enable = true; # default i3 screen locker
|
||||||
|
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
xorg.xinit
|
||||||
|
xorg.setxkbmap
|
||||||
|
xorg.xset
|
||||||
|
];
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
6
common/desktop_environment/i3/home_manager/default.nix
Normal file
6
common/desktop_environment/i3/home_manager/default.nix
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
{ ... }:
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
./i3.nix
|
||||||
|
];
|
||||||
|
}
|
||||||
47
common/desktop_environment/i3/home_manager/i3.nix
Normal file
47
common/desktop_environment/i3/home_manager/i3.nix
Normal file
|
|
@ -0,0 +1,47 @@
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
osConfig,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
ccfg = import ../../../config.nix;
|
||||||
|
cfg_path = [
|
||||||
|
ccfg.custom_config_key
|
||||||
|
"desktopEnvironment"
|
||||||
|
"i3"
|
||||||
|
];
|
||||||
|
cfg = lib.attrsets.getAttrFromPath cfg_path osConfig;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
xsession.windowManager.i3 = {
|
||||||
|
enable = true;
|
||||||
|
config = lib.attrsets.recursiveUpdate {
|
||||||
|
startup = [
|
||||||
|
{ command = "setxkbmap -layout us -option caps:escape"; }
|
||||||
|
];
|
||||||
|
modifier = "Mod4";
|
||||||
|
terminal = cfg.terminalCommand;
|
||||||
|
keybindings =
|
||||||
|
let
|
||||||
|
mod = config.xsession.windowManager.i3.config.modifier;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
# Focus
|
||||||
|
"${mod}+h" = "focus left";
|
||||||
|
"${mod}+l" = "focus right";
|
||||||
|
"${mod}+k" = "focus up";
|
||||||
|
"${mod}+j" = "focus down";
|
||||||
|
# Apps
|
||||||
|
"${mod}+Return" = "exec ${cfg.terminalCommand}";
|
||||||
|
# "${mod}+space" = "exec ${cfg.menu}"; TODO
|
||||||
|
"${mod}+q" = "kill";
|
||||||
|
"${mod}+Shift+Escape" = "exit";
|
||||||
|
"${mod}+Shift+q" = "exec i3lock";
|
||||||
|
"${mod}+f" = "floating toggle";
|
||||||
|
|
||||||
|
};
|
||||||
|
# See home-manager documentation for everything you can add here.
|
||||||
|
} cfg.extraOptions;
|
||||||
|
};
|
||||||
|
}
|
||||||
139
common/desktop_environment/sway/default.nix
Normal file
139
common/desktop_environment/sway/default.nix
Normal file
|
|
@ -0,0 +1,139 @@
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
ccfg = import ../../config.nix;
|
||||||
|
cfg_path = [
|
||||||
|
ccfg.custom_config_key
|
||||||
|
"desktopEnvironment"
|
||||||
|
"sway"
|
||||||
|
];
|
||||||
|
cfg = lib.attrsets.getAttrFromPath cfg_path config;
|
||||||
|
in
|
||||||
|
with lib;
|
||||||
|
{
|
||||||
|
options =
|
||||||
|
{ }
|
||||||
|
// lib.attrsets.setAttrByPath cfg_path {
|
||||||
|
enable = lib.mkEnableOption "sway (Wayland i3) desktop environment";
|
||||||
|
terminalCommand = mkOption {
|
||||||
|
type = lib.types.str;
|
||||||
|
default = "foot";
|
||||||
|
description = "The terminal command to use.";
|
||||||
|
};
|
||||||
|
extraOptions = mkOption {
|
||||||
|
type = lib.types.attrs;
|
||||||
|
default = { };
|
||||||
|
description = "Extra options for Sway configuration.";
|
||||||
|
};
|
||||||
|
swaync = {
|
||||||
|
enable = lib.mkEnableOption "Enable Sway Notification Center";
|
||||||
|
};
|
||||||
|
waybar = {
|
||||||
|
enable = lib.mkEnableOption "Enable Waybar (status bar for Sway)";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
config = lib.mkIf cfg.enable {
|
||||||
|
# Enable for all users via Home Manager fragments in this module
|
||||||
|
home-manager = {
|
||||||
|
sharedModules = [ ./home_manager ];
|
||||||
|
};
|
||||||
|
|
||||||
|
services.greetd = {
|
||||||
|
enable = true;
|
||||||
|
vt = 2;
|
||||||
|
settings = {
|
||||||
|
default_session = {
|
||||||
|
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --remember --remember-session --cmd '${pkgs.dbus}/bin/dbus-run-session ${pkgs.sway}/bin/sway'";
|
||||||
|
user = "greeter";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
# Caps Lock as Escape for console/tty and Wayland
|
||||||
|
console.useXkbConfig = true;
|
||||||
|
services.xserver.xkb = {
|
||||||
|
layout = "us";
|
||||||
|
options = "caps:escape";
|
||||||
|
};
|
||||||
|
|
||||||
|
# Core packages and tools
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
wl-clipboard
|
||||||
|
wl-clip-persist
|
||||||
|
wofi # application launcher
|
||||||
|
nemo # file manager (x11)
|
||||||
|
feh # image viewer (x11)
|
||||||
|
networkmanager
|
||||||
|
upower
|
||||||
|
brightnessctl
|
||||||
|
wireplumber
|
||||||
|
libgtop
|
||||||
|
bluez
|
||||||
|
power-profiles-daemon
|
||||||
|
grim
|
||||||
|
slurp
|
||||||
|
wf-recorder
|
||||||
|
btop
|
||||||
|
pavucontrol
|
||||||
|
];
|
||||||
|
|
||||||
|
services.blueman.enable = config.hardware.bluetooth.enable;
|
||||||
|
|
||||||
|
programs.sway = {
|
||||||
|
enable = true;
|
||||||
|
wrapperFeatures.gtk = true; # include GTK integration env
|
||||||
|
extraPackages = with pkgs; [
|
||||||
|
xwayland # allow legacy X11 apps
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
xdg.portal = {
|
||||||
|
enable = true;
|
||||||
|
extraPortals = lib.mkForce [
|
||||||
|
pkgs.xdg-desktop-portal-wlr
|
||||||
|
pkgs.xdg-desktop-portal-gtk
|
||||||
|
];
|
||||||
|
config.common.default = [
|
||||||
|
"wlr"
|
||||||
|
"gtk"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
hardware.graphics = {
|
||||||
|
enable = true;
|
||||||
|
# Keep defaults; Sway runs fine with mesa in system
|
||||||
|
};
|
||||||
|
|
||||||
|
# Environment variables
|
||||||
|
environment.sessionVariables = lib.mkMerge [
|
||||||
|
{
|
||||||
|
GTK_THEME = "Adwaita:dark";
|
||||||
|
XDG_SESSION_TYPE = "wayland";
|
||||||
|
XDG_CURRENT_DESKTOP = "sway";
|
||||||
|
XDG_SESSION_DESKTOP = "sway";
|
||||||
|
WLR_RENDERER = "auto";
|
||||||
|
|
||||||
|
# Tell apps to run native wayland
|
||||||
|
NIXOS_OZONE_WL = "1";
|
||||||
|
ELECTRON_OZONE_PLATFORM_HINT = "wayland";
|
||||||
|
GDK_BACKEND = "wayland,x11"; # GTK
|
||||||
|
QT_QPA_PLATFORM = "wayland;xcb"; # Qt 5/6
|
||||||
|
MOZ_ENABLE_WAYLAND = "1"; # Firefox
|
||||||
|
SDL_VIDEODRIVER = "wayland"; # SDL apps/games
|
||||||
|
CLUTTER_BACKEND = "wayland";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
|
# Qt theming
|
||||||
|
qt = {
|
||||||
|
enable = true;
|
||||||
|
platformTheme = "gtk2";
|
||||||
|
style = "adwaita-dark";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
185
common/desktop_environment/sway/home_manager/sway.nix
Normal file
185
common/desktop_environment/sway/home_manager/sway.nix
Normal file
|
|
@ -0,0 +1,185 @@
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
osConfig,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
ccfg = import ../../../config.nix;
|
||||||
|
cfg_path = [
|
||||||
|
ccfg.custom_config_key
|
||||||
|
"desktopEnvironment"
|
||||||
|
"sway"
|
||||||
|
];
|
||||||
|
cfg = lib.attrsets.getAttrFromPath cfg_path osConfig;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
wayland.windowManager.sway = {
|
||||||
|
enable = true;
|
||||||
|
xwayland = true;
|
||||||
|
|
||||||
|
config = lib.mkMerge [
|
||||||
|
rec {
|
||||||
|
modifier = "Mod4"; # SUPER
|
||||||
|
terminal = cfg.terminalCommand;
|
||||||
|
menu = "wofi --show drun";
|
||||||
|
|
||||||
|
# Per-output workspace mapping (user can extend via extraOptions)
|
||||||
|
# Example (left as defaults): users can add `output HDMI-A-1 workspace 1,3,5` in extraOptions
|
||||||
|
|
||||||
|
input = {
|
||||||
|
"type:keyboard" = {
|
||||||
|
xkb_layout = "us";
|
||||||
|
xkb_options = "caps:escape";
|
||||||
|
};
|
||||||
|
"type:touchpad" = {
|
||||||
|
natural_scroll = "enabled";
|
||||||
|
tap = "enabled";
|
||||||
|
dwt = "enabled";
|
||||||
|
};
|
||||||
|
# Disable focus follows mouse to avoid accidental focus changes
|
||||||
|
# In Sway this behavior is controlled by focus_follows_mouse
|
||||||
|
};
|
||||||
|
|
||||||
|
focus = {
|
||||||
|
followMouse = "no";
|
||||||
|
# onWindowActivation = "urgent"; # don't steal focus; mark urgent instead
|
||||||
|
};
|
||||||
|
|
||||||
|
gaps = {
|
||||||
|
inner = 2;
|
||||||
|
outer = 5;
|
||||||
|
smartGaps = false;
|
||||||
|
smartBorders = "on";
|
||||||
|
};
|
||||||
|
|
||||||
|
colors = {
|
||||||
|
focused = {
|
||||||
|
background = "#444444";
|
||||||
|
border = "#555555";
|
||||||
|
childBorder = "#444444";
|
||||||
|
indicator = "#595959";
|
||||||
|
text = "#f1f1f1";
|
||||||
|
};
|
||||||
|
unfocused = {
|
||||||
|
background = "#222222";
|
||||||
|
border = "#333333";
|
||||||
|
childBorder = "#222222";
|
||||||
|
indicator = "#292d2e";
|
||||||
|
text = "#888888";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
window = {
|
||||||
|
border = 1;
|
||||||
|
titlebar = false;
|
||||||
|
commands = [
|
||||||
|
# Bitwarden chrome popup as floating example from Hyprland rules
|
||||||
|
{
|
||||||
|
criteria = {
|
||||||
|
app_id = "chrome-nngceckbapebfimnlniiiahkandclblb-Default";
|
||||||
|
};
|
||||||
|
command = "floating enable";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
criteria = {
|
||||||
|
app_id = "pavucontrol";
|
||||||
|
};
|
||||||
|
command = "floating enable, move position center, resize set 620 1200";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
criteria = {
|
||||||
|
class = "Google-chrome";
|
||||||
|
window_role = "pop-up";
|
||||||
|
};
|
||||||
|
command = "floating enable, move position center, resize set 720 480";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
criteria = {
|
||||||
|
window_role = "pop-up";
|
||||||
|
};
|
||||||
|
command = "floating enable, move position center, resize set 640 420";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
criteria = {
|
||||||
|
window_role = "About";
|
||||||
|
};
|
||||||
|
command = "floating enable, move position center, resize set 640 420";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
# Keybindings mirroring Hyprland
|
||||||
|
keybindings = {
|
||||||
|
# Apps
|
||||||
|
"${modifier}+return" = "exec ${cfg.terminalCommand}";
|
||||||
|
"${modifier}+space" = "exec pkill wofi || wofi --show drun";
|
||||||
|
"${modifier}+q" = "kill";
|
||||||
|
"${modifier}+shift+Escape" = "exit";
|
||||||
|
"${modifier}+shift+q" = "exec swaylock";
|
||||||
|
"${modifier}+f" = "floating toggle";
|
||||||
|
|
||||||
|
# Focus
|
||||||
|
"${modifier}+h" = "focus left";
|
||||||
|
"${modifier}+l" = "focus right";
|
||||||
|
"${modifier}+k" = "focus up";
|
||||||
|
"${modifier}+j" = "focus down";
|
||||||
|
|
||||||
|
# Workspaces (numbers and vim-like mirror)
|
||||||
|
"${modifier}+1" = "workspace number 1";
|
||||||
|
"${modifier}+n" = "workspace number 1";
|
||||||
|
"${modifier}+2" = "workspace number 2";
|
||||||
|
"${modifier}+m" = "workspace number 2";
|
||||||
|
"${modifier}+3" = "workspace number 3";
|
||||||
|
"${modifier}+comma" = "workspace number 3";
|
||||||
|
"${modifier}+4" = "workspace number 4";
|
||||||
|
"${modifier}+period" = "workspace number 4";
|
||||||
|
"${modifier}+5" = "workspace number 5";
|
||||||
|
"${modifier}+slash" = "workspace number 5";
|
||||||
|
"${modifier}+6" = "workspace number 6";
|
||||||
|
"${modifier}+7" = "workspace number 7";
|
||||||
|
"${modifier}+8" = "workspace number 8";
|
||||||
|
"${modifier}+9" = "workspace number 9";
|
||||||
|
"${modifier}+0" = "workspace number 10";
|
||||||
|
|
||||||
|
# Move windows
|
||||||
|
"${modifier}+shift+h" = "move left";
|
||||||
|
"${modifier}+shift+l" = "move right";
|
||||||
|
"${modifier}+shift+k" = "move up";
|
||||||
|
"${modifier}+shift+j" = "move down";
|
||||||
|
"${modifier}+shift+1" = "move container to workspace number 1";
|
||||||
|
"${modifier}+shift+n" = "move container to workspace number 1";
|
||||||
|
"${modifier}+shift+2" = "move container to workspace number 2";
|
||||||
|
"${modifier}+shift+m" = "move container to workspace number 2";
|
||||||
|
"${modifier}+shift+3" = "move container to workspace number 3";
|
||||||
|
"${modifier}+shift+comma" = "move container to workspace number 3";
|
||||||
|
"${modifier}+shift+4" = "move container to workspace number 4";
|
||||||
|
"${modifier}+shift+period" = "move container to workspace number 4";
|
||||||
|
"${modifier}+shift+5" = "move container to workspace number 5";
|
||||||
|
"${modifier}+shift+slash" = "move container to workspace number 5";
|
||||||
|
"${modifier}+shift+6" = "move container to workspace number 6";
|
||||||
|
"${modifier}+shift+7" = "move container to workspace number 7";
|
||||||
|
"${modifier}+shift+8" = "move container to workspace number 8";
|
||||||
|
"${modifier}+shift+9" = "move container to workspace number 9";
|
||||||
|
"${modifier}+shift+0" = "move container to workspace number 10";
|
||||||
|
|
||||||
|
# Mouse bindings (Mod + drag)
|
||||||
|
"${modifier}+button1" = "move";
|
||||||
|
"${modifier}+button3" = "resize";
|
||||||
|
|
||||||
|
# Screenshot
|
||||||
|
"Print" = "exec grim -g \"$(slurp)\" - | wl-copy";
|
||||||
|
};
|
||||||
|
|
||||||
|
bars = [ ]; # Use Waybar via Home Manager
|
||||||
|
startup = [
|
||||||
|
{
|
||||||
|
command = "exec sh -c 'sleep 0.01; swaymsg workspace number 7 ; sleep 0.01; swaymsg workspace number 1'";
|
||||||
|
}
|
||||||
|
{ command = "pgrep waybar >/dev/null || waybar"; }
|
||||||
|
];
|
||||||
|
}
|
||||||
|
cfg.extraOptions
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
112
common/desktop_environment/sway/home_manager/swaync.nix
Normal file
112
common/desktop_environment/sway/home_manager/swaync.nix
Normal file
|
|
@ -0,0 +1,112 @@
|
||||||
|
{ lib, osConfig, ... }:
|
||||||
|
let
|
||||||
|
ccfg = import ../../../config.nix;
|
||||||
|
cfg_path = [
|
||||||
|
ccfg.custom_config_key
|
||||||
|
"desktopEnvironment"
|
||||||
|
"sway"
|
||||||
|
"swaync"
|
||||||
|
];
|
||||||
|
cfg = lib.attrsets.getAttrFromPath cfg_path osConfig;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
config = lib.mkIf cfg.enable {
|
||||||
|
services.swaync = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
ignore = [ "com.spotify.Client" ];
|
||||||
|
positionX = "right";
|
||||||
|
positionY = "top";
|
||||||
|
layer = "overlay";
|
||||||
|
control-center-layer = "top";
|
||||||
|
layer-shell = true;
|
||||||
|
cssPriority = "application";
|
||||||
|
control-center-margin-top = 0;
|
||||||
|
control-center-margin-bottom = 0;
|
||||||
|
control-center-margin-right = 0;
|
||||||
|
control-center-margin-left = 0;
|
||||||
|
notification-2fa-action = true;
|
||||||
|
notification-inline-replies = false;
|
||||||
|
notification-icon-size = 64;
|
||||||
|
notification-body-image-height = 100;
|
||||||
|
notification-body-image-width = 200;
|
||||||
|
timeout = 10;
|
||||||
|
timeout-low = 5;
|
||||||
|
timeout-critical = 0;
|
||||||
|
control-center-width = 500;
|
||||||
|
control-center-height = 600;
|
||||||
|
notification-window-width = 500;
|
||||||
|
keyboard-shortcuts = true;
|
||||||
|
image-visibility = "when-available";
|
||||||
|
transition-time = 200;
|
||||||
|
hide-on-clear = false;
|
||||||
|
hide-on-action = true;
|
||||||
|
script-fail-notify = true;
|
||||||
|
widgets = [
|
||||||
|
"inhibitors"
|
||||||
|
"title"
|
||||||
|
"dnd"
|
||||||
|
"volume"
|
||||||
|
"backlight"
|
||||||
|
"mpris"
|
||||||
|
"buttons-grid#quick"
|
||||||
|
"notifications"
|
||||||
|
];
|
||||||
|
widget-config = {
|
||||||
|
inhibitors = {
|
||||||
|
text = "Inhibitors";
|
||||||
|
button-text = "Clear All";
|
||||||
|
clear-all-button = true;
|
||||||
|
};
|
||||||
|
title = {
|
||||||
|
text = "Notifications";
|
||||||
|
clear-all-button = true;
|
||||||
|
button-text = "Clear All";
|
||||||
|
};
|
||||||
|
dnd.text = "Do Not Disturb";
|
||||||
|
mpris = {
|
||||||
|
image-size = 96;
|
||||||
|
image-radius = 12;
|
||||||
|
};
|
||||||
|
volume = {
|
||||||
|
label = "";
|
||||||
|
show-per-app = true;
|
||||||
|
};
|
||||||
|
backlight = {
|
||||||
|
label = "";
|
||||||
|
device = "intel_backlight";
|
||||||
|
};
|
||||||
|
# "buttons-grid#quick" = {
|
||||||
|
# columns = 4;
|
||||||
|
# icon-size = 20;
|
||||||
|
# actions = [
|
||||||
|
# { label = ""; tooltip = "Shutdown"; command = "confirm-action 'systemctl poweroff' 'Shutdown?'"; }
|
||||||
|
# { label = ""; tooltip = "Reboot"; command = "confirm-action 'systemctl reboot' 'Reboot?'"; }
|
||||||
|
# { label = ""; tooltip = "Logout"; command = "confirm-action 'swaymsg exit' 'Logout?'"; }
|
||||||
|
# ];
|
||||||
|
# };
|
||||||
|
};
|
||||||
|
};
|
||||||
|
style = ''
|
||||||
|
.control-center { background: #1a1b26; border: 2px solid #7dcae4; border-radius: 12px; }
|
||||||
|
.control-center-list { background: transparent; }
|
||||||
|
.control-center .notification-row:focus, .control-center .notification-row:hover { opacity: 1; background: #24283b; }
|
||||||
|
.notification { border-radius: 8px; margin: 6px 12px; box-shadow: 0 0 0 1px rgba(125,196,228,.3), 0 1px 3px 1px rgba(0,0,0,.7), 0 2px 6px 2px rgba(0,0,0,.3); padding: 0; }
|
||||||
|
.widget-title { margin: 8px; font-size: 1.5rem; color: #c0caf5; }
|
||||||
|
.widget-dnd { margin: 8px; font-size: 1.1rem; color: #c0caf5; }
|
||||||
|
.widget-dnd > switch { font-size: initial; border-radius: 8px; background: #414868; border: 1px solid #7dcae4; }
|
||||||
|
.widget-dnd > switch:checked { background: #7dcae4; }
|
||||||
|
.widget-mpris { color: #c0caf5; background: #24283b; padding: 8px; margin: 8px; border-radius: 8px; }
|
||||||
|
.widget-mpris-player { padding: 8px; margin: 8px; }
|
||||||
|
.widget-mpris-title { font-weight: bold; font-size: 1.25rem; }
|
||||||
|
.widget-mpris-subtitle { font-size: 1.1rem; color: #9ece6a; }
|
||||||
|
.widget-volume, .widget-backlight, .widget-menubar { background: #24283b; padding: 8px; margin: 8px; border-radius: 8px; color: #c0caf5; }
|
||||||
|
.widget-menubar .menu-item button { background: #1f2335; color: #c0caf5; border-radius: 8px; padding: 6px 10px; margin: 4px; border: 1px solid #2e3440; font-family: "JetBrainsMonoNL Nerd Font"; }
|
||||||
|
.widget-menubar .menu-item button:hover { background: #414868; border-color: #7dcae4; }
|
||||||
|
.topbar-buttons button { border: none; background: transparent; color: #c0caf5; font-size: 1.1rem; border-radius: 8px; margin: 0 4px; padding: 8px; }
|
||||||
|
.topbar-buttons button:hover { background: #414868; }
|
||||||
|
.topbar-buttons button:active { background: #7dcae4; color: #1a1b26; }
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
260
common/desktop_environment/sway/home_manager/waybar.nix
Normal file
260
common/desktop_environment/sway/home_manager/waybar.nix
Normal file
|
|
@ -0,0 +1,260 @@
|
||||||
|
{ lib, osConfig, ... }:
|
||||||
|
let
|
||||||
|
ccfg = import ../../../config.nix;
|
||||||
|
cfg_path = [
|
||||||
|
ccfg.custom_config_key
|
||||||
|
"desktopEnvironment"
|
||||||
|
"sway"
|
||||||
|
"waybar"
|
||||||
|
];
|
||||||
|
cfg = lib.attrsets.getAttrFromPath cfg_path osConfig;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
config = lib.mkIf cfg.enable {
|
||||||
|
|
||||||
|
programs.waybar = {
|
||||||
|
enable = true;
|
||||||
|
systemd.enable = true;
|
||||||
|
settings = {
|
||||||
|
mainBar = {
|
||||||
|
layer = "top";
|
||||||
|
position = "top";
|
||||||
|
height = 28;
|
||||||
|
spacing = 6;
|
||||||
|
margin-top = 0;
|
||||||
|
margin-bottom = 0;
|
||||||
|
margin-left = 10;
|
||||||
|
margin-right = 10;
|
||||||
|
|
||||||
|
modules-left = [
|
||||||
|
"sway/workspaces"
|
||||||
|
];
|
||||||
|
modules-center = [
|
||||||
|
"clock"
|
||||||
|
"temperature"
|
||||||
|
"cpu"
|
||||||
|
"memory"
|
||||||
|
"disk"
|
||||||
|
];
|
||||||
|
modules-right = [
|
||||||
|
"battery"
|
||||||
|
"battery#bat2"
|
||||||
|
"pulseaudio"
|
||||||
|
"network"
|
||||||
|
"bluetooth"
|
||||||
|
"power-profiles-daemon"
|
||||||
|
"backlight"
|
||||||
|
"custom/notifications"
|
||||||
|
"sway/language"
|
||||||
|
"tray"
|
||||||
|
"custom/power"
|
||||||
|
];
|
||||||
|
|
||||||
|
# LEFT
|
||||||
|
"sway/workspaces" = {
|
||||||
|
format = "{icon}";
|
||||||
|
format-icons = {
|
||||||
|
"1" = "一";
|
||||||
|
"2" = "二";
|
||||||
|
"3" = "三";
|
||||||
|
"4" = "四";
|
||||||
|
"5" = "五";
|
||||||
|
"6" = "六";
|
||||||
|
"7" = "七";
|
||||||
|
"8" = "八";
|
||||||
|
"9" = "九";
|
||||||
|
"10" = "十";
|
||||||
|
"11" = "十一";
|
||||||
|
"12" = "十二";
|
||||||
|
"13" = "十三";
|
||||||
|
"14" = "十四";
|
||||||
|
"15" = "十五";
|
||||||
|
"16" = "十六";
|
||||||
|
"17" = "十七";
|
||||||
|
"18" = "十八";
|
||||||
|
"19" = "十九";
|
||||||
|
"20" = "二十";
|
||||||
|
};
|
||||||
|
disable-scroll = false;
|
||||||
|
};
|
||||||
|
|
||||||
|
# CENTER
|
||||||
|
clock = {
|
||||||
|
format = "{:%b %d, %H:%M}";
|
||||||
|
tooltip-format = "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>";
|
||||||
|
};
|
||||||
|
|
||||||
|
temperature = {
|
||||||
|
thermal-zone = 2;
|
||||||
|
hwmon-path = "/sys/class/hwmon/hwmon2/temp1_input";
|
||||||
|
critical-threshold = 80;
|
||||||
|
format-critical = " {temperatureC}°C";
|
||||||
|
format = " {temperatureC}°C";
|
||||||
|
};
|
||||||
|
|
||||||
|
cpu = {
|
||||||
|
format = " {usage}%";
|
||||||
|
tooltip = true;
|
||||||
|
on-click = "btop";
|
||||||
|
};
|
||||||
|
|
||||||
|
memory = {
|
||||||
|
format = " {}%";
|
||||||
|
on-click = "btop";
|
||||||
|
};
|
||||||
|
|
||||||
|
disk = {
|
||||||
|
interval = 30;
|
||||||
|
format = " {percentage_used}%";
|
||||||
|
path = "/";
|
||||||
|
on-click = "btop";
|
||||||
|
};
|
||||||
|
|
||||||
|
# RIGHT
|
||||||
|
"battery" = {
|
||||||
|
"states" = {
|
||||||
|
# "good"= 95;
|
||||||
|
"warning" = 30;
|
||||||
|
"critical" = 15;
|
||||||
|
};
|
||||||
|
"format" = "{capacity}% {icon}";
|
||||||
|
"format-full" = "{capacity}% {icon}";
|
||||||
|
"format-charging" = "{capacity}% ";
|
||||||
|
"format-plugged" = "{capacity}% ";
|
||||||
|
"format-alt" = "{time} {icon}";
|
||||||
|
# "format-good"= ""; // An empty format will hide the module
|
||||||
|
# "format-full"= "";
|
||||||
|
"format-icons" = [
|
||||||
|
""
|
||||||
|
""
|
||||||
|
""
|
||||||
|
""
|
||||||
|
""
|
||||||
|
];
|
||||||
|
};
|
||||||
|
"battery#bat2" = {
|
||||||
|
"bat" = "BAT2";
|
||||||
|
};
|
||||||
|
|
||||||
|
pulseaudio = {
|
||||||
|
format = "{icon} {volume}%";
|
||||||
|
format-bluetooth = " {volume}%";
|
||||||
|
format-bluetooth-muted = " ";
|
||||||
|
format-muted = " ";
|
||||||
|
format-source = " {volume}%";
|
||||||
|
format-source-muted = " ";
|
||||||
|
format-icons = {
|
||||||
|
headphone = "";
|
||||||
|
hands-free = "";
|
||||||
|
headset = "";
|
||||||
|
phone = "";
|
||||||
|
portable = "";
|
||||||
|
car = "";
|
||||||
|
default = [
|
||||||
|
""
|
||||||
|
""
|
||||||
|
""
|
||||||
|
];
|
||||||
|
};
|
||||||
|
scroll-step = 5;
|
||||||
|
on-click = "pavucontrol";
|
||||||
|
on-click-right = "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle";
|
||||||
|
};
|
||||||
|
|
||||||
|
network = {
|
||||||
|
format-wifi = " {essid} ({signalStrength}%)";
|
||||||
|
format-ethernet = " {ipaddr}/{cidr}";
|
||||||
|
tooltip-format = "{ifname} via {gwaddr} ";
|
||||||
|
format-linked = " {ifname} (No IP)";
|
||||||
|
format-disconnected = " Disconnected";
|
||||||
|
# on-click = "wofi-wifi-menu";
|
||||||
|
# on-click-right = "nmcli radio wifi toggle";
|
||||||
|
};
|
||||||
|
|
||||||
|
bluetooth = {
|
||||||
|
format = " {status}";
|
||||||
|
format-connected = " {device_alias}";
|
||||||
|
format-connected-battery = " {device_alias} {device_battery_percentage}%";
|
||||||
|
tooltip-format = "{controller_alias}\t{controller_address}\n\n{num_connections} connected";
|
||||||
|
tooltip-format-connected = "{controller_alias}\t{controller_address}\n\n{num_connections} connected\n\n{device_enumerate}";
|
||||||
|
tooltip-format-enumerate-connected = "{device_alias}\t{device_address}";
|
||||||
|
tooltip-format-enumerate-connected-battery = "{device_alias}\t{device_address}\t{device_battery_percentage}%";
|
||||||
|
# on-click = "wofi-bluetooth-menu";
|
||||||
|
# on-click-right = "bluetoothctl power toggle";
|
||||||
|
};
|
||||||
|
|
||||||
|
"power-profiles-daemon" = {
|
||||||
|
format = "{icon}";
|
||||||
|
"tooltip-format" = "Power profile: {profile}\nDriver: {driver}";
|
||||||
|
tooltip = true;
|
||||||
|
"format-icons" = {
|
||||||
|
default = "";
|
||||||
|
performance = "";
|
||||||
|
balanced = "";
|
||||||
|
"power-saver" = "";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
backlight = {
|
||||||
|
format = "{percent}% {icon}";
|
||||||
|
"format-icons" = [
|
||||||
|
""
|
||||||
|
""
|
||||||
|
""
|
||||||
|
""
|
||||||
|
""
|
||||||
|
""
|
||||||
|
""
|
||||||
|
""
|
||||||
|
""
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
"custom/notifications" = {
|
||||||
|
format = "{icon} {}";
|
||||||
|
format-icons = {
|
||||||
|
notification = "";
|
||||||
|
none = "";
|
||||||
|
dnd-notification = "";
|
||||||
|
dnd-none = "";
|
||||||
|
inhibited-notification = "";
|
||||||
|
inhibited-none = "";
|
||||||
|
dnd-inhibited-notification = "";
|
||||||
|
dnd-inhibited-none = "";
|
||||||
|
};
|
||||||
|
return-type = "json";
|
||||||
|
exec-if = "which swaync-client";
|
||||||
|
exec = "swaync-client -swb";
|
||||||
|
on-click = "swaync-client -t -sw";
|
||||||
|
on-click-right = "swaync-client -d -sw";
|
||||||
|
escape = true;
|
||||||
|
tooltip = false;
|
||||||
|
};
|
||||||
|
|
||||||
|
"sway/language" = {
|
||||||
|
format = "{}";
|
||||||
|
};
|
||||||
|
|
||||||
|
"tray" = {
|
||||||
|
"spacing" = 10;
|
||||||
|
};
|
||||||
|
|
||||||
|
"custom/power" = {
|
||||||
|
format = "⏻ ";
|
||||||
|
tooltip = false;
|
||||||
|
menu = "on-click";
|
||||||
|
"menu-file" = ./waybar/power_menu.xml;
|
||||||
|
"menu-actions" = {
|
||||||
|
shutdown = "shutdown 0";
|
||||||
|
reboot = "reboot";
|
||||||
|
logout = "loginctl terminate-session $(loginctl list-sessions | grep seat0 | awk '{print $1}')";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
style = builtins.readFile ./waybar/waybar.css;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
57
flakes/secrets/flake.lock → common/flake.lock
generated
57
flakes/secrets/flake.lock → common/flake.lock
generated
|
|
@ -3,7 +3,7 @@
|
||||||
"agenix": {
|
"agenix": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"darwin": "darwin",
|
"darwin": "darwin",
|
||||||
"home-manager": "home-manager",
|
"home-manager": "home-manager_2",
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"ragenix",
|
"ragenix",
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
|
|
@ -81,6 +81,25 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"home-manager": {
|
"home-manager": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": "nixpkgs"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1758313341,
|
||||||
|
"narHash": "sha256-SsI6INUzWwPcRKRaxvi50RttnD9rcC4EjV+67TOEfrQ=",
|
||||||
|
"owner": "rycee",
|
||||||
|
"repo": "home-manager",
|
||||||
|
"rev": "6f656618ebc71ca82d93d306a8aecb2c5f6f2ab2",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "rycee",
|
||||||
|
"ref": "release-25.05",
|
||||||
|
"repo": "home-manager",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"home-manager_2": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"ragenix",
|
"ragenix",
|
||||||
|
|
@ -102,7 +121,39 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"nix-flatpak": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1739444422,
|
||||||
|
"narHash": "sha256-iAVVHi7X3kWORftY+LVbRiStRnQEob2TULWyjMS6dWg=",
|
||||||
|
"owner": "gmodena",
|
||||||
|
"repo": "nix-flatpak",
|
||||||
|
"rev": "5e54c3ca05a7c7d968ae1ddeabe01d2a9bc1e177",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "gmodena",
|
||||||
|
"ref": "latest",
|
||||||
|
"repo": "nix-flatpak",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1753345091,
|
||||||
|
"narHash": "sha256-CdX2Rtvp5I8HGu9swBmYuq+ILwRxpXdJwlpg8jvN4tU=",
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "3ff0e34b1383648053bba8ed03f201d3466f90c9",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "NixOS",
|
||||||
|
"ref": "nixos-25.05",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nixpkgs_2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1741379970,
|
"lastModified": 1741379970,
|
||||||
"narHash": "sha256-Wh7esNh7G24qYleLvgOSY/7HlDUzWaL/n4qzlBePpiw=",
|
"narHash": "sha256-Wh7esNh7G24qYleLvgOSY/7HlDUzWaL/n4qzlBePpiw=",
|
||||||
|
|
@ -123,7 +174,7 @@
|
||||||
"agenix": "agenix",
|
"agenix": "agenix",
|
||||||
"crane": "crane",
|
"crane": "crane",
|
||||||
"flake-utils": "flake-utils",
|
"flake-utils": "flake-utils",
|
||||||
"nixpkgs": "nixpkgs",
|
"nixpkgs": "nixpkgs_2",
|
||||||
"rust-overlay": "rust-overlay"
|
"rust-overlay": "rust-overlay"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
|
|
@ -142,6 +193,8 @@
|
||||||
},
|
},
|
||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
|
"home-manager": "home-manager",
|
||||||
|
"nix-flatpak": "nix-flatpak",
|
||||||
"ragenix": "ragenix"
|
"ragenix": "ragenix"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
89
common/flake.nix
Normal file
89
common/flake.nix
Normal file
|
|
@ -0,0 +1,89 @@
|
||||||
|
{
|
||||||
|
inputs = {
|
||||||
|
# NOTE if you add/change any inputs here also add them in the TOP level repo's flake.nix
|
||||||
|
home-manager.url = "github:rycee/home-manager/release-25.05";
|
||||||
|
ragenix.url = "github:yaxitech/ragenix";
|
||||||
|
nix-flatpak.url = "github:gmodena/nix-flatpak/?ref=latest";
|
||||||
|
|
||||||
|
# disabled for now
|
||||||
|
# hyprland.url = "github:hyprwm/Hyprland";
|
||||||
|
};
|
||||||
|
|
||||||
|
outputs =
|
||||||
|
{
|
||||||
|
home-manager,
|
||||||
|
ragenix,
|
||||||
|
nix-flatpak,
|
||||||
|
# hyprland,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
{
|
||||||
|
nixosModules = {
|
||||||
|
default =
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
home-manager.nixosModules.default
|
||||||
|
ragenix.nixosModules.age
|
||||||
|
nix-flatpak.nixosModules.nix-flatpak
|
||||||
|
# hyprland.nixosModules.default
|
||||||
|
./_home_manager
|
||||||
|
./options.nix
|
||||||
|
./general
|
||||||
|
./boot
|
||||||
|
./desktop_environment
|
||||||
|
./users
|
||||||
|
./programs
|
||||||
|
./secrets
|
||||||
|
];
|
||||||
|
config = {
|
||||||
|
nixpkgs.overlays = [
|
||||||
|
# (final: prev: {
|
||||||
|
# wayland-protocols =
|
||||||
|
# nixpkgs-unstable.legacyPackages.${prev.stdenv.hostPlatform.system}.wayland-protocols;
|
||||||
|
# })
|
||||||
|
];
|
||||||
|
_module.args = {
|
||||||
|
inherit ragenix;
|
||||||
|
# inherit hyprland;
|
||||||
|
# hyprlandPkgs = import hyprland.inputs.nixpkgs {
|
||||||
|
# system = pkgs.stdenv.hostPlatform.system;
|
||||||
|
# config = config.nixpkgs.config or { };
|
||||||
|
# };
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
containers = {
|
||||||
|
forgejo = import ./_containers/forgejo.nix;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
homeManagerModules = {
|
||||||
|
# hyprland = hyprland.homeManagerModules.default;
|
||||||
|
|
||||||
|
zsh = import ./_home_manager/mods/zsh.nix;
|
||||||
|
tmux = import ./_home_manager/mods/tmux/tmux.nix;
|
||||||
|
atuin = import ./_home_manager/mods/atuin.nix;
|
||||||
|
zoxide = import ./_home_manager/mods/zoxide.nix;
|
||||||
|
starship = import ./_home_manager/mods/starship.nix;
|
||||||
|
direnv = import ./_home_manager/mods/direnv.nix;
|
||||||
|
ssh = import ./_home_manager/mods/ssh.nix;
|
||||||
|
git = import ./_home_manager/mods/git.nix;
|
||||||
|
nix_deprecations = import ./_home_manager/mods/nix_deprecations.nix;
|
||||||
|
|
||||||
|
alacritty = import ./_home_manager/mods/alacritty.nix;
|
||||||
|
foot = import ./_home_manager/mods/foot.nix;
|
||||||
|
kitty = import ./_home_manager/mods/kitty.nix;
|
||||||
|
launcher_rofi = import ./_home_manager/mods/launcher_rofi.nix;
|
||||||
|
|
||||||
|
obs = import ./_home_manager/mods/obs.nix;
|
||||||
|
postgres = import ./_home_manager/mods/postgres.nix;
|
||||||
|
slicer = import ./_home_manager/mods/slicer.nix;
|
||||||
|
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
211
common/general/default.nix
Normal file
211
common/general/default.nix
Normal file
|
|
@ -0,0 +1,211 @@
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
ccfg = import ../config.nix;
|
||||||
|
cfg_path = [
|
||||||
|
ccfg.custom_config_key
|
||||||
|
"general"
|
||||||
|
];
|
||||||
|
cfg = lib.attrsets.getAttrFromPath cfg_path config;
|
||||||
|
top_cfg = config.${ccfg.custom_config_key};
|
||||||
|
in
|
||||||
|
{
|
||||||
|
options =
|
||||||
|
{ }
|
||||||
|
// lib.attrsets.setAttrByPath cfg_path {
|
||||||
|
flakeOptions = lib.mkOption {
|
||||||
|
type = lib.types.bool;
|
||||||
|
default = true;
|
||||||
|
description = "Enable nix flake options";
|
||||||
|
};
|
||||||
|
unfree = lib.mkOption {
|
||||||
|
type = lib.types.bool;
|
||||||
|
default = true;
|
||||||
|
description = "Enable unfree packages";
|
||||||
|
};
|
||||||
|
readWindowsDrives = lib.mkOption {
|
||||||
|
type = lib.types.bool;
|
||||||
|
default = true;
|
||||||
|
description = "Read windows drives";
|
||||||
|
};
|
||||||
|
disableRemoteBuildsOnLio = lib.mkOption {
|
||||||
|
type = lib.types.bool;
|
||||||
|
default = false;
|
||||||
|
description = "Disable remote builds on lio";
|
||||||
|
};
|
||||||
|
timezone = lib.mkOption {
|
||||||
|
type = lib.types.str;
|
||||||
|
default = "America/Chicago";
|
||||||
|
description = "Timezone";
|
||||||
|
};
|
||||||
|
defaultLocal = lib.mkOption {
|
||||||
|
type = lib.types.str;
|
||||||
|
default = "en_US.UTF-8";
|
||||||
|
description = "Default locale";
|
||||||
|
};
|
||||||
|
fastShutdown = lib.mkOption {
|
||||||
|
type = lib.types.bool;
|
||||||
|
default = true;
|
||||||
|
description = "Fast shutdown";
|
||||||
|
};
|
||||||
|
enableSleep = lib.mkEnableOption (lib.mdDoc "Enable auto sleeping");
|
||||||
|
hideBootLogs = lib.mkEnableOption (lib.mdDoc "Hide boot logs on startup");
|
||||||
|
};
|
||||||
|
imports = [
|
||||||
|
./shell/common.nix
|
||||||
|
./fonts.nix
|
||||||
|
./tty_caps_esc.nix
|
||||||
|
./reporting.nix
|
||||||
|
];
|
||||||
|
config = {
|
||||||
|
# name this computer
|
||||||
|
networking = {
|
||||||
|
hostName = top_cfg.systemName;
|
||||||
|
nftables.enable = true;
|
||||||
|
nftables.flushRuleset = true;
|
||||||
|
firewall.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
# Enable flakes
|
||||||
|
nix.settings.experimental-features = lib.mkIf cfg.flakeOptions [
|
||||||
|
"nix-command"
|
||||||
|
"flakes"
|
||||||
|
];
|
||||||
|
|
||||||
|
# Allow unfree
|
||||||
|
nixpkgs.config.allowUnfree = cfg.unfree;
|
||||||
|
nixpkgs.config.allowUnfreePredicate = (pkg: cfg.unfree);
|
||||||
|
environment.variables = lib.mkIf cfg.unfree {
|
||||||
|
NIXPKGS_ALLOW_UNFREE = "1";
|
||||||
|
};
|
||||||
|
|
||||||
|
# allow mounting ntfs filesystems
|
||||||
|
boot.supportedFilesystems = lib.mkIf cfg.readWindowsDrives [ "ntfs" ];
|
||||||
|
|
||||||
|
# make shutdown faster for waiting
|
||||||
|
systemd.extraConfig = lib.mkIf cfg.fastShutdown ''
|
||||||
|
DefaultTimeoutStopSec=8s
|
||||||
|
'';
|
||||||
|
|
||||||
|
nix.settings = {
|
||||||
|
max-jobs = "auto";
|
||||||
|
# Fallback quickly if substituters are not available.
|
||||||
|
connect-timeout = 5;
|
||||||
|
download-attempts = 3;
|
||||||
|
download-buffer-size = 524288000; # default is 67108864, this increases to ~500MB
|
||||||
|
# The default at 10 is rarely enough.
|
||||||
|
log-lines = 50;
|
||||||
|
# Avoid disk full issues
|
||||||
|
max-free = (3000 * 1024 * 1024);
|
||||||
|
min-free = (1000 * 1024 * 1024);
|
||||||
|
# Avoid copying unnecessary stuff over SSH
|
||||||
|
builders-use-substitutes = true;
|
||||||
|
auto-optimise-store = true;
|
||||||
|
trusted-users = [
|
||||||
|
"root"
|
||||||
|
"@wheel"
|
||||||
|
];
|
||||||
|
substituters = [
|
||||||
|
"https://cache.nixos.org/"
|
||||||
|
"https://hyprland.cachix.org"
|
||||||
|
"https://cosmic.cachix.org/"
|
||||||
|
"https://nix-community.cachix.org"
|
||||||
|
];
|
||||||
|
trusted-substituters = config.nix.settings.substituters;
|
||||||
|
trusted-public-keys = [
|
||||||
|
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
|
||||||
|
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
|
||||||
|
"cosmic.cachix.org-1:Dya9IyXD4xdBehWjrkPv6rtxpmMdRel02smYzA85dPE="
|
||||||
|
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
||||||
|
];
|
||||||
|
};
|
||||||
|
nix.extraOptions = ''
|
||||||
|
keep-outputs = true
|
||||||
|
keep-derivations = true
|
||||||
|
${lib.optionalString (
|
||||||
|
# TODO revisit this should it move?
|
||||||
|
config ? age && config.age ? secrets && config.age.secrets ? github_read_token
|
||||||
|
) "!include ${config.age.secrets.github_read_token.path}"}
|
||||||
|
'';
|
||||||
|
|
||||||
|
# Enable zsh
|
||||||
|
programs.zsh.enable = true;
|
||||||
|
environment.pathsToLink = [ "/share/zsh" ];
|
||||||
|
|
||||||
|
# nix helper
|
||||||
|
programs.nh = {
|
||||||
|
enable = true;
|
||||||
|
# clean.enable = true; # TODO revist does this solve my re-building issues?
|
||||||
|
clean.extraArgs = "--keep 10";
|
||||||
|
# `flake` path is set in users/default.nix for the primary user if set
|
||||||
|
};
|
||||||
|
|
||||||
|
# Remote build off home lio computer
|
||||||
|
programs.ssh.extraConfig = lib.mkIf (!cfg.disableRemoteBuildsOnLio) ''
|
||||||
|
Host lio_
|
||||||
|
PubkeyAcceptedKeyTypes ssh-ed25519
|
||||||
|
ServerAliveInterval 60
|
||||||
|
IPQoS throughput
|
||||||
|
${lib.optionalString (
|
||||||
|
config ? age && config.age ? secrets && config.age.secrets ? nix2lio
|
||||||
|
) "IdentityFile ${config.age.secrets.nix2lio.path}"}
|
||||||
|
'';
|
||||||
|
nix = {
|
||||||
|
distributedBuilds = lib.mkIf (!cfg.disableRemoteBuildsOnLio) true;
|
||||||
|
buildMachines = lib.mkIf (!cfg.disableRemoteBuildsOnLio) [
|
||||||
|
{
|
||||||
|
hostName = "lio";
|
||||||
|
system = "x86_64-linux";
|
||||||
|
protocol = "ssh-ng";
|
||||||
|
maxJobs = 32;
|
||||||
|
speedFactor = 2;
|
||||||
|
supportedFeatures = [
|
||||||
|
"nixos-test"
|
||||||
|
"benchmark"
|
||||||
|
"big-parallel"
|
||||||
|
"kvm"
|
||||||
|
"uid-range" # Often helpful
|
||||||
|
];
|
||||||
|
mandatoryFeatures = [ ];
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
# TODO can I make this Roaming automatically somehow?
|
||||||
|
time.timeZone = cfg.timezone;
|
||||||
|
# Select internationalization properties.
|
||||||
|
i18n.defaultLocale = cfg.defaultLocal;
|
||||||
|
i18n.extraLocaleSettings = {
|
||||||
|
LC_ADDRESS = cfg.defaultLocal;
|
||||||
|
LC_IDENTIFICATION = cfg.defaultLocal;
|
||||||
|
LC_MEASUREMENT = cfg.defaultLocal;
|
||||||
|
LC_MONETARY = cfg.defaultLocal;
|
||||||
|
LC_NAME = cfg.defaultLocal;
|
||||||
|
LC_NUMERIC = cfg.defaultLocal;
|
||||||
|
LC_PAPER = cfg.defaultLocal;
|
||||||
|
LC_TELEPHONE = cfg.defaultLocal;
|
||||||
|
LC_TIME = cfg.defaultLocal;
|
||||||
|
};
|
||||||
|
|
||||||
|
# Turn off sleep
|
||||||
|
systemd.sleep.extraConfig = lib.mkIf (!cfg.enableSleep) ''
|
||||||
|
[Sleep]
|
||||||
|
AllowSuspend=no
|
||||||
|
AllowHibernation=no
|
||||||
|
AllowSuspendThenHibernate=no
|
||||||
|
AllowHybridSleep=no
|
||||||
|
'';
|
||||||
|
|
||||||
|
# Hide boot logs
|
||||||
|
boot.initrd.verbose = cfg.hideBootLogs;
|
||||||
|
boot.consoleLogLevel = lib.mkIf cfg.hideBootLogs 3;
|
||||||
|
boot.kernelParams = lib.mkIf cfg.hideBootLogs [
|
||||||
|
"quiet"
|
||||||
|
"loglevel=3"
|
||||||
|
"systemd.show_status=false"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
59
common/general/fonts.nix
Normal file
59
common/general/fonts.nix
Normal file
|
|
@ -0,0 +1,59 @@
|
||||||
|
{
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
config,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
hasNewJetbrainsMono =
|
||||||
|
if builtins.hasAttr "nerd-fonts" pkgs then
|
||||||
|
builtins.hasAttr "jetbrains-mono" pkgs."nerd-fonts"
|
||||||
|
else
|
||||||
|
false;
|
||||||
|
|
||||||
|
jetbrainsMonoFont =
|
||||||
|
if hasNewJetbrainsMono then
|
||||||
|
pkgs.nerd-fonts.jetbrains-mono
|
||||||
|
else
|
||||||
|
(pkgs.nerdfonts.override { fonts = [ "JetBrainsMono" ]; });
|
||||||
|
|
||||||
|
ccfg = import ../config.nix;
|
||||||
|
cfg_path = [
|
||||||
|
ccfg.custom_config_key
|
||||||
|
"general"
|
||||||
|
];
|
||||||
|
cfg = lib.attrsets.getAttrFromPath cfg_path config;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
options =
|
||||||
|
{ }
|
||||||
|
// lib.attrsets.setAttrByPath cfg_path {
|
||||||
|
jetbrainsMonoFont = lib.mkOption {
|
||||||
|
type = lib.types.bool;
|
||||||
|
default = true;
|
||||||
|
description = "Enable jetbrains mono font";
|
||||||
|
};
|
||||||
|
japaneseFonts = lib.mkOption {
|
||||||
|
type = lib.types.bool;
|
||||||
|
default = true;
|
||||||
|
description = "Enable japanese fonts";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
config = {
|
||||||
|
fonts.packages =
|
||||||
|
lib.optionals cfg.jetbrainsMonoFont [
|
||||||
|
jetbrainsMonoFont
|
||||||
|
]
|
||||||
|
++ lib.optionals cfg.japaneseFonts (
|
||||||
|
with pkgs;
|
||||||
|
[
|
||||||
|
ipafont
|
||||||
|
kochi-substitute
|
||||||
|
noto-fonts-cjk-sans # Or another CJK font
|
||||||
|
]
|
||||||
|
);
|
||||||
|
|
||||||
|
fonts.fontconfig.enable = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
80
common/general/reporting.nix
Normal file
80
common/general/reporting.nix
Normal file
|
|
@ -0,0 +1,80 @@
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
config,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
ccfg = import ../config.nix;
|
||||||
|
cfg_path = [
|
||||||
|
ccfg.custom_config_key
|
||||||
|
"general"
|
||||||
|
"reporting"
|
||||||
|
];
|
||||||
|
cfg = lib.attrsets.getAttrFromPath cfg_path config;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
options =
|
||||||
|
{ }
|
||||||
|
// lib.attrsets.setAttrByPath cfg_path {
|
||||||
|
enable = lib.mkEnableOption "Reporting node info and logs to grafana";
|
||||||
|
lokiUrl = lib.mkOption {
|
||||||
|
type = lib.types.str;
|
||||||
|
default = "http://h001.net.joshuabell.xyz:3100/loki/api/v1/push";
|
||||||
|
description = "URL of the Loki instance to send logs to";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
config = lib.mkIf cfg.enable {
|
||||||
|
services.prometheus.exporters.node = {
|
||||||
|
enable = true;
|
||||||
|
port = 9100;
|
||||||
|
};
|
||||||
|
|
||||||
|
# Create necessary directories with appropriate permissions
|
||||||
|
systemd.tmpfiles.rules = [
|
||||||
|
"d /tmp/positions 1777 - - -" # World-writable directory for positions file
|
||||||
|
"f /tmp/positions.yaml 0666 - - -" # World-writable positions file
|
||||||
|
];
|
||||||
|
users.groups.systemd-journal.members = [ "promtail" ];
|
||||||
|
services.promtail = {
|
||||||
|
enable = true;
|
||||||
|
extraFlags = [
|
||||||
|
"-config.expand-env=true"
|
||||||
|
];
|
||||||
|
configuration = {
|
||||||
|
server = {
|
||||||
|
http_listen_port = 9080;
|
||||||
|
grpc_listen_port = 0;
|
||||||
|
};
|
||||||
|
positions = {
|
||||||
|
filename = "/tmp/positions.yaml"; # Changed from /var/lib/promtail/positions.yaml
|
||||||
|
};
|
||||||
|
clients = [
|
||||||
|
{
|
||||||
|
url = cfg.lokiUrl;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
scrape_configs = [
|
||||||
|
{
|
||||||
|
job_name = "journal";
|
||||||
|
journal = {
|
||||||
|
json = false;
|
||||||
|
max_age = "12h";
|
||||||
|
path = "/var/log/journal";
|
||||||
|
labels = {
|
||||||
|
job = "systemd-journal";
|
||||||
|
host = config.networking.hostName;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
relabel_configs = [
|
||||||
|
{
|
||||||
|
source_labels = [ "__journal__systemd_unit" ];
|
||||||
|
target_label = "unit";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -175,61 +175,10 @@ branch() {
|
||||||
echo "Creating new worktree for branch '$branch_name' at '$wt_path'."
|
echo "Creating new worktree for branch '$branch_name' at '$wt_path'."
|
||||||
|
|
||||||
# Try to add or update worktree from the resolved ref. Use a fallback path if needed.
|
# Try to add or update worktree from the resolved ref. Use a fallback path if needed.
|
||||||
|
|
||||||
_branch__post_setup() {
|
|
||||||
local repo_dir="$1" wt_path="$2"
|
|
||||||
# Sentinel in worktree-specific git dir to avoid re-running
|
|
||||||
local git_dir sentinel
|
|
||||||
git_dir=$(git -C "$wt_path" rev-parse --git-dir 2>/dev/null || true)
|
|
||||||
sentinel="$git_dir/post-setup.done"
|
|
||||||
if [ -f "$sentinel" ]; then
|
|
||||||
return 0
|
|
||||||
fi
|
|
||||||
_branch__auto_link "$repo_dir" "$wt_path" || true
|
|
||||||
_branch__bootstrap "$repo_dir" "$wt_path" || true
|
|
||||||
: > "$sentinel" 2>/dev/null || true
|
|
||||||
}
|
|
||||||
|
|
||||||
_branch__auto_link() {
|
|
||||||
local repo_dir="$1" wt_path="$2"
|
|
||||||
local has_cfg
|
|
||||||
has_cfg=$(git -C "$repo_dir" config --get-all worktree.autolink 2>/dev/null | wc -l)
|
|
||||||
if [ "${BRANCH_AUTOLINK:-0}" -eq 1 ] || [ "$has_cfg" -gt 0 ]; then
|
|
||||||
if command -v link_ignored >/dev/null 2>&1; then
|
|
||||||
( cd "$wt_path" && link_ignored --auto --no-fzf ) || true
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
_branch__bootstrap() {
|
|
||||||
local repo_dir="$1" wt_path="$2"
|
|
||||||
local mode cmd
|
|
||||||
mode=$(git -C "$repo_dir" config --get worktree.bootstrap 2>/dev/null || true)
|
|
||||||
if [ -n "${BRANCH_BOOTSTRAP_CMD:-}" ]; then
|
|
||||||
cmd="$BRANCH_BOOTSTRAP_CMD"
|
|
||||||
elif [ -n "$mode" ]; then
|
|
||||||
cmd="$mode"
|
|
||||||
else
|
|
||||||
case "${BRANCH_BOOTSTRAP:-skip}" in
|
|
||||||
auto)
|
|
||||||
if [ -f "$wt_path/pnpm-lock.yaml" ]; then cmd="pnpm i --frozen-lockfile"
|
|
||||||
elif [ -f "$wt_path/yarn.lock" ]; then cmd="yarn install --frozen-lockfile || yarn install --immutable"
|
|
||||||
elif [ -f "$wt_path/package-lock.json" ]; then cmd="npm ci"
|
|
||||||
else cmd=""; fi
|
|
||||||
;;
|
|
||||||
skip|0|false) cmd="" ;;
|
|
||||||
1|true) cmd="npm ci" ;;
|
|
||||||
esac
|
|
||||||
fi
|
|
||||||
[ -z "$cmd" ] && return 0
|
|
||||||
( cd "$wt_path" && eval "$cmd" ) || true
|
|
||||||
}
|
|
||||||
|
|
||||||
if [ "$local_exists" -eq 1 ]; then
|
if [ "$local_exists" -eq 1 ]; then
|
||||||
if git -C "$repo_dir" worktree add "$wt_path" "$branch_name" 2>/dev/null; then
|
if git -C "$repo_dir" worktree add "$wt_path" "$branch_name" 2>/dev/null; then
|
||||||
cd "$wt_path" || return 1
|
cd "$wt_path" || return 1
|
||||||
_branch__maybe_set_tmux_name "$branch_name" "$prev_branch" || true
|
_branch__maybe_set_tmux_name "$branch_name" "$prev_branch" || true
|
||||||
_branch__post_setup "$repo_dir" "$wt_path" || true
|
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
@ -237,7 +186,6 @@ branch() {
|
||||||
if git -C "$repo_dir" worktree add -b "$branch_name" "$wt_path" "$branch_from" 2>/dev/null; then
|
if git -C "$repo_dir" worktree add -b "$branch_name" "$wt_path" "$branch_from" 2>/dev/null; then
|
||||||
cd "$wt_path" || return 1
|
cd "$wt_path" || return 1
|
||||||
_branch__maybe_set_tmux_name "$branch_name" "$prev_branch" || true
|
_branch__maybe_set_tmux_name "$branch_name" "$prev_branch" || true
|
||||||
_branch__post_setup "$repo_dir" "$wt_path" || true
|
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
@ -249,7 +197,6 @@ branch() {
|
||||||
if git -C "$repo_dir" worktree add "$wt_path" "$branch_name" 2>/dev/null; then
|
if git -C "$repo_dir" worktree add "$wt_path" "$branch_name" 2>/dev/null; then
|
||||||
cd "$wt_path" || return 1
|
cd "$wt_path" || return 1
|
||||||
_branch__maybe_set_tmux_name "$branch_name" "$prev_branch" || true
|
_branch__maybe_set_tmux_name "$branch_name" "$prev_branch" || true
|
||||||
_branch__post_setup "$repo_dir" "$wt_path" || true
|
|
||||||
return 0
|
return 0
|
||||||
else
|
else
|
||||||
git -C "$repo_dir" branch -D "$branch_name" 2>/dev/null || true
|
git -C "$repo_dir" branch -D "$branch_name" 2>/dev/null || true
|
||||||
73
common/general/shell/common.nix
Normal file
73
common/general/shell/common.nix
Normal file
|
|
@ -0,0 +1,73 @@
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
with lib;
|
||||||
|
{
|
||||||
|
config = {
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
# Basics
|
||||||
|
vim
|
||||||
|
nano
|
||||||
|
wget
|
||||||
|
curl
|
||||||
|
jq
|
||||||
|
fastfetch
|
||||||
|
bat
|
||||||
|
htop
|
||||||
|
unzip
|
||||||
|
git
|
||||||
|
fzf
|
||||||
|
ripgrep
|
||||||
|
lsof
|
||||||
|
killall
|
||||||
|
hdparm
|
||||||
|
speedtest-cli
|
||||||
|
lf
|
||||||
|
];
|
||||||
|
|
||||||
|
environment.shellAliases = {
|
||||||
|
n = "nvim";
|
||||||
|
nn = "nvim --headless '+SessionDelete' +qa > /dev/null 2>&1 && nvim";
|
||||||
|
bat = "bat --theme Coldark-Dark";
|
||||||
|
cat = "bat --pager=never -p";
|
||||||
|
# TODO this may not be needed now that I am using `nh` clean mode (see /hosts/_common/configuration.nix#programs.nh)
|
||||||
|
nix-boot-clean = "find '/boot/loader/entries' -type f ! -name 'windows.conf' | head -n -4 | xargs -I {} rm {}; nix store gc; nixos-rebuild boot; echo; df";
|
||||||
|
ndr = "nix-direnv-reload";
|
||||||
|
|
||||||
|
# general unix
|
||||||
|
date_compact = "date +'%Y%m%d'";
|
||||||
|
date_short = "date +'%Y-%m-%d'";
|
||||||
|
ls = "ls --color -Gah";
|
||||||
|
ll = "ls --color -Galh";
|
||||||
|
lss = "du --max-depth=0 -h {.,}* 2>/dev/null | sort -hr";
|
||||||
|
psg = "ps aux | head -n 1 && ps aux | grep -v 'grep' | grep";
|
||||||
|
cl = "clear";
|
||||||
|
|
||||||
|
# git
|
||||||
|
status = "git status";
|
||||||
|
diff = "git diff";
|
||||||
|
branches = "git branch -a";
|
||||||
|
gcam = "git commit -a -m";
|
||||||
|
gcm = "git commit -m";
|
||||||
|
stashes = "git stash list";
|
||||||
|
bd = "branch default";
|
||||||
|
li = "link_ignored";
|
||||||
|
bx = "branchdel";
|
||||||
|
b = "branch";
|
||||||
|
|
||||||
|
# ripgrep
|
||||||
|
rg = "rg --no-ignore";
|
||||||
|
rgf = "rg --files --glob '!/nix/store/**' 2>/dev/null | rg";
|
||||||
|
};
|
||||||
|
|
||||||
|
environment.shellInit = lib.concatStringsSep "\n\n" [
|
||||||
|
(builtins.readFile ./common.sh)
|
||||||
|
(builtins.readFile ./tmux_helpers.sh)
|
||||||
|
(builtins.readFile ./branch.func.sh)
|
||||||
|
(builtins.readFile ./branchd.func.sh)
|
||||||
|
(builtins.readFile ./link_ignored.func.sh)
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -1,3 +1,70 @@
|
||||||
|
# Check if ~/.config/environment exists and source all files within it
|
||||||
|
if [ -d "$HOME/.config/environment" ]; then
|
||||||
|
for file in "$HOME/.config/environment/"*; do
|
||||||
|
if [ -r "$file" ]; then
|
||||||
|
if ! . "$file"; then
|
||||||
|
echo "Failed to source $file"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Basics
|
||||||
|
htop_psg () {
|
||||||
|
htop -p $(psg $1 | awk '{r=r s $2;s=","} END{print r}')
|
||||||
|
}
|
||||||
|
|
||||||
|
htop_pid () {
|
||||||
|
htop -p $(ps -ef | awk -v proc=$1 '$3 == proc { cnt++;if (cnt == 1) { printf "%s",$2 } else { printf ",%s",$2 } }')
|
||||||
|
}
|
||||||
|
|
||||||
|
psg_kill() {
|
||||||
|
ps aux | grep -v "grep" | grep "${1}" | awk '{print $2}' | while read -r pid; do
|
||||||
|
if [ -n "${pid}" ]; then
|
||||||
|
echo "killing ${pid}"
|
||||||
|
kill -9 "${pid}" &> /dev/null
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
psg_terminate() {
|
||||||
|
ps aux | grep -v "grep" | grep "${1}" | awk '{print $2}' | while read -r pid; do
|
||||||
|
if [ -n "${pid}" ]; then
|
||||||
|
echo "Terminating ${pid}"
|
||||||
|
kill -15 "${pid}" &> /dev/null
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
psg_skill() {
|
||||||
|
ps aux | grep -v "grep" | grep "${1}" | awk '{print $2}' | while read -r pid; do
|
||||||
|
if [ -n "${pid}" ]; then
|
||||||
|
echo "Killing ${pid}"
|
||||||
|
sudo kill -9 "${pid}" &> /dev/null
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
mail_clear() {
|
||||||
|
: > /var/mail/$USER
|
||||||
|
}
|
||||||
|
|
||||||
|
speedtest_fs () {
|
||||||
|
dir=$(pwd)
|
||||||
|
drive=$(df -h ${dir} | awk 'NR==2 {print $1}')
|
||||||
|
echo Testing read speeds on drive ${drive}
|
||||||
|
sudo hdparm -Tt ${drive}
|
||||||
|
test_file=$(date +%u%m%d)
|
||||||
|
test_file="${dir}/speedtest_fs_${test_file}"
|
||||||
|
echo
|
||||||
|
echo Testing write speeds into test file: ${test_file}
|
||||||
|
dd if=/dev/zero of=${test_file} bs=8k count=10k; rm -f ${test_file}
|
||||||
|
}
|
||||||
|
|
||||||
|
speedtest_internet () {
|
||||||
|
speedtest-cli
|
||||||
|
}
|
||||||
|
|
||||||
# git
|
# git
|
||||||
getdefault () {
|
getdefault () {
|
||||||
git remote show origin | grep "HEAD branch" | sed 's/.*: //'
|
git remote show origin | grep "HEAD branch" | sed 's/.*: //'
|
||||||
|
|
@ -78,7 +145,7 @@ stash() {
|
||||||
read -e -p "Stash label [default: $default_label]: " label
|
read -e -p "Stash label [default: $default_label]: " label
|
||||||
fi
|
fi
|
||||||
label=${label:-$default_label}
|
label=${label:-$default_label}
|
||||||
git stash push -u -k -m "$label"
|
git stash push -m "$label"
|
||||||
}
|
}
|
||||||
|
|
||||||
pop() {
|
pop() {
|
||||||
|
|
@ -105,6 +172,20 @@ delstash() {
|
||||||
git stash drop "$stash_ref"
|
git stash drop "$stash_ref"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# nix
|
||||||
|
alias nixpkgs=nixpkg
|
||||||
|
nixpkg () {
|
||||||
|
if [ $# -eq 0 ]; then
|
||||||
|
echo "Error: No arguments provided. Please specify at least one package."
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
cmd="nix shell"
|
||||||
|
for pkg in "$@"; do
|
||||||
|
cmd="$cmd \"nixpkgs#$pkg\""
|
||||||
|
done
|
||||||
|
eval $cmd
|
||||||
|
}
|
||||||
|
|
||||||
# Marks some files as in "git" but they won't actually get pushed up to the git repo
|
# Marks some files as in "git" but they won't actually get pushed up to the git repo
|
||||||
# Usefull for `gintent .envrc flake.lock flake.nix` to add nix items required by flakes in a git repo that won't want flakes added
|
# Usefull for `gintent .envrc flake.lock flake.nix` to add nix items required by flakes in a git repo that won't want flakes added
|
||||||
gintent() {
|
gintent() {
|
||||||
|
|
@ -131,3 +212,9 @@ gintent_undo() {
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
alias gintentnix_undo="gintent_undo .envrc flake.lock flake.nix"
|
alias gintentnix_undo="gintent_undo .envrc flake.lock flake.nix"
|
||||||
|
|
||||||
|
|
||||||
|
# Aider
|
||||||
|
aider () {
|
||||||
|
http_proxy="" all_proxy="" https_proxy="" AZURE_API_BASE=http://100.64.0.8 AZURE_API_VERSION=2025-01-01-preview AZURE_API_KEY=1 nix run "nixpkgs#aider-chat-full" -- aider --dark-mode --no-gitignore --no-check-update --no-auto-commits --model azure/gpt-4.1-2025-04-14 $@
|
||||||
|
}
|
||||||
|
|
@ -1,14 +1,12 @@
|
||||||
link_ignored() {
|
link_ignored() {
|
||||||
local DRY_RUN=0
|
local DRY_RUN=0
|
||||||
local USE_FZF=1
|
local USE_FZF=1
|
||||||
local AUTO=0
|
|
||||||
local -a PATTERNS=()
|
local -a PATTERNS=()
|
||||||
|
|
||||||
while [ $# -gt 0 ]; do
|
while [ $# -gt 0 ]; do
|
||||||
case "$1" in
|
case "$1" in
|
||||||
--dry-run) DRY_RUN=1; shift ;;
|
--dry-run) DRY_RUN=1; shift ;;
|
||||||
--no-fzf) USE_FZF=0; shift ;;
|
--no-fzf) USE_FZF=0; shift ;;
|
||||||
--auto) AUTO=1; shift ;;
|
|
||||||
-h|--help) link_ignored_usage; return 0 ;;
|
-h|--help) link_ignored_usage; return 0 ;;
|
||||||
--) shift; break ;;
|
--) shift; break ;;
|
||||||
*) PATTERNS+=("$1"); shift ;;
|
*) PATTERNS+=("$1"); shift ;;
|
||||||
|
|
@ -17,16 +15,11 @@ link_ignored() {
|
||||||
|
|
||||||
link_ignored_usage() {
|
link_ignored_usage() {
|
||||||
cat <<EOF
|
cat <<EOF
|
||||||
Usage: link_ignored [--dry-run] [--no-fzf] [--auto] [pattern ...]
|
Usage: link_ignored [--dry-run] [--no-fzf] [pattern ...]
|
||||||
|
|
||||||
Interactively or non-interactively create symlinks in the current worktree
|
Interactively or non-interactively create symlinks in the current worktree
|
||||||
for files/dirs that exist in the main repository root but are git-ignored /
|
for files/dirs that exist in the main repository root but are git-ignored /
|
||||||
untracked.
|
untracked.
|
||||||
|
|
||||||
Defaults:
|
|
||||||
- If no patterns provided, tries git config worktree.autolink (multi)
|
|
||||||
- Else falls back to env LINK_IGNORED_DEFAULTS (space-separated)
|
|
||||||
- With --auto and defaults present, skips fzf and links immediately
|
|
||||||
EOF
|
EOF
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -45,38 +38,6 @@ EOF
|
||||||
return 2
|
return 2
|
||||||
fi
|
fi
|
||||||
|
|
||||||
_li_load_defaults() {
|
|
||||||
local -a cfg=()
|
|
||||||
while IFS= read -r line; do
|
|
||||||
[ -n "$line" ] && cfg+=("$line")
|
|
||||||
done < <(git -C "$repo_root" config --get-all worktree.autolink 2>/dev/null || true)
|
|
||||||
|
|
||||||
if [ ${#cfg[@]} -gt 0 ]; then
|
|
||||||
PATTERNS=("${cfg[@]}")
|
|
||||||
return 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -n "${LINK_IGNORED_DEFAULTS:-}" ]; then
|
|
||||||
if [ -n "${ZSH_VERSION:-}" ]; then
|
|
||||||
eval "PATTERNS=(${=LINK_IGNORED_DEFAULTS})"
|
|
||||||
else
|
|
||||||
read -r -a PATTERNS <<< "$LINK_IGNORED_DEFAULTS"
|
|
||||||
fi
|
|
||||||
return 0
|
|
||||||
fi
|
|
||||||
return 1
|
|
||||||
}
|
|
||||||
|
|
||||||
# Try to load defaults if none provided
|
|
||||||
if [ ${#PATTERNS[@]} -eq 0 ]; then
|
|
||||||
_li_load_defaults || true
|
|
||||||
fi
|
|
||||||
|
|
||||||
# If AUTO requested and we have patterns, skip fzf
|
|
||||||
if [ $AUTO -eq 1 ] && [ ${#PATTERNS[@]} -gt 0 ]; then
|
|
||||||
USE_FZF=0
|
|
||||||
fi
|
|
||||||
|
|
||||||
local -a candidates=()
|
local -a candidates=()
|
||||||
while IFS= read -r -d '' file; do
|
while IFS= read -r -d '' file; do
|
||||||
candidates+=("$file")
|
candidates+=("$file")
|
||||||
|
|
@ -99,18 +60,6 @@ EOF
|
||||||
[ "$found" -eq 0 ] && tops+=("$top")
|
[ "$found" -eq 0 ] && tops+=("$top")
|
||||||
done
|
done
|
||||||
|
|
||||||
# Hard-coded top-level excludes to avoid noisy build outputs
|
|
||||||
local -a EXCLUDES=(build dist)
|
|
||||||
if [ ${#tops[@]} -gt 0 ]; then
|
|
||||||
local -a tops_filtered=()
|
|
||||||
for t in "${tops[@]}"; do
|
|
||||||
local skip=0
|
|
||||||
for e in "${EXCLUDES[@]}"; do [ "$t" = "$e" ] && skip=1 && break; done
|
|
||||||
[ $skip -eq 0 ] && tops_filtered+=("$t")
|
|
||||||
done
|
|
||||||
tops=("${tops_filtered[@]}")
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ ${#tops[@]} -eq 0 ]; then
|
if [ ${#tops[@]} -eq 0 ]; then
|
||||||
echo "No top-level ignored/untracked entries found in $repo_root"
|
echo "No top-level ignored/untracked entries found in $repo_root"
|
||||||
return 0
|
return 0
|
||||||
|
|
@ -138,7 +87,7 @@ EOF
|
||||||
local -a chosen
|
local -a chosen
|
||||||
if command -v fzf >/dev/null 2>&1 && [ "$USE_FZF" -eq 1 ]; then
|
if command -v fzf >/dev/null 2>&1 && [ "$USE_FZF" -eq 1 ]; then
|
||||||
local selected
|
local selected
|
||||||
selected=$(printf "%s\n" "${filtered[@]}" | fzf --multi --height=40% --border --prompt="Select items to link: " --preview "if [ -f '$repo_root'/{} ]; then bat --color always --paging=never --style=plain '$repo_root'/{}; else ls -la '$repo_root'/{}; fi")
|
selected=$(printf "%s\n" "${filtered[@]}" | fzf --multi --height=40% --border --prompt="Select files to link: " --preview "if [ -f '$repo_root'/{} ]; then bat --color always --paging=never --style=plain '$repo_root'/{}; else ls -la '$repo_root'/{}; fi")
|
||||||
if [ -z "$selected" ]; then
|
if [ -z "$selected" ]; then
|
||||||
echo "No files selected." && return 0
|
echo "No files selected." && return 0
|
||||||
fi
|
fi
|
||||||
33
common/general/tty_caps_esc.nix
Normal file
33
common/general/tty_caps_esc.nix
Normal file
|
|
@ -0,0 +1,33 @@
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
config,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
ccfg = import ../config.nix;
|
||||||
|
cfg_path = [
|
||||||
|
ccfg.custom_config_key
|
||||||
|
"general"
|
||||||
|
];
|
||||||
|
cfg = lib.attrsets.getAttrFromPath cfg_path config;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
options =
|
||||||
|
{ }
|
||||||
|
// lib.attrsets.setAttrByPath cfg_path {
|
||||||
|
ttyCapsEscape = lib.mkOption {
|
||||||
|
type = lib.types.bool;
|
||||||
|
default = true;
|
||||||
|
description = "Enable caps for escape key";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
config = lib.mkIf cfg.ttyCapsEscape {
|
||||||
|
services.xserver.xkb.options = "caps:escape";
|
||||||
|
console = {
|
||||||
|
earlySetup = true;
|
||||||
|
packages = with pkgs; [ terminus_font ];
|
||||||
|
useXkbConfig = true; # use xkb.options in tty. (caps -> escape)
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
18
common/options.nix
Normal file
18
common/options.nix
Normal file
|
|
@ -0,0 +1,18 @@
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
ccfg = import ./config.nix;
|
||||||
|
cfg_path = "${ccfg.custom_config_key}";
|
||||||
|
cfg = config.${cfg_path};
|
||||||
|
in
|
||||||
|
{
|
||||||
|
options.${cfg_path} = {
|
||||||
|
systemName = lib.mkOption {
|
||||||
|
type = lib.types.str;
|
||||||
|
description = "The name of the system.";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
43
common/programs/default.nix
Normal file
43
common/programs/default.nix
Normal file
|
|
@ -0,0 +1,43 @@
|
||||||
|
{ config, lib, ... }:
|
||||||
|
let
|
||||||
|
ccfg = import ../config.nix;
|
||||||
|
cfg = config.${ccfg.custom_config_key}.programs;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
./qFlipper.nix
|
||||||
|
./rustDev.nix
|
||||||
|
./uhkAgent.nix
|
||||||
|
./tailnet.nix
|
||||||
|
./ssh.nix
|
||||||
|
./docker.nix
|
||||||
|
./podman.nix
|
||||||
|
./incus.nix
|
||||||
|
./flatpaks.nix
|
||||||
|
./virt-manager.nix
|
||||||
|
];
|
||||||
|
config = {
|
||||||
|
assertions = [
|
||||||
|
(
|
||||||
|
let
|
||||||
|
enabledVirtualizers = lib.filter (x: x.enabled) [
|
||||||
|
{
|
||||||
|
name = "docker";
|
||||||
|
enabled = cfg.docker.enable;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name = "podman";
|
||||||
|
enabled = cfg.podman.enable;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
in
|
||||||
|
{
|
||||||
|
assertion = lib.length enabledVirtualizers <= 1;
|
||||||
|
message =
|
||||||
|
"Only one virtualizer can be enabled at a time. Enabled: "
|
||||||
|
+ lib.concatStringsSep ", " (map (x: x.name) enabledVirtualizers);
|
||||||
|
}
|
||||||
|
)
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
36
common/programs/docker.nix
Normal file
36
common/programs/docker.nix
Normal file
|
|
@ -0,0 +1,36 @@
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
ccfg = import ../config.nix;
|
||||||
|
cfg_path = [
|
||||||
|
ccfg.custom_config_key
|
||||||
|
"programs"
|
||||||
|
"docker"
|
||||||
|
];
|
||||||
|
cfg = lib.attrsets.getAttrFromPath cfg_path config;
|
||||||
|
users_cfg = config.${ccfg.custom_config_key}.users;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
options =
|
||||||
|
{ }
|
||||||
|
// lib.attrsets.setAttrByPath cfg_path {
|
||||||
|
enable = lib.mkEnableOption "docker";
|
||||||
|
};
|
||||||
|
|
||||||
|
config = lib.mkIf cfg.enable {
|
||||||
|
virtualisation.docker = {
|
||||||
|
enable = true;
|
||||||
|
autoPrune.enable = true;
|
||||||
|
};
|
||||||
|
# TODO add admins?
|
||||||
|
users.extraGroups.docker.members = lib.mkIf (users_cfg.primary != null) [ users_cfg.primary ];
|
||||||
|
environment.shellAliases = {
|
||||||
|
dockerv = "docker volume";
|
||||||
|
dockeri = "docker image";
|
||||||
|
dockerc = "docker container";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
66
common/programs/flatpaks.nix
Normal file
66
common/programs/flatpaks.nix
Normal file
|
|
@ -0,0 +1,66 @@
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
ccfg = import ../config.nix;
|
||||||
|
cfg_path = [
|
||||||
|
ccfg.custom_config_key
|
||||||
|
"programs"
|
||||||
|
"flatpaks"
|
||||||
|
];
|
||||||
|
cfg = lib.attrsets.getAttrFromPath cfg_path config;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
options =
|
||||||
|
{ }
|
||||||
|
// lib.attrsets.setAttrByPath cfg_path {
|
||||||
|
enable = lib.mkEnableOption "flatpaks";
|
||||||
|
packages = lib.mkOption {
|
||||||
|
type = lib.types.listOf lib.types.str;
|
||||||
|
default = [ ];
|
||||||
|
description = "List of Flatpak package names to install.";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
config = lib.mkIf cfg.enable {
|
||||||
|
services.flatpak = {
|
||||||
|
enable = true;
|
||||||
|
packages = cfg.packages;
|
||||||
|
overrides = {
|
||||||
|
global = {
|
||||||
|
Context.sockets = [
|
||||||
|
"wayland"
|
||||||
|
"x11"
|
||||||
|
];
|
||||||
|
Context.devices = [ "dri" ]; # allow GPU access if desired
|
||||||
|
Environment = {
|
||||||
|
XCURSOR_PATH = "/run/host/user-share/icons:/run/host/share/icons";
|
||||||
|
GTK_THEME = "Adwaita:dark";
|
||||||
|
# Force wayland as much as possible.
|
||||||
|
ELECTRON_OZONE_PLATFORM_HINT = "auto"; # or 'auto'
|
||||||
|
GTK_USE_PORTAL = "1";
|
||||||
|
OZONE_PLATFORM = "wayland";
|
||||||
|
QT_QPA_PLATFORM = "xcb"; # force XCB for Flatpaks (XWayland)
|
||||||
|
};
|
||||||
|
};
|
||||||
|
"org.signal.Signal" = {
|
||||||
|
Environment = {
|
||||||
|
SIGNAL_PASSWORD_STORE = "gnome-libsecret";
|
||||||
|
};
|
||||||
|
Context = {
|
||||||
|
sockets = [
|
||||||
|
"xfg-settings"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
"com.google.Chrome" = {
|
||||||
|
Environment = {
|
||||||
|
CHROME_EXTRA_ARGS = "--enable-features=WaylandWindowDecorations --ozone-platform-hint=auto";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
33
common/programs/incus.nix
Normal file
33
common/programs/incus.nix
Normal file
|
|
@ -0,0 +1,33 @@
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
ccfg = import ../config.nix;
|
||||||
|
cfg_path = [
|
||||||
|
ccfg.custom_config_key
|
||||||
|
"programs"
|
||||||
|
"incus"
|
||||||
|
];
|
||||||
|
cfg = lib.attrsets.getAttrFromPath cfg_path config;
|
||||||
|
users_cfg = config.${ccfg.custom_config_key}.users;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
options =
|
||||||
|
{ }
|
||||||
|
// lib.attrsets.setAttrByPath cfg_path {
|
||||||
|
enable = lib.mkEnableOption "incus";
|
||||||
|
};
|
||||||
|
|
||||||
|
config = lib.mkIf cfg.enable {
|
||||||
|
virtualisation.incus = {
|
||||||
|
enable = true;
|
||||||
|
agent.enable = true;
|
||||||
|
ui.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
users.extraGroups.incus_admin.members = lib.mkIf (users_cfg.primary != null) [ users_cfg.primary ];
|
||||||
|
users.extraGroups.incus.members = lib.mkIf (users_cfg.primary != null) [ users_cfg.primary ];
|
||||||
|
};
|
||||||
|
}
|
||||||
32
common/programs/podman.nix
Normal file
32
common/programs/podman.nix
Normal file
|
|
@ -0,0 +1,32 @@
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
ccfg = import ../config.nix;
|
||||||
|
cfg_path = [
|
||||||
|
ccfg.custom_config_key
|
||||||
|
"programs"
|
||||||
|
"podman"
|
||||||
|
];
|
||||||
|
cfg = lib.attrsets.getAttrFromPath cfg_path config;
|
||||||
|
users_cfg = config.${ccfg.custom_config_key}.users;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
options =
|
||||||
|
{ }
|
||||||
|
// lib.attrsets.setAttrByPath cfg_path {
|
||||||
|
enable = lib.mkEnableOption "podman";
|
||||||
|
};
|
||||||
|
|
||||||
|
config = lib.mkIf cfg.enable {
|
||||||
|
virtualisation.podman = {
|
||||||
|
enable = true;
|
||||||
|
dockerSocket.enable = true;
|
||||||
|
autoPrune.enable = true;
|
||||||
|
};
|
||||||
|
# TODO add admins?
|
||||||
|
users.extraGroups.podman.members = lib.mkIf (users_cfg.primary != null) [ users_cfg.primary ];
|
||||||
|
};
|
||||||
|
}
|
||||||
33
common/programs/qFlipper.nix
Normal file
33
common/programs/qFlipper.nix
Normal file
|
|
@ -0,0 +1,33 @@
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
ccfg = import ../config.nix;
|
||||||
|
cfg_path = [
|
||||||
|
ccfg.custom_config_key
|
||||||
|
"programs"
|
||||||
|
"qFlipper"
|
||||||
|
];
|
||||||
|
cfg = lib.attrsets.getAttrFromPath cfg_path config;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
options =
|
||||||
|
{ }
|
||||||
|
// lib.attrsets.setAttrByPath cfg_path {
|
||||||
|
enable = lib.mkEnableOption "qFlipper";
|
||||||
|
};
|
||||||
|
|
||||||
|
config = lib.mkIf cfg.enable {
|
||||||
|
hardware.flipperzero.enable = true;
|
||||||
|
environment.systemPackages = with pkgs; [ qFlipper ];
|
||||||
|
services.udev.extraRules = ''
|
||||||
|
#Flipper Zero serial port
|
||||||
|
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="5740", ATTRS{manufacturer}=="Flipper Devices Inc.", GROUP="users", TAG+="uaccess"
|
||||||
|
#Flipper Zero DFU
|
||||||
|
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="df11", ATTRS{manufacturer}=="STMicroelectronics", GROUP="users", TAG+="uaccess"
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
}
|
||||||
53
common/programs/rustDev.nix
Normal file
53
common/programs/rustDev.nix
Normal file
|
|
@ -0,0 +1,53 @@
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
ccfg = import ../config.nix;
|
||||||
|
cfg_path = [
|
||||||
|
ccfg.custom_config_key
|
||||||
|
"programs"
|
||||||
|
"rustDev"
|
||||||
|
];
|
||||||
|
cfg = lib.attrsets.getAttrFromPath cfg_path config;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
options =
|
||||||
|
{ }
|
||||||
|
// lib.attrsets.setAttrByPath cfg_path {
|
||||||
|
enable = lib.mkEnableOption "rust development tools";
|
||||||
|
repl = lib.mkOption {
|
||||||
|
type = lib.types.bool;
|
||||||
|
default = true;
|
||||||
|
description = "Enable the evcxr repl for `rust` command.";
|
||||||
|
};
|
||||||
|
# TODO?
|
||||||
|
# channel = lib.mkOption {
|
||||||
|
# type = lib.types.str;
|
||||||
|
# default = "stable";
|
||||||
|
# description = "The Rust release channel to use (e.g., stable, beta, nightly).";
|
||||||
|
# };
|
||||||
|
# version = lib.mkOption {
|
||||||
|
# type = lib.types.str;
|
||||||
|
# default = "latest";
|
||||||
|
# description = "The specific version of Rust to use. Use 'latest' for the latest stable release.";
|
||||||
|
# };
|
||||||
|
};
|
||||||
|
|
||||||
|
config = lib.mkIf cfg.enable {
|
||||||
|
environment.systemPackages =
|
||||||
|
with pkgs;
|
||||||
|
[
|
||||||
|
rustup
|
||||||
|
gcc
|
||||||
|
]
|
||||||
|
++ (if cfg.repl then [ pkgs.evcxr ] else [ ]);
|
||||||
|
|
||||||
|
environment.shellAliases = lib.mkIf cfg.repl {
|
||||||
|
rust = "evcxr";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
97
common/programs/ssh.nix
Normal file
97
common/programs/ssh.nix
Normal file
|
|
@ -0,0 +1,97 @@
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
ccfg = import ../config.nix;
|
||||||
|
cfg_path = [
|
||||||
|
ccfg.custom_config_key
|
||||||
|
"programs"
|
||||||
|
"ssh"
|
||||||
|
];
|
||||||
|
cfg = lib.attrsets.getAttrFromPath cfg_path config;
|
||||||
|
users_cfg = config.${ccfg.custom_config_key}.users;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
options =
|
||||||
|
{ }
|
||||||
|
// lib.attrsets.setAttrByPath cfg_path {
|
||||||
|
enable = lib.mkEnableOption "ssh";
|
||||||
|
sshPortOpen = lib.mkOption {
|
||||||
|
type = lib.types.bool;
|
||||||
|
default = true;
|
||||||
|
description = "Open the ssh port.";
|
||||||
|
};
|
||||||
|
fail2Ban = lib.mkOption {
|
||||||
|
type = lib.types.bool;
|
||||||
|
default = true;
|
||||||
|
description = "Enable fail2ban.";
|
||||||
|
};
|
||||||
|
allowPasswordLogin = lib.mkOption {
|
||||||
|
type = lib.types.bool;
|
||||||
|
default = false;
|
||||||
|
description = "Allow root password login.";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
config = lib.mkIf cfg.enable {
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
openssh
|
||||||
|
autossh
|
||||||
|
];
|
||||||
|
|
||||||
|
# Use fail2ban
|
||||||
|
services.fail2ban = lib.mkIf cfg.fail2Ban {
|
||||||
|
enable = true;
|
||||||
|
# Ignore my tailnet
|
||||||
|
ignoreIP = [
|
||||||
|
"100.64.0.0/10"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
# Open ports in the firewall if enabled.
|
||||||
|
networking.firewall.allowedTCPPorts = lib.mkIf cfg.sshPortOpen [
|
||||||
|
22 # sshd
|
||||||
|
];
|
||||||
|
|
||||||
|
# Enable the OpenSSH daemon.
|
||||||
|
services.openssh = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
LogLevel = "VERBOSE";
|
||||||
|
PermitRootLogin = "yes";
|
||||||
|
PasswordAuthentication = cfg.allowPasswordLogin;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
# Ensure SSH key pair generation for non-root users
|
||||||
|
systemd.services = lib.mapAttrs' (name: _: {
|
||||||
|
name = "generate_ssh_key_${name}";
|
||||||
|
value = {
|
||||||
|
description = "Generate SSH key pair for ${name}";
|
||||||
|
wantedBy = [ "multi-user.target" ];
|
||||||
|
serviceConfig = {
|
||||||
|
User = name;
|
||||||
|
Type = "oneshot";
|
||||||
|
};
|
||||||
|
script = ''
|
||||||
|
#!/run/current-system/sw/bin/bash
|
||||||
|
if [ ! -f /home/${name}/.ssh/id_ed25519 ]; then
|
||||||
|
if [ -v DRY_RUN ]; then
|
||||||
|
echo "DRY_RUN is set. Would generate SSH key for ${name}.";
|
||||||
|
else
|
||||||
|
echo "Generating SSH key for ${name}.";
|
||||||
|
mkdir -p /home/${name}/.ssh;
|
||||||
|
chmod 700 /home/${name}/.ssh;
|
||||||
|
/run/current-system/sw/bin/ssh-keygen -t ed25519 -f /home/${name}/.ssh/id_ed25519 -N "";
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
echo "SSH key already exists for ${name}.";
|
||||||
|
fi
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
}) users_cfg.users;
|
||||||
|
};
|
||||||
|
}
|
||||||
53
common/programs/tailnet.nix
Normal file
53
common/programs/tailnet.nix
Normal file
|
|
@ -0,0 +1,53 @@
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
ccfg = import ../config.nix;
|
||||||
|
cfg_path = [
|
||||||
|
ccfg.custom_config_key
|
||||||
|
"programs"
|
||||||
|
"tailnet"
|
||||||
|
];
|
||||||
|
cfg = lib.attrsets.getAttrFromPath cfg_path config;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
options =
|
||||||
|
{ }
|
||||||
|
// lib.attrsets.setAttrByPath cfg_path {
|
||||||
|
enable = lib.mkEnableOption "enable tailnet";
|
||||||
|
useHeadscale = lib.mkOption {
|
||||||
|
type = lib.types.bool;
|
||||||
|
default = true;
|
||||||
|
description = "Whether to use headscale login server.";
|
||||||
|
};
|
||||||
|
enableExitNode = lib.mkOption {
|
||||||
|
type = lib.types.bool;
|
||||||
|
default = false;
|
||||||
|
description = "Whether to enable exit node.";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
config = lib.mkIf cfg.enable {
|
||||||
|
environment.systemPackages = with pkgs; [ tailscale ];
|
||||||
|
services.tailscale = {
|
||||||
|
enable = true;
|
||||||
|
openFirewall = true;
|
||||||
|
useRoutingFeatures = if cfg.enableExitNode then "both" else "client";
|
||||||
|
authKeyFile = lib.mkIf (
|
||||||
|
config ? age && config.age ? secrets && config.age.secrets ? headscale_auth
|
||||||
|
) config.age.secrets.headscale_auth.path;
|
||||||
|
extraUpFlags =
|
||||||
|
(lib.optionals cfg.useHeadscale [
|
||||||
|
"--login-server=https://headscale.joshuabell.xyz"
|
||||||
|
])
|
||||||
|
++ (lib.optionals cfg.enableExitNode [ "--advertise-exit-node" ]);
|
||||||
|
|
||||||
|
};
|
||||||
|
networking.firewall.trustedInterfaces = [ config.services.tailscale.interfaceName ];
|
||||||
|
networking.firewall.checkReversePath = "loose";
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
31
common/programs/uhkAgent.nix
Normal file
31
common/programs/uhkAgent.nix
Normal file
|
|
@ -0,0 +1,31 @@
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
ccfg = import ../config.nix;
|
||||||
|
cfg_path = [
|
||||||
|
ccfg.custom_config_key
|
||||||
|
"programs"
|
||||||
|
"uhkAgent"
|
||||||
|
];
|
||||||
|
cfg = lib.attrsets.getAttrFromPath cfg_path config;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
options =
|
||||||
|
{ }
|
||||||
|
// lib.attrsets.setAttrByPath cfg_path {
|
||||||
|
enable = lib.mkEnableOption "uhk agent (ultimate hacking keyboard)";
|
||||||
|
};
|
||||||
|
|
||||||
|
config = lib.mkIf cfg.enable {
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
uhk-agent
|
||||||
|
uhk-udev-rules
|
||||||
|
];
|
||||||
|
services.udev.packages = [ pkgs.uhk-udev-rules ];
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
42
common/programs/virt-manager.nix
Normal file
42
common/programs/virt-manager.nix
Normal file
|
|
@ -0,0 +1,42 @@
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
ccfg = import ../config.nix;
|
||||||
|
cfg_path = [
|
||||||
|
ccfg.custom_config_key
|
||||||
|
"programs"
|
||||||
|
"virt-manager"
|
||||||
|
];
|
||||||
|
cfg = lib.attrsets.getAttrFromPath cfg_path config;
|
||||||
|
users_cfg = config.${ccfg.custom_config_key}.users;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
options =
|
||||||
|
{ }
|
||||||
|
// lib.attrsets.setAttrByPath cfg_path {
|
||||||
|
enable = lib.mkEnableOption "Enable virt manager/quemu";
|
||||||
|
users = lib.mkOption {
|
||||||
|
type = lib.types.listOf lib.types.str;
|
||||||
|
default = builtins.attrNames users_cfg;
|
||||||
|
description = "Users to configure for virt-manager.";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
config = lib.mkIf cfg.enable {
|
||||||
|
services.qemuGuest.enable = true;
|
||||||
|
services.spice-vdagentd.enable = true;
|
||||||
|
programs.virt-manager = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
virtualisation = {
|
||||||
|
libvirtd.enable = true;
|
||||||
|
spiceUSBRedirection.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
users.groups.libvirtd.members = cfg.users;
|
||||||
|
};
|
||||||
|
}
|
||||||
77
common/secrets/default.nix
Normal file
77
common/secrets/default.nix
Normal file
|
|
@ -0,0 +1,77 @@
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
ragenix,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}@args:
|
||||||
|
|
||||||
|
let
|
||||||
|
ccfg = import ../config.nix;
|
||||||
|
cfg_path = [
|
||||||
|
ccfg.custom_config_key
|
||||||
|
"secrets"
|
||||||
|
];
|
||||||
|
cfg = lib.attrsets.getAttrFromPath cfg_path config;
|
||||||
|
users_cfg = config.${ccfg.custom_config_key}.users;
|
||||||
|
|
||||||
|
secretsRaw = import ./secrets/secrets.nix;
|
||||||
|
systemName = lib.attrsets.getAttrFromPath [
|
||||||
|
ccfg.custom_config_key
|
||||||
|
"systemName"
|
||||||
|
] config;
|
||||||
|
authorityMarker = "authority";
|
||||||
|
|
||||||
|
# Key matches this host if its trailing comment contains "@<host>"
|
||||||
|
matchesThisSystem = key: lib.strings.hasInfix "@${systemName}" key;
|
||||||
|
# Key is the authority key if its comment contains the marker string
|
||||||
|
matchesAuthority = key: lib.strings.hasInfix authorityMarker key;
|
||||||
|
|
||||||
|
keepSecret =
|
||||||
|
attrs:
|
||||||
|
let
|
||||||
|
keys = attrs.publicKeys or [ ];
|
||||||
|
in
|
||||||
|
lib.any (k: matchesThisSystem k) keys;
|
||||||
|
|
||||||
|
# Any secrets that should be world-readable even after auto-import
|
||||||
|
worldReadable = [
|
||||||
|
"zitadel_master_key"
|
||||||
|
"openwebui_env"
|
||||||
|
"vaultwarden_env"
|
||||||
|
];
|
||||||
|
|
||||||
|
# Keep only secrets intended for this host (or that include the authority key)
|
||||||
|
filteredSecrets = lib.attrsets.filterAttrs (_name: attrs: keepSecret attrs) secretsRaw;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
options =
|
||||||
|
{ }
|
||||||
|
// lib.attrsets.setAttrByPath cfg_path {
|
||||||
|
enable = lib.mkEnableOption "secrets";
|
||||||
|
};
|
||||||
|
config = lib.mkIf cfg.enable {
|
||||||
|
environment.systemPackages = [
|
||||||
|
ragenix.packages.${pkgs.system}.default
|
||||||
|
pkgs.rage
|
||||||
|
];
|
||||||
|
|
||||||
|
age = {
|
||||||
|
secrets = lib.attrsets.mapAttrs' (
|
||||||
|
name: _attrs:
|
||||||
|
let
|
||||||
|
base = lib.removeSuffix ".age" name;
|
||||||
|
in
|
||||||
|
lib.nameValuePair base (
|
||||||
|
{
|
||||||
|
file = ./. + "/secrets/${name}";
|
||||||
|
owner = users_cfg.primary;
|
||||||
|
}
|
||||||
|
// lib.optionalAttrs (lib.elem base worldReadable) {
|
||||||
|
mode = "444";
|
||||||
|
}
|
||||||
|
)
|
||||||
|
) filteredSecrets;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
42
common/secrets/secrets/github_read_token.age
Normal file
42
common/secrets/secrets/github_read_token.age
Normal file
|
|
@ -0,0 +1,42 @@
|
||||||
|
-----BEGIN AGE ENCRYPTED FILE-----
|
||||||
|
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IHNzaC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kxKN2FUQTBVbVA5SnVZSDlGcXFKL0M1NGhONFhLamF3
|
||||||
|
Z0VNZ1VSSEFKSlkKLT4gc3NoLWVkMjU1MTkga0hrMmdBIElkSFNJWnZ3WFA3V1J0
|
||||||
|
aFNqN0RTQUEvNkRkeHI5QkR3K0RuQ2NnZTFQU1UKb0dKd3gyYWdPd0NyUEZDWUhB
|
||||||
|
eUdaZzIzWEtkNGdUZzZScWpOUzN6K2dCTQotPiBzc2gtZWQyNTUxOSBJb3NBQlEg
|
||||||
|
eGNINUY0UElXbUQvUklPY2c1S1A4OXh0UWRsTjFGUTg3dW9BM0dyTVgwNApyN3pV
|
||||||
|
eHhUSnAxZ1ZpdmUva0lScWJxNGFWZDRMdm8zd09kay9ORXdOVkljCi0+IDMtZ3Jl
|
||||||
|
YXNlCldFN1JnNGM4Vmh1dE5wZUNGOC9NdktlSEFnCi0tLSByVzE2ZHZSdXRxQTZN
|
||||||
|
SjRTNlRtUHlRL2JPS1Yxd1lnalFFUGlWR1lKTjZvCgfzY9S+Cm6zaEAcrAr3fsev
|
||||||
|
9enyx9OmVTIIZltr52uqCYbWcsuCkDjHtwR3NXiSQB2HWhNe38l4l2K1+HGcoS7i
|
||||||
|
2TMD7o9Jx6QoWLHgmrn/zXL/VKyOj5a7P530AMzdqcgJ4U8641VN0W7L9u1Cw5EB
|
||||||
|
Ujzb1rKthf+txuP04aWYit69ZBdH7r+VkOGghXngwvBapwFF8AGUug==
|
||||||
|
-----END AGE ENCRYPTED FILE-----
|
||||||
40
common/secrets/secrets/headscale_auth.age
Normal file
40
common/secrets/secrets/headscale_auth.age
Normal file
|
|
@ -0,0 +1,40 @@
|
||||||
|
-----BEGIN AGE ENCRYPTED FILE-----
|
||||||
|
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IHNzaC1lZDI1NTE5IDd6MzN5USBvbGZC
|
||||||
|
ZFZWZ2ZPWUlNdEZCSXBuYThubHpiNkFzb3Jldlh1QlF0UTZ0NHlZCjlHSTVrek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ITkxFYlUKLT4gc3NoLWVkMjU1MTkga0hrMmdBIGlNcjZMWEdjdHNpNWNl
|
||||||
|
ZzlrNklvVklXM0tDMGVnRWhuL3BYV3dMa1U2ajQKd2owZXUxSGlIVUI3cFRxbjA3
|
||||||
|
eWFhZXVudlBpQnRMTEVwZXhSSFgyOEsvSQotPiBzc2gtZWQyNTUxOSBJb3NBQlEg
|
||||||
|
OXR4MFc0eDZQQ1IwclIxYm9kYk1DSkZBZ1RDMm4wYlEyb1VrRTBaNmpWNApwY1pu
|
||||||
|
RE9VTU9Mbm9Ea0twcnBNRUc5ZjdzYXRyRmw0MlVHZDZmTVVLZFBrCi0+IHwqflMt
|
||||||
|
Z3JlYXNlCgotLS0gNWpFR3lvdmVsN1V2WG01aHN2VjVUeDZORzRpRDZGK0RWTFRM
|
||||||
|
SytLcVZYZwrYTHZo/oozQZasJAFNVb3ZrSAjREvZzRRyz6Mj71Pj2H+dbFz9sZ+c
|
||||||
|
+B4DEN/4xfhm5FUsU2w8VCQ/E+186igURD2AyhUZxNFFVPUPJKUM9rY=
|
||||||
|
-----END AGE ENCRYPTED FILE-----
|
||||||
50
common/secrets/secrets/nix2bitbucket.age
Normal file
50
common/secrets/secrets/nix2bitbucket.age
Normal file
|
|
@ -0,0 +1,50 @@
|
||||||
|
-----BEGIN AGE ENCRYPTED FILE-----
|
||||||
|
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IHNzaC1lZDI1NTE5IDd6MzN5USAxNHJi
|
||||||
|
QjBYYnZsZTl1OXRwUDRXSGx4MmJOdzhHZXY2NUlaQ0hocFdlV240Ckw4U0FNSGFt
|
||||||
|
SmF1aW5mM0lseFZDUDR1ZkgyRFdkbHYrUHdITWUxanBrWHcKLT4gc3NoLWVkMjU1
|
||||||
|
MTkgSmh2TCtRIC9vS1U5ajZ1MS9sdFZZbWs0cmlvc1VQRVNLZUxiQkRrS0xtWWx3
|
||||||
|
LzMxQm8KdmU2V0pqZnNMajc4SVk5Skhnd0VQTm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LRS9TajQ1MlNqODVad1M4ZDh3cwpVSWpy
|
||||||
|
elZlT2dWTmhFaWJFUVFXWU5pT0dlam1jU0R2di9TUzVjUlY5b0RnCi0+IEJ6cnpI
|
||||||
|
NVktZ3JlYXNlID1YU3I8WkNjClRpZ2dHWkJIaVZVVkNwY1JwOFg2bTdzTnJBRjRs
|
||||||
|
SytLdFUyRldoTlpHSkRPY1ZQODRYY3RiVS9VNWtPeXBIc0MKeEdJY3UvTWdEZTVa
|
||||||
|
RXNvCi0tLSBLcUNEU1JhQnRCK0RMS1F3VEt1Ykl2MkhROG02NmY5bjVIem1JeWdQ
|
||||||
|
TXZnChn2UP3yo7fmH9JimBCsA8X6WLurks8pKMf5lb/yh92Uj+mbIz5R07Fpq0aC
|
||||||
|
nLa9VhNeQU4nYkotJUVPRGhBlh7xaVRoeaRfRy8n34TKNU+PQUFz6gv0OHkMDOKh
|
||||||
|
B3Z73OAJGaFAX1Q1SlM96ejHVMRdr8SNQao9QJvZq9EXyrejV1L8oS7cKHObfkEi
|
||||||
|
ylUPlNsH375zQ+rizYqO3jLBGNXpK3RTOX/3xadbAeccyBLrSaoE+eQi2nba2fSb
|
||||||
|
iLd6xNtltmDy4AzRwpmMPpD2EUlTV7iBCBlstK6v7k+VOAyH0PGIXTVUlHs8VORI
|
||||||
|
PHx8boVaGNn1b3XSD3CTflCRHxo7gSfXzcDEnfIbPsz97Z8GdQmV6fqIoWyWS3ZM
|
||||||
|
DFYdS7VBuKA7lUy9fu+UbP6OFjTu05rg35OcM6uzF6U4TVbKrGzaeyZzrokcXCbo
|
||||||
|
LNYJaI0FY+/bznL8/YqU/EJsAzgSZLApIzo3wLJhd6YK9Si17Lgf5N8sfUvHN8ax
|
||||||
|
naRZp7SlPmmzyhO82KwI8FXM7E+0mZ3CjfiEUmq9dz2plRGJaWCdMJ/SUv9EcTvG
|
||||||
|
Z/Uo
|
||||||
|
-----END AGE ENCRYPTED FILE-----
|
||||||
49
common/secrets/secrets/nix2gitforgejo.age
Normal file
49
common/secrets/secrets/nix2gitforgejo.age
Normal file
|
|
@ -0,0 +1,49 @@
|
||||||
|
-----BEGIN AGE ENCRYPTED FILE-----
|
||||||
|
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IHNzaC1lZDI1NTE5IDd6MzN5USBtRTlJ
|
||||||
|
RHRaRVFZZ2Y2Uzl5dEZXSnplMlpYdy9UVVdvb0dSVFNGd25rcHhNCmp3ZHFneUJU
|
||||||
|
eW1PaGlncUdmVHNWblQvbkVxUDJpQ2p2OFJFVGtNb0pZcXMKLT4gc3NoLWVkMjU1
|
||||||
|
MTkgSmh2TCtRIGdJOTRGVktSY21ob0JKam8zaDN0bkhIQjNieTVEcFl3aVBpSjhw
|
||||||
|
Nk9OSGsKVENrTkd4cmdaUnE2VWR4SU1ySWdvZGo3VnMxTFo2dklwSTFieUwycTdr
|
||||||
|
RQotPiBzc2gtZWQyNTUxOSBTcENqQlEgU0plOWVNNTNNTkxhSVN6ai92aTd6RFJ2
|
||||||
|
WjFRMzdJUjAvbDN6MHVOMTNncwp3bVREblZMUE12WEVaOGpLVDBYZHdILzQ2UVBI
|
||||||
|
V3MwTTFwb2dwcDMxSFBnCi0+IHNzaC1lZDI1NTE5IEJZS0crdyA2L0NONmxjcGFr
|
||||||
|
T0xaRnhHQ0FFVVlseUtKcWJZbi9ISlZIclVOdTRNRDJBCitWRDBvQXdackV6QTRu
|
||||||
|
S1FPeXdLZGpvbjhBYllVY0UvZ3JEWWQvMHNOS0UKLT4gc3NoLWVkMjU1MTkgWHpm
|
||||||
|
bWFRIG9XOEhybjJFclFKWEhQeDlrY0xVRHZOcHQrK2RWa0hsZTc0eU1qRWlNMTAK
|
||||||
|
cnpLdGRDejAraERuNnVlZDBVV202TmdlSVREMVlPWFhpckdPY3Q4OTY0UQotPiBz
|
||||||
|
c2gtZWQyNTUxOSBSNSt4ZncgQWk4Q25xSFZSbHo1NDJ5VnJWcVN5L2NIQi9SQVJ2
|
||||||
|
aWtWSHR6az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poTw
|
||||||
|
7fwo8wgHByoDK6gz2SAOZ2Q/Px5YBqivleT0oVdrd/quLN5lU2aQt3OANTxzF+bP
|
||||||
|
DaAWwv/7pTaLB7lyqCTSw+C+UmgVXmnOi2MO7ex3tImNzwGVQfZG9mc5k13ltwsq
|
||||||
|
uxC3T9l8+fuo4iFUwCXfXlm3ZmcIcpjYE6rOlV4Y2EdmwwvwRhMljWf2OfNHlq4e
|
||||||
|
hLtKvsHf7+pMAX0ZsZMig6KH09V/RtGUr9KBWVG8CABPnPJBIzlGZPJdmO+G5eAx
|
||||||
|
cEUUkJzlcSCF6SDo1zG7QcT7vRSX4FjvOY579w==
|
||||||
|
-----END AGE ENCRYPTED FILE-----
|
||||||
49
common/secrets/secrets/nix2github.age
Normal file
49
common/secrets/secrets/nix2github.age
Normal file
|
|
@ -0,0 +1,49 @@
|
||||||
|
-----BEGIN AGE ENCRYPTED FILE-----
|
||||||
|
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IHNzaC1lZDI1NTE5IDd6MzN5USBYU2N0
|
||||||
|
a1MzODQzb2JUbjJyQ0xTbUxlbjhJOExjNm1JOFd6bDNNZEp1TlJ3CktCUXFwWTJ0
|
||||||
|
cUZVUldoRStJRHc2cjdwa0szQ0VPZTBsV0NiK2ZmQUQybW8KLT4gc3NoLWVkMjU1
|
||||||
|
MTkgSmh2TCtRIEk0R0lSUitzVkRQb2hQamt3cGdQK1ptYXVkUkdXb2w2N3VsY3hY
|
||||||
|
emdNM0kKYXhod0FVMzJ4dFRCZXZBQTBJcFc0RWRsZUdqV1FkSldkVHFnbU50VlNx
|
||||||
|
TQotPiBzc2gtZWQyNTUxOSBTcENqQlEgaG5Fc0VOUHdJWlFsRGtOSEwxM2RHZHdh
|
||||||
|
anVJZWlOZ2dBRStmRkc5WU5nTQpiQzRwMnBIVHJoQldJeEdrOGVha1phbGRKZGZW
|
||||||
|
SGZiWUV3Rk5XdGxUZjFvCi0+IHNzaC1lZDI1NTE5IEJZS0crd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UQotLS0gemVvbWt5LzErUlpmZXFxQmpMZFVq
|
||||||
|
czhiSVBFQVBVVFo2Q2hiaXNWQ1Zwcwrm4hQtiHjacGXqxDf8QBf6AdsiCFad+cAu
|
||||||
|
RA/fKJMnq8zc6NUDkvEAxrWxFLpLD9amqaxgh5889mWstPGaeCQEcWfjO7jl2jsM
|
||||||
|
duZsH2rtqfsaoWI1tsUiVKGtgprkI1TBwbtFYQ/aC+1AzOP4rnmuu4T/kIDbP+rn
|
||||||
|
SlILVnc458dAsDIUO0vYzNhy7z6oG0Nf6TnPehPocIakRXoLSN0d7fYmC5GDD+8m
|
||||||
|
v0ucVjpVlyXCyOHbl6COgLmz0HglXaQba+K1ZFWJJXwB3Ej/wYaS6r5rChe9RKJJ
|
||||||
|
tlCCDfOmUC1BgNH2PbPsaDwVmPe5itsAoJrzvq2mR5ho6kTX0dAPnu6A50G2TkTq
|
||||||
|
7OtmvcjVarHKO5mRLSaGKgBnxcdI9MPvKdLKb79mBgmp7lWbKqOfQL8W+mfdxWjI
|
||||||
|
F6DEPQ478W7QF5tIWYlHsDS4R7hKr7DPBxGLZEhKUYl6UJd8BietDQ+Pti19uoiC
|
||||||
|
1qwFIGoKGteEsW5HHfvxdp1hdboVoOh/MzwpksNqMOZIhS2aAr2EKQsUBB5TLL+v
|
||||||
|
JdEKGcLiRuxqa/6mVuEw2iqUfSBK+A==
|
||||||
|
-----END AGE ENCRYPTED FILE-----
|
||||||
50
common/secrets/secrets/nix2gitjosh.age
Normal file
50
common/secrets/secrets/nix2gitjosh.age
Normal file
|
|
@ -0,0 +1,50 @@
|
||||||
|
-----BEGIN AGE ENCRYPTED FILE-----
|
||||||
|
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IHNzaC1lZDI1NTE5IDd6MzN5USBXQXoz
|
||||||
|
bGYwc2NqNDBVYzVkeGxldnJxbjZ6elgxUmFoMFhuK0pvTTRLWkhBCmx4RUxONTYw
|
||||||
|
VXZGZUtQcnFaRXhuODNQQjhC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EdIMiJi4uTltakDrVGBKiNhQAz4V6t/kKkONvFg6wFoVzgm3kOxfRcryWfF0sc
|
||||||
|
VDaa0kOnDFS/MuIsMENJ0XP5mTO/BQERY4m423nY7hH4Ud+kU9k8zQ3gdNIGwCEK
|
||||||
|
1j0P61nlu6Y4lSO6UaNgr7xl
|
||||||
|
-----END AGE ENCRYPTED FILE-----
|
||||||
50
common/secrets/secrets/nix2gpdPocket3.age
Normal file
50
common/secrets/secrets/nix2gpdPocket3.age
Normal file
|
|
@ -0,0 +1,50 @@
|
||||||
|
-----BEGIN AGE ENCRYPTED FILE-----
|
||||||
|
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IHNzaC1lZDI1NTE5IDd6MzN5USBGdVY4
|
||||||
|
TnVkZlJ0elRhQkRSMnlXUjNNb3BQQmVBbmhYYVpqOUx5cE81TXpvCmNYUG5rTjlo
|
||||||
|
RmpNQmFtZlBwWXY1eDVzOFh0T0F3d210QWRvOEZnN3VyK0EKLT4gc3NoLWVkMjU1
|
||||||
|
MTkgSmh2TCtRIHd4TmdIeWdiTXk4QWwvdURNQ3NtUlpNZWpnT2hubUk1RTUvMFRG
|
||||||
|
MUtEQnMKTEZBV1dPOXlQOTNSNVZVcXUweWZjc0RlQzFybE42Szl3WkJCOWszMHdN
|
||||||
|
WQotPiBzc2gtZWQyNTUxOSBTcENqQlEgU0V5bUpxNTVNQXh1UU8xYmJLWEROTkRr
|
||||||
|
UmtNOWQxbllTMW5BZzdNR1JpcwpCMExaYmpNbW5ma3N6SHBDR0lZdHljNDNlNHlM
|
||||||
|
TTJrTnpKanIvYldhcU4wCi0+IHNzaC1lZDI1NTE5IEJZS0crdyB6UHBMWXNCZ3ds
|
||||||
|
S1RQL25SdjVkRElKMjYzUXFKV3cyZFl5VlhvQ3ExeUQ0CkdGaGZrNGdZZ2ZsTUsy
|
||||||
|
amVPVjhjMEg2ZkM1NnF0cTZFNGhFSGpYQzRNRWsKLT4gc3NoLWVkMjU1MTkgWHpm
|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eJldhHa1Z+/nCLTYoolHFvhDF1kNNU
|
||||||
|
Q1VUi7Hwh3WfIZ5U9S8Bb1gtesAXrjAVoa07IuuELmY8P1aVnhO1Dh1E9bXhvjs7
|
||||||
|
T9Qz5iA0R/IcMGzP1khAwda9urAqjtqjgNJOO9tOnKGOfCuUDhsPVqCZAfag4MeB
|
||||||
|
A/UbjmKvQuoMLnx4r8AdZB6hEC6OvT0d26e1EzT7o4C4nXYk4+ocvNY2kp+9N8d6
|
||||||
|
C5qxI5juVeZenESlAxQKqaih6wUI5Hb7vlbMM3LvQqmSdwspOCYvji34LTzE2Vl7
|
||||||
|
fTb9us7PpueVWLfzF2ea19B2CNZR6VWJ8d2WNDSGhoq80H5k9fawhq/PzgB/CLzB
|
||||||
|
dArCKrT7pL/L4oQVXuRC+2dKSmOm+hlrWHS1rwWEbgA7iQV8MR7eaHjUKEpRYC/W
|
||||||
|
0oSyCsBNRTJrTQEZfknGgIK9dAKM2Mx1rw/1AbPrtcJe7aHI0R1wK+bSgXOrYgWX
|
||||||
|
78V0+RseYYzyPgb6LUwkrA1MAsMp3NqQFts50DZ/x5ZBrKGWyEWO96Sg6oMCz+Gh
|
||||||
|
2S5P02QBaoTSyuhHpg==
|
||||||
|
-----END AGE ENCRYPTED FILE-----
|
||||||
48
common/secrets/secrets/nix2h001.age
Normal file
48
common/secrets/secrets/nix2h001.age
Normal file
|
|
@ -0,0 +1,48 @@
|
||||||
|
-----BEGIN AGE ENCRYPTED FILE-----
|
||||||
|
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IHNzaC1lZDI1NTE5IDd6MzN5USBqZkZV
|
||||||
|
ZFlDOTkvSkM0NmFlOHlIak5KUkdEZnZJRnJOQ1hLc2pkc1pGODFvCm91Ulc3aEkv
|
||||||
|
NTUzblR2ejRzM0I4TnoyYVlkQTk4d2RNSTRUVDJ5bzQwVnMKLT4gc3NoLWVkMjU1
|
||||||
|
MTkgSmh2TCtRIDlwQlRHSS9Nd1VZV1BRRUV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elF3QW92cwotPiBzc2gtZWQyNTUxOSBJb3NBQlEg
|
||||||
|
d3JwUyszcTl6TU1XVHA0d2RNb3VPa2I1ZzFqdzJyR0ZTTTIzNi9VcnJqQQp5VHVh
|
||||||
|
TTBjWXgvb0daeWN0Ty9DTytRMkVES1hBR3M5YWdEanlYdDJSdU8wCi0+IF99LWdy
|
||||||
|
ZWFzZQpnZHBVTGZvYm1sWk85SzVOV3FOZkZtM3NKNlFLdUxDRkxBTQotLS0ga2JS
|
||||||
|
NGc3N3o1YjBOeEl0L3NVZVprNDA3VFpJdmt4eW0yYnJ4VWdkdXBoRQqosYCeWC24
|
||||||
|
SETTy8dVYTN0kWZBhYxUQDb6mhHPZrLOmlNyDeambLNwpoGHGpxUy1vrYL5cOmBA
|
||||||
|
pZ4lLKvAvm+lj7FCqX7+uhQi5FohVTm9bz1IsJcId82yf6lLjc4p7M+ww6icM0vH
|
||||||
|
DHHsZ2ecQiJKOvf8BUGgAxBkkdy0MWVRAAtOAqadBRtaGB5902FOI0gWLyAyFqlk
|
||||||
|
+P/pHRfob8PlnWb7MTYsUVgIBtbV/hIcpSx7BIsPTsdr7yFirhfoC4giBMT//2Mz
|
||||||
|
e7NGN2bX93pAUPWK2P/k3geArT1zJoFeyOpkyIhnfeXaA8WKb5juA/Rly4aGUJO0
|
||||||
|
oQKJkNGg3DPQMAEwwaijjuz19wd3o46o5la+2L/Yx2fCPDcwOyYzh8wVdc2eq6Ab
|
||||||
|
y3y1wlFfMLpsuBSENnCQTPCWimTOk2lPUKEjDtLXCtucwyd/fzjHCjF1iR5twVrw
|
||||||
|
id5+60bFV73v2QsQ6+qnNRj2Ea+LRHA48NtQH4Nedv8xlhgqkR0tD8mZc6Xo65MT
|
||||||
|
1Lj9suIPCf5L/j7GiX4MPDt/uptHJEckGMEo0rrwINBps7K7XrQLfw==
|
||||||
|
-----END AGE ENCRYPTED FILE-----
|
||||||
48
common/secrets/secrets/nix2h002.age
Normal file
48
common/secrets/secrets/nix2h002.age
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K20vwc2To3Oljt940di6+886j2vFEBd44v
|
||||||
|
A1cjFG+K4mQ9GvdAk98EgRVXasmXyKnRdc7kFym9EY7guZtoA0Bav7YCn2vMwF7G
|
||||||
|
yLmxss4Wa7UA9v3GF270M/fb6D5u9qcDG7v41wYSldfaqSDs0Vw1ZfaGBYAXF5v7
|
||||||
|
GgU0MSWaFyHej5xq5UVTlMtWh2YR
|
||||||
|
-----END AGE ENCRYPTED FILE-----
|
||||||
50
common/secrets/secrets/nix2h003.age
Normal file
50
common/secrets/secrets/nix2h003.age
Normal file
|
|
@ -0,0 +1,50 @@
|
||||||
|
-----BEGIN AGE ENCRYPTED FILE-----
|
||||||
|
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IHNzaC1lZDI1NTE5IDd6MzN5USA0dTdj
|
||||||
|
TDY2STIxTm8rbnNWS2J2VlZxcVRFYzdBRElDT2RUR1pRd2piaDFZCnl2d0xoUmg3
|
||||||
|
OEs2bXNUY29RQWJ2WG9GMXIzZCsvcHRRUDFvRFl2elR0a28KLT4gc3NoLWVkMjU1
|
||||||
|
MTkgSmh2TCtRIFJsbjBZbFhEanBaSW1BOXBwbVQ5eUtHSDRQRzJleTBGc3BlY0dv
|
||||||
|
VzljVk0KZEg2M09TNVlvYXAxaEFaUlpkLzljZXVQUE53aEVLQlZXbVBpdEM2b1Za
|
||||||
|
VQotPiBzc2gtZWQyNTUxOSBTcENqQlEgLzQ0MVpLWXMvSXkwTnk2VWFrQWNtdVJj
|
||||||
|
bURKUzMrMmRqeW9TcTF4V3FtdwpVQmducWt2dkVPQklma3h0QVkwZk11cW9SMkxa
|
||||||
|
Ykp6amg4RWUrZEpFb3NBCi0+IHNzaC1lZDI1NTE5IEJZS0crdyBDNjhjTlovT1J2
|
||||||
|
QXFPOVZrQ1ZFWUV2cnF0eFdTR3g0M3VFd0dvU2hVNEFRCjdzR2hZR1pKUkpJL3Uv
|
||||||
|
VEdPNzE4TGtWRVpZeEROZGFNMXRtc2pFYTJoMEE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|
||||||
|
aWo0a0lmS0xWeStFN1UzTQrI0E7L65ZYdi9LJwZ3nSgT7WwwQJovYBqw7YO8jE+n
|
||||||
|
1iAUsxo+nj7V7ub7D6IxBaXupMwqqEGX/fUgLyHrckL8V6RmVfvoJROp1Vm7HncW
|
||||||
|
xqoFr1cj3n6p+O+xQPFy+1uVSktCTvLgHDNHavRPaoT6vP2FcvQkI7jczbGJel55
|
||||||
|
YBA6bLrMLsn1+MmY5oT61huymRbKFyt3c7+u/vqYwD9/J4/KPW7nO0hCQ8LBJEm4
|
||||||
|
KFwj/6d8zyLFGRB+wwH3pEPFWZ17/7tK4xRR3jUw3ertMKnLtpYpI7sCOhCStH5G
|
||||||
|
6CTMGgmWOyPmccVfWF3RSnuj5I53nnkYktWcc3o+ak8GCw8PBJvAfkAJyNjrSo6V
|
||||||
|
QTMX9qsrL8SydAXXFk2lNcv3maH6RgRB9ycPGak/ZsrFP0VkMFpOLIfqjJMnfChY
|
||||||
|
CUi2b1iTMlmw9VITSfgh82mue+bcevSaP6KboeksBq2ah8hSN80WPtb7VQNUNl/u
|
||||||
|
cQT5DoyvaIxOstiVpBy7DY4pvb6c5iWkUuuDiHrn0AA4XB2skTNhGU1oty0YrDFB
|
||||||
|
tnRtsOYgu5d/53Fcd8aUNg==
|
||||||
|
-----END AGE ENCRYPTED FILE-----
|
||||||
49
common/secrets/secrets/nix2joe.age
Normal file
49
common/secrets/secrets/nix2joe.age
Normal file
|
|
@ -0,0 +1,49 @@
|
||||||
|
-----BEGIN AGE ENCRYPTED FILE-----
|
||||||
|
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IHNzaC1lZDI1NTE5IDd6MzN5USBrRFlo
|
||||||
|
VzhEcDJmTStuQUxxcms4am9idGpZYm5HVndISDlDMzVVVGl1ejJBCldYZllDcGEx
|
||||||
|
QVl6NU1vVjBPQXpLTndDdUZIRWJmMC8vRWhjOTRDUm5yTUUKLT4gc3NoLWVkMjU1
|
||||||
|
MTkgSmh2TCtRI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ud7jqw==
|
||||||
|
-----END AGE ENCRYPTED FILE-----
|
||||||
49
common/secrets/secrets/nix2l002.age
Normal file
49
common/secrets/secrets/nix2l002.age
Normal file
|
|
@ -0,0 +1,49 @@
|
||||||
|
-----BEGIN AGE ENCRYPTED FILE-----
|
||||||
|
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IHNzaC1lZDI1NTE5IDd6MzN5USBPODJ1
|
||||||
|
Q2VxRFlMeUcrS0V0ZEhGdlRnRE92TDA4aXUwdDVKYUhBaG11R1NVClRUNnlJd1ow
|
||||||
|
MkliL08zZE12bHRyaFZuQkszMU1nL2pxT3hIWWlObW5IUE0KLT4gc3NoLWVkMjU1
|
||||||
|
MTkgSmh2TCtRIDUzVXpLblJLZmY2UHJnQ1FIV25WRjJEWEYva2RjRUFNbkU2TkIw
|
||||||
|
Mk9hUTQKK2pMSytja2ppbE1Vb3hYVWhNMG1wUW1lNjRGMGpseVVpeUV4dkY1eTA4
|
||||||
|
NAotPiBzc2gtZWQyNTUxOSBTcENqQlEgWmV5NW1rVGk0Y0VBTFJ1bEpGbVFqdEp3
|
||||||
|
ZVhyWkpaWm1uUHl0L2N4WStRYwo5WE5LYnUrTldDMGQrbDhtTEl3cmZGT21FNkZt
|
||||||
|
NmJ6eVBGeG5ZUjhCZE5BCi0+IHNzaC1lZDI1NTE5IEJZS0crdyBVcWZqVVl5VDBP
|
||||||
|
azJjL0p4VEJnTzJrdkRZdXNSRGpIdXM3ZWttWkluMlc4ClJOV0xTOU9PeHhMeWpD
|
||||||
|
a0twcCtxYklUSjF1R2NseFF3NDk5eFI1Z2Z3Y1UKLT4gc3NoLWVkMjU1MTkgWHpm
|
||||||
|
bWFRIGhONk1uMk5xRVdFUGZhNkpHUWhMUTN5bkkxdzNTRExqOGlGZzdOZzk5U3cK
|
||||||
|
NzJVSFppeGpGSWdob3ArTDhpcEhNSmVNMm8xcXRUS1crN0FubTR0T1BnTQotPiBz
|
||||||
|
c2gtZWQyNTUxOSBSNS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3RtZxzbkvKcmiVvgJt2pRRoMPC5tn6Se2Hl08fDoTR9Z24wK5igtu0+rBp
|
||||||
|
tALfNh62Nl2U1s4Ukd+5eH28vC1QEz9UqnTNvi7o+1usmLsMIjwagEgfUB+yzaT+
|
||||||
|
8VJDj4Y4xfI5WdgbWe9A9JFk4ve8Xmqkkg8zlaveEg/wSMDbiZP5NV20xHDIr6kP
|
||||||
|
yrctn77Vohff0iYL4Fm38FgJfODFCLsHYOok3OgGGySLdTZcYZ69yJjlDm5m47ea
|
||||||
|
vz2zRL4m9MxS4vE9eR04T5G+isZnLZJP/T6SImvSKHKNpeXLSFbycRLYJkf0jNCS
|
||||||
|
g1ym3Ql3lTyozQVBCg==
|
||||||
|
-----END AGE ENCRYPTED FILE-----
|
||||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue