change module import method
This commit is contained in:
parent
1f0d0c64db
commit
001ab33d7b
@ -45,7 +45,6 @@ in {
|
|||||||
})
|
})
|
||||||
|
|
||||||
(import customProfiles.headscale {
|
(import customProfiles.headscale {
|
||||||
inherit config lib inputs;
|
|
||||||
inherit (import ./dns-mapping.nix) headscale-list;
|
inherit (import ./dns-mapping.nix) headscale-list;
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
@ -1,13 +1,10 @@
|
|||||||
{ config, ... }:
|
{ config, ... }: {
|
||||||
let
|
|
||||||
homeDir = config.home-manager.users.${config.mainuser}.home.homeDirectory;
|
|
||||||
in {
|
|
||||||
# TODO: enable websocket (--rpc-certificate)
|
# TODO: enable websocket (--rpc-certificate)
|
||||||
home-manager.users.${config.mainuser} = {
|
home-manager.users.${config.mainuser} = { config, ...}: {
|
||||||
programs.aria2 = {
|
programs.aria2 = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
dir = "${homeDir}/Downloads/aria2";
|
dir = "${config.home.homeDirectory}/Downloads/aria2";
|
||||||
listen-port = "6881-6999";
|
listen-port = "6881-6999";
|
||||||
# rpc-listen-port = 6800;
|
# rpc-listen-port = 6800;
|
||||||
};
|
};
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ dnsmasq-list ? [], ... }:
|
{ dnsmasq-list ? [] }: { ... }:
|
||||||
let
|
let
|
||||||
nodeAddress = "192.168.0.5";
|
nodeAddress = "192.168.0.5";
|
||||||
upstream-dns = "100.64.0.1";
|
upstream-dns = "100.64.0.1";
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ config, lib, inputs, headscale-list ? {}, ... }:
|
{ headscale-list ? {} }: { config, lib, inputs, ... }:
|
||||||
let
|
let
|
||||||
domain = "wg.ataraxiadev.com";
|
domain = "wg.ataraxiadev.com";
|
||||||
in {
|
in {
|
||||||
|
@ -2,10 +2,10 @@
|
|||||||
|
|
||||||
environment.pathsToLink = [ "/share/zsh" ];
|
environment.pathsToLink = [ "/share/zsh" ];
|
||||||
environment.sessionVariables.SHELL = "${pkgs.zsh}/bin/zsh";
|
environment.sessionVariables.SHELL = "${pkgs.zsh}/bin/zsh";
|
||||||
home-manager.users.${config.mainuser} = {
|
home-manager.users.${config.mainuser} = { config, ... }: {
|
||||||
home.sessionVariables.SHELL = "${pkgs.zsh}/bin/zsh";
|
home.sessionVariables.SHELL = "${pkgs.zsh}/bin/zsh";
|
||||||
home.file.".profile".text = ''
|
home.file.".profile".text = ''
|
||||||
. "${config.home-manager.users.${config.mainuser}.home.profileDirectory}/etc/profile.d/hm-session-vars.sh"
|
. "${config.home.profileDirectory}/etc/profile.d/hm-session-vars.sh"
|
||||||
'';
|
'';
|
||||||
programs = {
|
programs = {
|
||||||
zsh = {
|
zsh = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user