Rename Init.nix files to default.nix.
This commit is contained in:
parent
9c22ee3ac1
commit
7be39bb2bb
|
@ -1,5 +1,5 @@
|
||||||
{ pkgs, style, util, ... } @args: let
|
{ pkgs, style, util, ... } @args: let
|
||||||
bash = import ../../module/common/bash/Init.nix args;
|
bash = import ../../module/common/bash args;
|
||||||
script = pkgs.writeText "backupScript" ''
|
script = pkgs.writeText "backupScript" ''
|
||||||
source ${bash.modules}
|
source ${bash.modules}
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{ pkgs, style, util, ... } @args: let
|
{ pkgs, style, util, ... } @args: let
|
||||||
bash = import ../../module/common/bash/Init.nix args;
|
bash = import ../../module/common/bash args;
|
||||||
script = ''
|
script = ''
|
||||||
docker exec -u 33 cloud php -f /var/www/html/cron.php || notify 'Nextcloud : Failed to run cron.'
|
docker exec -u 33 cloud php -f /var/www/html/cron.php || notify 'Nextcloud : Failed to run cron.'
|
||||||
'';
|
'';
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{ pkgs, lib, wallpaper, style, ... } @args: let
|
{ pkgs, lib, wallpaper, style, ... } @args: let
|
||||||
sway = import ./sway/Init.nix args;
|
sway = import ./sway args;
|
||||||
config = pkgs.writeText "swayConfig" sway.config;
|
config = pkgs.writeText "swayConfig" sway.config;
|
||||||
in {
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{ lib, style, util, pkgs, ... } @args: let
|
{ lib, style, util, pkgs, ... } @args: let
|
||||||
bash = import ./bash/Init.nix args;
|
bash = import ./bash args;
|
||||||
in {
|
in {
|
||||||
programs.bash.interactiveShellInit = bash.config;
|
programs.bash.interactiveShellInit = bash.config;
|
||||||
environment.shellAliases = lib.mkForce {};
|
environment.shellAliases = lib.mkForce {};
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{ pkgs, util, ... } @args: let
|
{ pkgs, util, ... } @args: let
|
||||||
firefox = import ./firefox/Init.nix args;
|
firefox = import ./firefox args;
|
||||||
in {
|
in {
|
||||||
# Disable profile switching on rebuild.
|
# Disable profile switching on rebuild.
|
||||||
environment.variables = {
|
environment.variables = {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{ inputs, pkgs, util, key, setting, ... } @args: let
|
{ inputs, pkgs, util, key, setting, ... } @args: let
|
||||||
nvim = import ./nvim/Init.nix args;
|
nvim = import ./nvim args;
|
||||||
in {
|
in {
|
||||||
environment = {
|
environment = {
|
||||||
variables = {
|
variables = {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{ pkgs, util, ... } @args: let
|
{ pkgs, util, ... } @args: let
|
||||||
ssh = import ./ssh/Init.nix args;
|
ssh = import ./ssh args;
|
||||||
in {
|
in {
|
||||||
environment.systemPackages = with pkgs; [ sshfs ];
|
environment.systemPackages = with pkgs; [ sshfs ];
|
||||||
programs.ssh.extraConfig = ssh.config;
|
programs.ssh.extraConfig = ssh.config;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{ pkgs, style, key, util, ... } @args: let
|
{ pkgs, style, key, util, ... } @args: let
|
||||||
tmux = import ./tmux/Init.nix args;
|
tmux = import ./tmux args;
|
||||||
script = pkgs.writeShellScriptBin "tmux_script" tmux.script;
|
script = pkgs.writeShellScriptBin "tmux_script" tmux.script;
|
||||||
in {
|
in {
|
||||||
programs.tmux = {
|
programs.tmux = {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{ const, util, style, pkgs, setting, key, secret, ... } @args: {
|
{ const, util, style, pkgs, setting, key, secret, ... } @args: {
|
||||||
imports = [
|
imports = [
|
||||||
(import ./Default.nix (args // {
|
(import ./common (args // {
|
||||||
username = "dasha";
|
username = "dasha";
|
||||||
homeDir = "/home/dasha";
|
homeDir = "/home/dasha";
|
||||||
}))
|
}))
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{ const, util, style, pkgs, setting, key, secret, ... } @args: {
|
{ const, util, style, pkgs, setting, key, secret, ... } @args: {
|
||||||
imports = [
|
imports = [
|
||||||
(import ./Default.nix (args // {
|
(import ./common (args // {
|
||||||
username = "root";
|
username = "root";
|
||||||
homeDir = "/root";
|
homeDir = "/root";
|
||||||
}))
|
}))
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{ const, util, style, pkgs, setting, key, secret, ... } @args: {
|
{ const, util, style, pkgs, setting, key, secret, ... } @args: {
|
||||||
imports = [
|
imports = [
|
||||||
(import ./Default.nix (args // {
|
(import ./common (args // {
|
||||||
username = "voronind";
|
username = "voronind";
|
||||||
homeDir = "/home/voronind";
|
homeDir = "/home/voronind";
|
||||||
}))
|
}))
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
{ const, username, homeDir, util, style, pkgs, setting, key, secret, ... } @args: let
|
{ const, username, homeDir, util, style, pkgs, setting, key, secret, ... } @args: let
|
||||||
foot = import ./module/foot/Init.nix args;
|
foot = import ./foot args;
|
||||||
mako = import ./module/mako/Init.nix args;
|
mako = import ./mako args;
|
||||||
editorconfig = import ./module/editorconfig/Init.nix args;
|
editorconfig = import ./editorconfig args;
|
||||||
btop = import ./module/top/btop/Init.nix args;
|
btop = import ./top/btop args;
|
||||||
htop = import ./module/top/htop/Init.nix args;
|
htop = import ./top/htop args;
|
||||||
in {
|
in {
|
||||||
home-manager.backupFileExtension = "old";
|
home-manager.backupFileExtension = "old";
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@ in {
|
||||||
".config/foot/foot.ini".text = foot.config;
|
".config/foot/foot.ini".text = foot.config;
|
||||||
".editorconfig".text = editorconfig.config;
|
".editorconfig".text = editorconfig.config;
|
||||||
".parallel/will-cite".text = "";
|
".parallel/will-cite".text = "";
|
||||||
"media/template".source = ./module/template;
|
"media/template".source = ./template;
|
||||||
};
|
};
|
||||||
|
|
||||||
# Directories.
|
# Directories.
|
Loading…
Reference in a new issue