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
|
||||
bash = import ../../module/common/bash/Init.nix args;
|
||||
bash = import ../../module/common/bash args;
|
||||
script = pkgs.writeText "backupScript" ''
|
||||
source ${bash.modules}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{ pkgs, style, util, ... } @args: let
|
||||
bash = import ../../module/common/bash/Init.nix args;
|
||||
bash = import ../../module/common/bash args;
|
||||
script = ''
|
||||
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
|
||||
sway = import ./sway/Init.nix args;
|
||||
sway = import ./sway args;
|
||||
config = pkgs.writeText "swayConfig" sway.config;
|
||||
in {
|
||||
imports = [
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{ lib, style, util, pkgs, ... } @args: let
|
||||
bash = import ./bash/Init.nix args;
|
||||
bash = import ./bash args;
|
||||
in {
|
||||
programs.bash.interactiveShellInit = bash.config;
|
||||
environment.shellAliases = lib.mkForce {};
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{ pkgs, util, ... } @args: let
|
||||
firefox = import ./firefox/Init.nix args;
|
||||
firefox = import ./firefox args;
|
||||
in {
|
||||
# Disable profile switching on rebuild.
|
||||
environment.variables = {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{ inputs, pkgs, util, key, setting, ... } @args: let
|
||||
nvim = import ./nvim/Init.nix args;
|
||||
nvim = import ./nvim args;
|
||||
in {
|
||||
environment = {
|
||||
variables = {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{ pkgs, util, ... } @args: let
|
||||
ssh = import ./ssh/Init.nix args;
|
||||
ssh = import ./ssh args;
|
||||
in {
|
||||
environment.systemPackages = with pkgs; [ sshfs ];
|
||||
programs.ssh.extraConfig = ssh.config;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{ pkgs, style, key, util, ... } @args: let
|
||||
tmux = import ./tmux/Init.nix args;
|
||||
tmux = import ./tmux args;
|
||||
script = pkgs.writeShellScriptBin "tmux_script" tmux.script;
|
||||
in {
|
||||
programs.tmux = {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ const, util, style, pkgs, setting, key, secret, ... } @args: {
|
||||
imports = [
|
||||
(import ./Default.nix (args // {
|
||||
(import ./common (args // {
|
||||
username = "dasha";
|
||||
homeDir = "/home/dasha";
|
||||
}))
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ const, util, style, pkgs, setting, key, secret, ... } @args: {
|
||||
imports = [
|
||||
(import ./Default.nix (args // {
|
||||
(import ./common (args // {
|
||||
username = "root";
|
||||
homeDir = "/root";
|
||||
}))
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ const, util, style, pkgs, setting, key, secret, ... } @args: {
|
||||
imports = [
|
||||
(import ./Default.nix (args // {
|
||||
(import ./common (args // {
|
||||
username = "voronind";
|
||||
homeDir = "/home/voronind";
|
||||
}))
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
{ const, username, homeDir, util, style, pkgs, setting, key, secret, ... } @args: let
|
||||
foot = import ./module/foot/Init.nix args;
|
||||
mako = import ./module/mako/Init.nix args;
|
||||
editorconfig = import ./module/editorconfig/Init.nix args;
|
||||
btop = import ./module/top/btop/Init.nix args;
|
||||
htop = import ./module/top/htop/Init.nix args;
|
||||
foot = import ./foot args;
|
||||
mako = import ./mako args;
|
||||
editorconfig = import ./editorconfig args;
|
||||
btop = import ./top/btop args;
|
||||
htop = import ./top/htop args;
|
||||
in {
|
||||
home-manager.backupFileExtension = "old";
|
||||
|
||||
|
@ -20,7 +20,7 @@ in {
|
|||
".config/foot/foot.ini".text = foot.config;
|
||||
".editorconfig".text = editorconfig.config;
|
||||
".parallel/will-cite".text = "";
|
||||
"media/template".source = ./module/template;
|
||||
"media/template".source = ./template;
|
||||
};
|
||||
|
||||
# Directories.
|
Loading…
Reference in a new issue