Compare commits
2 Commits
1410c0c39f
...
fd6a3151ce
Author | SHA1 | Date | |
---|---|---|---|
|
fd6a3151ce | ||
|
40b827d4ca |
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
description = "SoraFlake";
|
description = "SoraFlake";
|
||||||
inputs = {
|
inputs = {
|
||||||
# Trick renovate into working: "github:NixOS/nixpkgs/nixpkgs-unstable"
|
# Trick renovate into working: "github:NixOS/nixpkgs/nixpkgs-unstable"
|
||||||
nixUnstable.url = "github:nixos/nixpkgs/nixpkgs-unstable";
|
nixUnstable.url = "github:nixos/nixpkgs/nixpkgs-unstable";
|
||||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11";
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11";
|
||||||
hardware.url = "github:nixos/nixos-hardware";
|
hardware.url = "github:nixos/nixos-hardware";
|
||||||
@ -21,8 +21,9 @@
|
|||||||
url = "git+https://github.com/hyprwm/Hyprland?submodules=1";
|
url = "git+https://github.com/hyprwm/Hyprland?submodules=1";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
umu= {
|
umu = {
|
||||||
url = "git+https://github.com/Open-Wine-Components/umu-launcher/?dir=packaging\/nix&submodules=1";
|
url =
|
||||||
|
"git+https://github.com/Open-Wine-Components/umu-launcher/?dir=packaging/nix&submodules=1";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
sops-nix = {
|
sops-nix = {
|
||||||
|
@ -30,6 +30,7 @@
|
|||||||
{ usercfg = userConfig; }
|
{ usercfg = userConfig; }
|
||||||
inputs.nix-colors.homeManagerModule
|
inputs.nix-colors.homeManagerModule
|
||||||
inputs.hyprland.homeManagerModules.default
|
inputs.hyprland.homeManagerModules.default
|
||||||
|
inputs.sops-nix.homeManagerModules.sops
|
||||||
];
|
];
|
||||||
}) syscfg.syscfg.users);
|
}) syscfg.syscfg.users);
|
||||||
}
|
}
|
||||||
@ -53,7 +54,7 @@
|
|||||||
nameValuePair userConfig.username {
|
nameValuePair userConfig.username {
|
||||||
imports = [
|
imports = [
|
||||||
inputs.nix-colors.homeManagerModule
|
inputs.nix-colors.homeManagerModule
|
||||||
inputs.hyprland.homeManagerModules
|
inputs.sops-nix.homeManagerModules.sops
|
||||||
];
|
];
|
||||||
}) syscfg.syscfg.users);
|
}) syscfg.syscfg.users);
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
{ lib, config, ... }: {
|
{ lib, config, ... }: {
|
||||||
|
|
||||||
|
#environment.sessionVariables.SOPS_AGE_KEY_FILE = keyFilePath;
|
||||||
systemd.user.startServices = "sd-switch";
|
systemd.user.startServices = "sd-switch";
|
||||||
programs.home-manager.enable = true;
|
programs.home-manager.enable = true;
|
||||||
|
|
||||||
@ -9,4 +10,12 @@
|
|||||||
|
|
||||||
stateVersion = "24.11";
|
stateVersion = "24.11";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
#SOPS
|
||||||
|
sops.defaultSopsFile = ./sops/${config.usercfg.username}.yaml;
|
||||||
|
sops.age.keyFile = "/var/lib/sops-nix/age-key.txt";
|
||||||
|
sops.age.generateKey = true;
|
||||||
|
sops.secrets."github_user_key" = { };
|
||||||
|
sops.secrets."curse_forge_key" = { };
|
||||||
}
|
}
|
||||||
|
69
modules/home/base/sops/sora.yaml
Normal file
69
modules/home/base/sops/sora.yaml
Normal file
@ -0,0 +1,69 @@
|
|||||||
|
curse_forge_key: ENC[AES256_GCM,data:PhhwPhUys/WDzXb40iFlrUcwFEJVzi49vDlm5Hpc7IUwbBiQI1Zvi6115THMvarnGESDyouPfoZP0wha,iv:x//EzR4QwdD0UxqV97yUepc39DopoqiDT21unpF9R2E=,tag:5jM1EibWo0wI+PS70+kb/Q==,type:str]
|
||||||
|
github_user_key: ENC[AES256_GCM,data:RvBsQjWGd2qRCvBzcpMv8FIXGY/GiPd9o0x2Oq+NlbXxR2NMqNBNLw==,iv:99AcmOWFft7XQAn7YrGjZuCvz0M5wUkYeInsWwyeUFM=,tag:wkw2YQGi9j/8XtOFd8KhdQ==,type:str]
|
||||||
|
sops:
|
||||||
|
kms: []
|
||||||
|
gcp_kms: []
|
||||||
|
azure_kv: []
|
||||||
|
hc_vault: []
|
||||||
|
age:
|
||||||
|
- recipient: age1sxzuhh2fcd4pmaz4mdqq95t683d32ft22w9t2r7pk258u0s8wymsqdj7lg
|
||||||
|
enc: |
|
||||||
|
-----BEGIN AGE ENCRYPTED FILE-----
|
||||||
|
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBraWFDRFUxQ2l5OWV1OXNK
|
||||||
|
UExEbWZkM0kzVk1rZG4yY3pBLzdMVWVJS0UwCnhlWFJ5T2lZUXJyNkg1ejQxaU1t
|
||||||
|
L3F2RUhldTY3N2xXL0hwczNKRzNjcncKLS0tIEkycHoxcDBGNyt2V3RDY29wNGVp
|
||||||
|
TGg5Rk05VkRsaXM1Q0NxMmtMajRORDAKqjFldiAYJKjmnkeDkwanjYvhL6645DZ5
|
||||||
|
dVXExjqO/DG733ge8HFyKzpfpkzRymV1giUwxBdII1dd0mJ2ncINeA==
|
||||||
|
-----END AGE ENCRYPTED FILE-----
|
||||||
|
- recipient: age1ms8f0ysv6vakxepvt69fejczs6tddexepesdv4rkgtheehj3nu4sc6290s
|
||||||
|
enc: |
|
||||||
|
-----BEGIN AGE ENCRYPTED FILE-----
|
||||||
|
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSB3UkRjblIvYStZUzQyRHA1
|
||||||
|
ZGVXeHhrN0kyVkxZdms5U3gwVFlPMW12MVJjCjRkVURpZXBzb0tYenB4dGxKamh6
|
||||||
|
VXVBMmo1Ujkvd2VTRExyWE5MbVJaclUKLS0tIDVhRkYzZmEzUG00Q2IwOWZUMVVt
|
||||||
|
ODVIbytpcjN1cVMyaG1qVVdkRmtaMzQKNsvD9DpK/raDBob+IcuNk72tQDts36kJ
|
||||||
|
QhtoLy8MvUymi49PdEWrgyf68w5XwRO/U4iINhR0qzm0glg/XcyHjA==
|
||||||
|
-----END AGE ENCRYPTED FILE-----
|
||||||
|
- recipient: age1sxzuhh2fcd4pmaz4mdqq95t683d32ft22w9t2r7pk258u0s8wymsqdj7lg
|
||||||
|
enc: |
|
||||||
|
-----BEGIN AGE ENCRYPTED FILE-----
|
||||||
|
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBJc3hKWkk3ckNOY2UyTVhG
|
||||||
|
MmtLaEd0K04yaGxiOUoxMXkzOEFnYis4VkhnCktDRFM2bS8vb05OWDdwa0RwRlNO
|
||||||
|
cmlZemtxVGZ6S0tNTDV1cmE1N0pVWnMKLS0tIE9EZllycHJpcEY2R1pwOFhOZEU3
|
||||||
|
L01IcytDd3BPb0VOTW9DQ2lUdUVJS0kKiD+C+3mK1b/eIwCEFanFgYGLNk3JNPQ7
|
||||||
|
i1UqzbHVxSd0q/YVwdKAcj0jA6EezGm275tgq7IVsy2sHkvRMaEDtQ==
|
||||||
|
-----END AGE ENCRYPTED FILE-----
|
||||||
|
- recipient: age1sxzuhh2fcd4pmaz4mdqq95t683d32ft22w9t2r7pk258u0s8wymsqdj7lg
|
||||||
|
enc: |
|
||||||
|
-----BEGIN AGE ENCRYPTED FILE-----
|
||||||
|
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSAweVU3TkxFZzRnd2I2clN2
|
||||||
|
ZTlTWmhwQkhVc1hnOXFvZVVDSWpHMVh1TGtrCkc3M1pUTnZCMHpvYXB5ZVhreGxa
|
||||||
|
ZVY2cG5Ja2ltL3k2Q1VEalc5TTNFMXcKLS0tIGd5UWl0RGVXT211Zm51dlB6WFZ1
|
||||||
|
STRtTVpVTCtVZ1FUNENqWFFVNTNuaVUKN6HRiZjTdENeif8dJ29urBxPXDaosjjY
|
||||||
|
InN4Ko6YUaGfvB1DTrKIzrxOpsHS+XjisoGfT71tJwwEOoREklEO/A==
|
||||||
|
-----END AGE ENCRYPTED FILE-----
|
||||||
|
lastmodified: "2024-12-23T18:05:22Z"
|
||||||
|
mac: ENC[AES256_GCM,data:YSi2xIwz50VxUDL3QzGVUwRWUgZhvudSLCKgwIbWm8gkuAJ/V2sVRhJNVQJ1YvLO44ob5hmrgR4wSnOdAbS7FrpbLcJuoYBjVUTDjy+j6otnIDxEcYeciHhZ1pV/OiydBmJC+lZ4+SRdWdokL2HaXRKgc9QT9e/MdAbFIzI1x90=,iv:8rj8yEqHTMgoGu31RVskYizmROB/5I0ajZJ/EcmlVfE=,tag:PILFCyXY8sXYGxCEHS7qCg==,type:str]
|
||||||
|
pgp:
|
||||||
|
- created_at: "2023-04-20T10:20:17Z"
|
||||||
|
enc: |-
|
||||||
|
-----BEGIN PGP MESSAGE-----
|
||||||
|
|
||||||
|
wcFMA6R3Y9nD7qMBAQ/8CVWQaYKfOzvPIllZyyWpUjHRLLXaR8MNJ8U5WI/tdwdN
|
||||||
|
9UScDYJFuYRW7Q9s4Mt961kBGpaHqe9MUZBxUDlYX59+EN3FbO/eMQ5OqI05ESmL
|
||||||
|
TvZB4+S9C5o73nuypSDNvYz+Lgq6DO25ZPhXdtPhx2DE4G31/wft/LpxhjalIjI8
|
||||||
|
MU0Dv22R4qC+glJbe4GIF2IJ8XoxnnzjiGeSqiyv0QIBM0SzOtA5sKwNohWBnW7g
|
||||||
|
7vxOTm5+kyzG0dDjt3tFApgPDaA1wjofzhRuuveF52VBsuIA2opFdpqkyICvK6rn
|
||||||
|
NB5kUaPlY6A0m+n0oHSfY5wm/AnHNE4Oob/ifumAaB0EAJVUTRauI5M8SeJF0ya1
|
||||||
|
U0IQ9N2lb7Y6q4pqHywIa6fnylsqCfxInAYKMuslRq8f9t/qakb4/MYcnPrwpzjw
|
||||||
|
73/naiNoJmG6NVTkM52qTtOqZAmsaQd5cigTuPW2Z2CJq1yLZEVGSSd1DUGUjBDK
|
||||||
|
nQGucpVVVpD+ifrIPz+Iqwy+5NoZZm/Oa9pKJGFzqXinnDNZaqtgpmTw9QxcSeaP
|
||||||
|
VvGZG9CDd89MtAm1VQyuqi1bQ2faq3G0xNrLl7xUsfmjx4ofW+JXR87OzvGfLPhu
|
||||||
|
Sjl3kS9j5/MEBRBg3n9gNkgSu5Sy3ilhckY3yjTgAT9Gw2giDhCiUXi1/7KrGprS
|
||||||
|
UQHPCSsjyWsyuYVa3lAP/WPdVclc4WOdfYcetUCXBVP7LQr0bq+IG+2J0nnY3mDt
|
||||||
|
Va5k4sP1qu6Ecrs2JioQ1V2H+VmcrRykBWnMXl1tDSWKMA==
|
||||||
|
=pS8X
|
||||||
|
-----END PGP MESSAGE-----
|
||||||
|
fp: 4E241635F8EDD2919D2FB44CA362EA0491E2EEA0
|
||||||
|
unencrypted_suffix: _unencrypted
|
||||||
|
version: 3.9.2
|
@ -1,11 +1,10 @@
|
|||||||
{ inputs, lib, config, pkgs, ... }: {
|
{ inputs, lib, config, pkgs, ... }: {
|
||||||
|
|
||||||
imports = [ ./openttd.nix ];
|
imports = [ ./openttd.nix ./wow.nix ];
|
||||||
|
|
||||||
config = lib.mkIf (config.syscfg.make.game) {
|
config = lib.mkIf (config.syscfg.make.game) {
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
# custom.simc
|
|
||||||
|
|
||||||
#games
|
#games
|
||||||
steam
|
steam
|
||||||
|
81
modules/home/gui/games/wow.nix
Normal file
81
modules/home/gui/games/wow.nix
Normal file
@ -0,0 +1,81 @@
|
|||||||
|
{ pkgs, lib, config, sops, ... }: {
|
||||||
|
|
||||||
|
config = lib.mkIf (config.syscfg.make.game) {
|
||||||
|
|
||||||
|
home.packages = with pkgs;
|
||||||
|
[
|
||||||
|
# custom.simc
|
||||||
|
];
|
||||||
|
|
||||||
|
# templates buggy currently
|
||||||
|
#xdg.configFile."instawow/config.json" = ''${config.sops.templates."instawow_config.json".path}'';
|
||||||
|
sops.templates."instawow_config.json".content = ''
|
||||||
|
{
|
||||||
|
"auto_update_check": true,
|
||||||
|
"access_tokens": {
|
||||||
|
"cfcore": "${config.sops.placeholder.curse_forge_key}",
|
||||||
|
"github": "${config.sops.placeholder.github_user_key}",
|
||||||
|
"wago_addons": null
|
||||||
|
}
|
||||||
|
}'';
|
||||||
|
|
||||||
|
# curse:master-plan
|
||||||
|
# curse:raretrackercore-rt
|
||||||
|
# curse:raretrackerdragonflight-rtd
|
||||||
|
# curse:raretrackermaw-rtmw
|
||||||
|
# curse:raretrackermechagon-rtm
|
||||||
|
# curse:raretrackerthewarwithin-rtww
|
||||||
|
# curse:raretrackertimelessisle-rtti
|
||||||
|
# curse:raretrackeruldum-rtu
|
||||||
|
# curse:raretrackervale-rtv
|
||||||
|
# curse:raretrackerworldbosses-rtwb
|
||||||
|
# curse:raretrackerzerethmortis-rtz
|
||||||
|
# curse:venture-plan
|
||||||
|
# curse:war-plan
|
||||||
|
# github:nevcairiel/bartender4
|
||||||
|
# github:cidan/betterbags
|
||||||
|
# github:bigwigsmods/bigwigs
|
||||||
|
# github:bigwigsmods/bigwigs_battleforazeroth
|
||||||
|
# github:bigwigsmods/bigwigs_burningcrusade
|
||||||
|
# github:bigwigsmods/bigwigs_cataclysm
|
||||||
|
# github:bigwigsmods/bigwigs_classic
|
||||||
|
# github:bigwigsmods/bigwigs_dragonflight
|
||||||
|
# github:bigwigsmods/bigwigs_legion
|
||||||
|
# github:bigwigsmods/bigwigs_mistsofpandaria
|
||||||
|
# github:bigwigsmods/bigwigs_shadowlands
|
||||||
|
# github:bigwigsmods/bigwigs_warlordsofdraenor
|
||||||
|
# github:bigwigsmods/bigwigs_wrathofthelichking
|
||||||
|
# github:nezroy/demodal
|
||||||
|
# github:curseforge-mirror/details
|
||||||
|
# github:edusperoni/details_elitism
|
||||||
|
# github:curseforge-mirror/elitismhelper
|
||||||
|
# github:michaelnpsp/grid2
|
||||||
|
# github:jods-gh/groupfinderrio
|
||||||
|
# github:nevcairiel/handynotes
|
||||||
|
# github:hekili/hekili
|
||||||
|
# github:thekrowi/krowi_achievementfilter
|
||||||
|
# github:bigwigsmods/littlewigs
|
||||||
|
# github:nnoggie/mythicdungeontools
|
||||||
|
# github:tullamods/omnicc
|
||||||
|
# github:tercioo/plater-nameplates
|
||||||
|
# github:curseforge-mirror/quest_completist
|
||||||
|
# github:raiderio/raiderio-addon
|
||||||
|
# github:wowrarity/rarity
|
||||||
|
# github:nevcairiel/shadowedunitframes
|
||||||
|
# github:simulationcraft/simc-addon
|
||||||
|
# github:curseforge-mirror/tomcats
|
||||||
|
# github:weakauras/weakauras2
|
||||||
|
# github:kemayo/wow-handynotes-battleforazerothtreasures
|
||||||
|
# github:kemayo/wow-handynotes-dragonflight
|
||||||
|
# github:kemayo/wow-handynotes-legiontreasures
|
||||||
|
# github:kemayo/wow-handynotes-longforgottenhippogryph
|
||||||
|
# github:kemayo/wow-handynotes-lostandfound
|
||||||
|
# github:kemayo/wow-handynotes-secretfish
|
||||||
|
# github:kemayo/wow-handynotes-shadowlandstreasures
|
||||||
|
# github:kemayo/wow-handynotes-stygia
|
||||||
|
# github:kemayo/wow-handynotes-treasurehunter
|
||||||
|
# github:kemayo/wow-handynotes-warwithin
|
||||||
|
# wowi:7032-tomtom
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
@ -5,6 +5,8 @@
|
|||||||
|
|
||||||
xdg.configFile."swaylock/config".text = ''
|
xdg.configFile."swaylock/config".text = ''
|
||||||
screenshots
|
screenshots
|
||||||
|
grace-no-mouse
|
||||||
|
grace-no-touch
|
||||||
grace=5
|
grace=5
|
||||||
effect-pixelate=5
|
effect-pixelate=5
|
||||||
fade-in=0.2
|
fade-in=0.2
|
||||||
|
@ -1,64 +1,64 @@
|
|||||||
{ pkgs,... }: {
|
{ pkgs, ... }: {
|
||||||
imports = [ ./debug ./develop ];
|
imports = [ ./debug ./develop ];
|
||||||
|
|
||||||
# services.telegraf = {
|
# services.telegraf = {
|
||||||
# enable = true;
|
# enable = true;
|
||||||
# extraConfig = {
|
# extraConfig = {
|
||||||
# agent = {
|
# agent = {
|
||||||
# interval = "10s";
|
# interval = "10s";
|
||||||
# round_interval = true;
|
# round_interval = true;
|
||||||
# metric_batch_size = 1000;
|
# metric_batch_size = 1000;
|
||||||
# metric_buffer_limit = 10000;
|
# metric_buffer_limit = 10000;
|
||||||
# collection_jitter = "0s";
|
# collection_jitter = "0s";
|
||||||
# flush_interval = "10s";
|
# flush_interval = "10s";
|
||||||
# flush_jitter = "0s";
|
# flush_jitter = "0s";
|
||||||
# precision = "";
|
# precision = "";
|
||||||
# hostname = "valinor";
|
# hostname = "valinor";
|
||||||
# omit_hostname = false;
|
# omit_hostname = false;
|
||||||
# };
|
# };
|
||||||
|
|
||||||
# inputs.cpu = {
|
# inputs.cpu = {
|
||||||
# percpu = true;
|
# percpu = true;
|
||||||
# totalcpu = true;
|
# totalcpu = true;
|
||||||
# collect_cpu_time = false;
|
# collect_cpu_time = false;
|
||||||
# report_active = false;
|
# report_active = false;
|
||||||
# };
|
# };
|
||||||
|
|
||||||
# inputs.mem = {};
|
# inputs.mem = {};
|
||||||
# inputs.swap = {};
|
# inputs.swap = {};
|
||||||
# inputs.system = {};
|
# inputs.system = {};
|
||||||
# inputs.disk = {
|
# inputs.disk = {
|
||||||
# ignore_fs = ["tmpfs" "devtmpfs" "devfs"];
|
# ignore_fs = ["tmpfs" "devtmpfs" "devfs"];
|
||||||
# };
|
# };
|
||||||
|
|
||||||
# inputs.net = {};
|
# inputs.net = {};
|
||||||
# inputs.netstat = {};
|
# inputs.netstat = {};
|
||||||
|
|
||||||
# inputs.ping = {
|
# inputs.ping = {
|
||||||
# urls = ["8.8.8.8" "8.8.4.4"];
|
# urls = ["8.8.8.8" "8.8.4.4"];
|
||||||
# count = 4;
|
# count = 4;
|
||||||
# interval = "60s";
|
# interval = "60s";
|
||||||
# binary = "${pkgs.iputils.out}/bin/ping";
|
# binary = "${pkgs.iputils.out}/bin/ping";
|
||||||
# };
|
# };
|
||||||
|
|
||||||
# inputs.internet_speed = {
|
# inputs.internet_speed = {
|
||||||
# interval = "2m";
|
# interval = "2m";
|
||||||
# };
|
# };
|
||||||
|
|
||||||
# inputs.net_response = {
|
|
||||||
# protocol = "tcp";
|
|
||||||
# address = "google.com:80";
|
|
||||||
# timeout = "5s";
|
|
||||||
# read_timeout = "5s";
|
|
||||||
# interval = "30s";
|
|
||||||
# };
|
|
||||||
|
|
||||||
# outputs.influxdb_v2 = {
|
# inputs.net_response = {
|
||||||
# urls = [""];
|
# protocol = "tcp";
|
||||||
# token = "";
|
# address = "google.com:80";
|
||||||
# organization = "";
|
# timeout = "5s";
|
||||||
# bucket = "";
|
# read_timeout = "5s";
|
||||||
# };
|
# interval = "30s";
|
||||||
# };
|
# };
|
||||||
# };
|
|
||||||
}
|
# outputs.influxdb_v2 = {
|
||||||
|
# urls = [""];
|
||||||
|
# token = "";
|
||||||
|
# organization = "";
|
||||||
|
# bucket = "";
|
||||||
|
# };
|
||||||
|
# };
|
||||||
|
# };
|
||||||
|
}
|
||||||
|
@ -7,9 +7,10 @@ let
|
|||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
config = lib.mkIf (config.syscfg.make.develop) {
|
config = lib.mkIf (config.syscfg.make.develop) {
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs;
|
||||||
# android-tools
|
[
|
||||||
# androidStudioPackages.canary
|
# android-tools
|
||||||
];
|
# androidStudioPackages.canary
|
||||||
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user