aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhongheng Liu <z.liu@outlook.com.gr>2024-08-12 15:31:40 +0800
committerZhongheng Liu <z.liu@outlook.com.gr>2024-08-12 15:31:40 +0800
commitd88a524105a44dcb5b00b49b52e8c15a1b89e52e (patch)
treecbc9a2021e4891313731bbffb79b8ad5b60be12d
parent70a3ea5d3dac24e0db8adee2edc185d8566cb020 (diff)
downloadnixos-configuration-d88a524105a44dcb5b00b49b52e8c15a1b89e52e.tar.gz
nixos-configuration-d88a524105a44dcb5b00b49b52e8c15a1b89e52e.tar.bz2
nixos-configuration-d88a524105a44dcb5b00b49b52e8c15a1b89e52e.zip
feat: updated configuration for thunderbird, fish, and hypridle configuration
thunderbird: added configuration values in home-manager fish: added more plugins and custom functions to do funny things hypridle: changed timeoutSeconds value from 60 to 600 because it is too annoying
-rw-r--r--home-manager/stvnliu/home.nix6
-rw-r--r--home-manager/stvnliu/hypr/hypridle.nix2
-rw-r--r--home-manager/stvnliu/shells/fish/default.nix35
-rw-r--r--nixos/configuration.nix2
4 files changed, 35 insertions, 10 deletions
diff --git a/home-manager/stvnliu/home.nix b/home-manager/stvnliu/home.nix
index 79a91dc..33125da 100644
--- a/home-manager/stvnliu/home.nix
+++ b/home-manager/stvnliu/home.nix
@@ -60,6 +60,12 @@
# set number
# '';
#};
+ programs.thunderbird = {
+ enable = true;
+ profiles.default = {
+ isDefault = true;
+ };
+ };
home.packages = with pkgs; [
protonvpn-gui
devenv
diff --git a/home-manager/stvnliu/hypr/hypridle.nix b/home-manager/stvnliu/hypr/hypridle.nix
index 5b5da02..5439a41 100644
--- a/home-manager/stvnliu/hypr/hypridle.nix
+++ b/home-manager/stvnliu/hypr/hypridle.nix
@@ -1,5 +1,5 @@
{pkgs, ...}: let
- timeoutSeconds = 60;
+ timeoutSeconds = 600;
in {
services.hypridle = {
enable = true;
diff --git a/home-manager/stvnliu/shells/fish/default.nix b/home-manager/stvnliu/shells/fish/default.nix
index 5bd88a0..895cc7f 100644
--- a/home-manager/stvnliu/shells/fish/default.nix
+++ b/home-manager/stvnliu/shells/fish/default.nix
@@ -22,19 +22,38 @@ in
funcsave -q fish_greeting
'';
shellAliases = import ../aliases {inherit pkgs;};
- plugins = [
+ plugins = with pkgs.fishPlugins; [
{
name = "z";
- src = pkgs.fetchFromGitHub {
- owner = "jethrokuan";
- repo = "z";
- rev = "ddeb28a7b6a1f0ec6dae40c636e5ca4908ad160a";
- sha256 = "0c5i7sdrsp0q3vbziqzdyqn4fmp235ax4mn4zslrswvn8g3fvdyh";
- };
+ src = z.src;
}
{
name = "plugin-git";
- src = pkgs.fishPlugins.plugin-git.src;
+ src = plugin-git.src;
+ }
+ {
+ name = "transient-fish";
+ src = transient-fish.src;
+ }
+ {
+ name = "done";
+ src = done.src;
+ }
+ {
+ name = "gruvbox";
+ src = gruvbox.src;
+ }
+ {
+ name = "colored-man-pages";
+ src = colored-man-pages.src;
+ }
+ {
+ name = "puffer";
+ src = puffer.src;
+ }
+ {
+ name = "pisces";
+ src = pisces.src;
}
];
};
diff --git a/nixos/configuration.nix b/nixos/configuration.nix
index 9be673b..7f738f2 100644
--- a/nixos/configuration.nix
+++ b/nixos/configuration.nix
@@ -125,7 +125,7 @@
initialPassword = "stevenpassword";
isNormalUser = true;
openssh.authorizedKeys.keys = [];
- packages = with pkgs; [nh];
+ packages = with pkgs; [nh gparted];
extraGroups = ["wheel" "input" "networkmanager"];
};
};