From 2690b6296fd7919b2a5cb5836b59ccb6cbf6a63d Mon Sep 17 00:00:00 2001 From: randomuser Date: Fri, 15 Mar 2024 18:51:36 -0500 Subject: [PATCH] changes --- boxes/phone/bash.nix | 16 ++++++++++++++++ boxes/phone/default.nix | 15 +++++++-------- boxes/phone/home.nix | 1 + flake.nix | 3 ++- home/isync/default.nix | 4 ++++ home/khal/default.nix | 4 ++++ home/msmtp/default.nix | 4 ++++ home/neomutt/default.nix | 4 ++++ home/todoman/default.nix | 4 ++++ home/vdirsyncer/default.nix | 4 ++++ 10 files changed, 50 insertions(+), 9 deletions(-) create mode 100644 boxes/phone/bash.nix diff --git a/boxes/phone/bash.nix b/boxes/phone/bash.nix new file mode 100644 index 0000000..b85f686 --- /dev/null +++ b/boxes/phone/bash.nix @@ -0,0 +1,16 @@ +{ lib, config, pkgs, home, ... }: + +{ + home.packages = with pkgs; [ + bash + ]; + + home.file = { + ".bashrc" = { + source = lib.mkDefault ../../home/bash/bashrc; + }; + ".bash_profile" = { + source = lib.mkDefault ../../home/bash/profile; + }; + }; +} diff --git a/boxes/phone/default.nix b/boxes/phone/default.nix index b853e3a..a764fae 100644 --- a/boxes/phone/default.nix +++ b/boxes/phone/default.nix @@ -13,17 +13,16 @@ }; environment.packages = with pkgs; [ - vdirsyncer - msmtp - khal - todoman - neomutt - khal - rbw - isync + tigervnc git tmux hostname + tigervnc + xorg.xinit +# tar +# awk +# sed + elinks ]; environment.etcBackupExtension = ".bak"; diff --git a/boxes/phone/home.nix b/boxes/phone/home.nix index 993fa15..70bbc6f 100644 --- a/boxes/phone/home.nix +++ b/boxes/phone/home.nix @@ -11,6 +11,7 @@ ../../home/msmtp ../../home/neomutt ../../home/rbw + ./bash.nix ]; home.stateVersion = "23.05"; diff --git a/flake.nix b/flake.nix index 8acc27f..147dc02 100644 --- a/flake.nix +++ b/flake.nix @@ -39,7 +39,8 @@ phone-nixpkgs, home-manager-phone, nix-on-droid, - ... }@inputs: { + ... + }@inputs: { nixOnDroidConfigurations = { phone = nix-on-droid.lib.nixOnDroidConfiguration { modules = [ diff --git a/home/isync/default.nix b/home/isync/default.nix index c6ad1cf..263741a 100644 --- a/home/isync/default.nix +++ b/home/isync/default.nix @@ -1,6 +1,10 @@ { lib, config, pkgs, home, ... }: { + home.packages = with pkgs; [ + isync + ]; + home.file = { ".config/isync/config" = { source = ./config; diff --git a/home/khal/default.nix b/home/khal/default.nix index 7694a5a..26ed216 100644 --- a/home/khal/default.nix +++ b/home/khal/default.nix @@ -1,6 +1,10 @@ { lib, config, pkgs, home, ... }: { + home.packages = with pkgs; [ + khal + ]; + home.file = { ".config/khal/config" = { source = ./config; diff --git a/home/msmtp/default.nix b/home/msmtp/default.nix index 14e770a..e268b88 100644 --- a/home/msmtp/default.nix +++ b/home/msmtp/default.nix @@ -1,6 +1,10 @@ { lib, config, pkgs, home, ... }: { + home.packages = with pkgs; [ + msmtp + ]; + home.file = { ".config/msmtp/config" = { source = ./config; diff --git a/home/neomutt/default.nix b/home/neomutt/default.nix index 07e36f9..178db03 100644 --- a/home/neomutt/default.nix +++ b/home/neomutt/default.nix @@ -1,6 +1,10 @@ { lib, config, pkgs, home, ... }: { + home.packages = with pkgs; [ + neomutt + ]; + home.file = { ".config/neomutt/neomuttrc" = { source = ./neomuttrc; diff --git a/home/todoman/default.nix b/home/todoman/default.nix index 141adc3..e92bc0b 100644 --- a/home/todoman/default.nix +++ b/home/todoman/default.nix @@ -1,6 +1,10 @@ { lib, config, pkgs, home, ... }: { + home.packages = with pkgs; [ + todoman + ]; + home.file = { ".config/todoman/config.py" = { source = ./config.py; diff --git a/home/vdirsyncer/default.nix b/home/vdirsyncer/default.nix index e7fb08b..ea53992 100644 --- a/home/vdirsyncer/default.nix +++ b/home/vdirsyncer/default.nix @@ -1,6 +1,10 @@ { lib, config, pkgs, home, ... }: { + home.packages = with pkgs; [ + vdirsyncer + ]; + home.file = { ".config/vdirsyncer/config" = { source = ./config;