mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 20:39:18 -08:00
superConfig -> nixos
This commit is contained in:
parent
59dcb0c998
commit
8a7022d918
5 changed files with 15 additions and 15 deletions
|
|
@ -8,7 +8,7 @@ with lib;
|
|||
modules = singleton ../../modules/home;
|
||||
specialArgs = {
|
||||
inherit sources tf meta;
|
||||
superConfig = config;
|
||||
nixos = config;
|
||||
modulesPath = sources.home-manager + "/modules";
|
||||
};
|
||||
});
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ with lib;
|
|||
home-manager.users = mkOption {
|
||||
type = types.attrsOf (types.submoduleWith {
|
||||
modules = [
|
||||
({ superConfig, ... }: {
|
||||
({ nixos, ... }: {
|
||||
options.deploy.profile = {
|
||||
gui = mkEnableOption "Graphical System";
|
||||
vfio = mkEnableOption "VFIO";
|
||||
|
|
@ -45,7 +45,7 @@ with lib;
|
|||
};
|
||||
};
|
||||
config = {
|
||||
deploy.profile = superConfig.deploy.profile;
|
||||
deploy.profile = nixos.deploy.profile;
|
||||
};
|
||||
})
|
||||
];
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
{ config, lib, pkgs, superConfig, ... }:
|
||||
{ config, lib, pkgs, nixos, ... }:
|
||||
|
||||
let
|
||||
commonSettings = {
|
||||
"app.update.auto" = false;
|
||||
"identity.fxaccounts.account.device.name" = superConfig.networking.hostName;
|
||||
"identity.fxaccounts.account.device.name" = nixos.networking.hostName;
|
||||
"signon.rememberSignons" = false;
|
||||
"browser.download.lastDir" = "/home/kat/downloads";
|
||||
"browser.urlbar.placeholderName" = "DuckDuckGo";
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{ config, superConfig, pkgs, lib, ... }:
|
||||
{ config, nixos, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
home.file = {
|
||||
|
|
@ -41,21 +41,21 @@
|
|||
server = {
|
||||
softnet = {
|
||||
address = "athame.kittywit.ch/5001";
|
||||
password = "kat@${superConfig.networking.hostName}/softnet:\${sec.data.znc}";
|
||||
password = "kat@${nixos.networking.hostName}/softnet:\${sec.data.znc}";
|
||||
ssl = true;
|
||||
ssl_verify = false;
|
||||
autoconnect = true;
|
||||
};
|
||||
liberachat = {
|
||||
address = "athame.kittywit.ch/5001";
|
||||
password = "kat@${superConfig.networking.hostName}/liberachat:\${sec.data.znc}";
|
||||
password = "kat@${nixos.networking.hostName}/liberachat:\${sec.data.znc}";
|
||||
ssl = true;
|
||||
ssl_verify = false;
|
||||
autoconnect = true;
|
||||
};
|
||||
espernet = {
|
||||
address = "athame.kittywit.ch/5001";
|
||||
password = "kat@${superConfig.networking.hostName}/espernet:\${sec.data.znc}";
|
||||
password = "kat@${nixos.networking.hostName}/espernet:\${sec.data.znc}";
|
||||
ssl = true;
|
||||
ssl_verify = false;
|
||||
autoconnect = true;
|
||||
|
|
@ -65,7 +65,7 @@
|
|||
matrix = {
|
||||
server.kittywitch = {
|
||||
address = "kittywit.ch";
|
||||
device_name = "${superConfig.networking.hostName}/weechat";
|
||||
device_name = "${nixos.networking.hostName}/weechat";
|
||||
username = "kat";
|
||||
password = "\${sec.data.matrix}";
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{ config, lib, superConfig, pkgs, tf, ... }:
|
||||
{ config, lib, nixos, pkgs, tf, ... }:
|
||||
|
||||
{
|
||||
kw.secrets = [
|
||||
|
|
@ -73,21 +73,21 @@
|
|||
server = {
|
||||
softnet = {
|
||||
address = "athame.kittywit.ch/5001";
|
||||
password = "kat@${superConfig.networking.hostName}/softnet:\${sec.data.znc}";
|
||||
password = "kat@${nixos.networking.hostName}/softnet:\${sec.data.znc}";
|
||||
ssl = true;
|
||||
ssl_verify = false;
|
||||
autoconnect = true;
|
||||
};
|
||||
liberachat = {
|
||||
address = "athame.kittywit.ch/5001";
|
||||
password = "kat@${superConfig.networking.hostName}/liberachat:\${sec.data.znc}";
|
||||
password = "kat@${nixos.networking.hostName}/liberachat:\${sec.data.znc}";
|
||||
ssl = true;
|
||||
ssl_verify = false;
|
||||
autoconnect = true;
|
||||
};
|
||||
espernet = {
|
||||
address = "athame.kittywit.ch/5001";
|
||||
password = "kat@${superConfig.networking.hostName}/espernet:\${sec.data.znc}";
|
||||
password = "kat@${nixos.networking.hostName}/espernet:\${sec.data.znc}";
|
||||
ssl = true;
|
||||
ssl_verify = false;
|
||||
autoconnect = true;
|
||||
|
|
@ -97,7 +97,7 @@
|
|||
matrix = {
|
||||
server.kittywitch = {
|
||||
address = "kittywit.ch";
|
||||
device_name = "${superConfig.networking.hostName}/weechat";
|
||||
device_name = "${nixos.networking.hostName}/weechat";
|
||||
username = "kat";
|
||||
password = "\${sec.data.matrix}";
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue