aboutsummaryrefslogtreecommitdiffstats
path: root/modules/home.legacy
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--modules/home.legacy/conf/default.nix2
-rw-r--r--modules/home.legacy/conf/gtk/default.nix67
-rw-r--r--modules/home.legacy/conf/starship/default.nix143
-rw-r--r--modules/home.legacy/pkgs/default.nix17
4 files changed, 0 insertions, 229 deletions
diff --git a/modules/home.legacy/conf/default.nix b/modules/home.legacy/conf/default.nix
index b50068ea..cedcf71a 100644
--- a/modules/home.legacy/conf/default.nix
+++ b/modules/home.legacy/conf/default.nix
@@ -13,7 +13,6 @@
./btop
./dconf
./gammastep
- ./gtk
./himalaya
./keepassxc
./mail
@@ -23,6 +22,5 @@
./npm
./prusa_slicer
./python
- ./starship
];
}
diff --git a/modules/home.legacy/conf/gtk/default.nix b/modules/home.legacy/conf/gtk/default.nix
deleted file mode 100644
index e624765b..00000000
--- a/modules/home.legacy/conf/gtk/default.nix
+++ /dev/null
@@ -1,67 +0,0 @@
-# nixos-config - My current NixOS configuration
-#
-# Copyright (C) 2025 Benedikt Peetz <benedikt.peetz@b-peetz.de>
-# SPDX-License-Identifier: GPL-3.0-or-later
-#
-# This file is part of my nixos-config.
-#
-# You should have received a copy of the License along with this program.
-# If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
-{
- config,
- pkgs,
- ...
-}: {
- gtk = {
- enable = true;
- theme = {
- # NOTE: The `nordic` package pulls the whole plasma shell, to copy some stuff from a plasma theme :/ <2026-05-29>
- package = pkgs.nordic;
- name = "Nordic";
- };
- cursorTheme = {
- package = pkgs.nordzy-cursor-theme;
- name = "Nordzy-cursors";
- };
- iconTheme = {
- package = pkgs.nordzy-icon-theme;
- name = "Nordzy-icon";
- };
- font = {
- name = "Noto Sans";
- size = 10;
- };
- gtk2 = {
- configLocation = "${config.xdg.configHome}/gtk-2.0/gtkrc";
- # extraConfig = ''
- # gtk-enable-animations=1
- # gtk-primary-button-warps-slider=0
- # gtk-toolbar-style=3
- # gtk-menu-images=1
- # gtk-button-images=1
- #
- # '';
- };
- gtk3 = {
- # extraConfig = ''
- # gtk-button-images=true
- # gtk-decoration-layout=icon:minimize,maximize,close
- # gtk-enable-animations=true
- # gtk-menu-images=true
- # gtk-primary-button-warps-slider=false
- # gtk-toolbar-style=3
- # #gtk-modules=window-decorations-gtk-module:colorreload-gtk-module
- # '';
- extraCss = "";
- };
- gtk4 = {
- theme = config.gtk.theme;
- # extraConfig = ''
- # gtk-application-prefer-dark-theme=true
- # gtk-decoration-layout=icon:minimize,maximize,close
- # gtk-enable-animations=true
- # gtk-primary-button-warps-slider=false
- # '';
- };
- };
-}
diff --git a/modules/home.legacy/conf/starship/default.nix b/modules/home.legacy/conf/starship/default.nix
deleted file mode 100644
index c34beb05..00000000
--- a/modules/home.legacy/conf/starship/default.nix
+++ /dev/null
@@ -1,143 +0,0 @@
-# nixos-config - My current NixOS configuration
-#
-# Copyright (C) 2025 Benedikt Peetz <benedikt.peetz@b-peetz.de>
-# SPDX-License-Identifier: GPL-3.0-or-later
-#
-# This file is part of my nixos-config.
-#
-# You should have received a copy of the License along with this program.
-# If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
-{
- lib,
- nixosConfig,
- pkgs,
- ...
-}: {
- programs.starship = {
- enable = true;
- enableZshIntegration = true;
-
- settings = {
- add_newline = false;
- format = lib.concatStrings [
- "$directory"
- "$username"
- "\${custom.in_nixos_shell}"
- "$cmd_duration"
- "$status"
- "$character"
- ];
-
- right_format = lib.concatStrings (
- [
- "$git_metrics"
- "$git_branch"
- "$git_status"
- "$git_commit"
- "$git_state"
- "$time"
- ]
- ++ lib.optional
- nixosConfig.soispha.laptop.enable
- "$battery"
- );
-
- scan_timeout = 20;
-
- character = {
- # success_symbol = "[❯](bold blue)";
- # a = "⬢";
- success_symbol = "[](bold blue)";
- error_symbol = "[](bold red)";
- };
-
- status = {
- disabled = false;
- format = "([($common_meaning )($status)( $signal_name)]($style) )";
- };
-
- time = {
- disabled = false;
- format = "[\\[$time\\]]($style)";
- };
-
- username = {
- format = "as [$user]($style) ";
- };
-
- git_branch = {
- format = "[($symbol$branch(:$remote_branch) )]($style)";
- };
- git_status = {
- disabled = true;
- format = "([\\[$ahead_behind\\]]($style) )";
- ahead = "⇡$count";
- diverged = "⇕⇡$ahead_count⇣$behind_count";
- behind = "⇣$count";
- };
- git_metrics = {
- disabled = true;
- ignore_submodules = true;
- };
- git_state = {
- format = "[($state( $progress_current of $progress_total))]($style) ";
- rebase = "[rebasing](bold magenta)";
- merge = "[merging](bold yellow)";
- revert = "[reverting](bold blue)";
- cherry_pick = "[picking](bold red)";
- bisect = "[bisecting](bold red)";
- am = "[applying](bold green)";
- am_or_rebase = "[applying/rebasing](bold yellow)";
- };
- git_commit = {
- disabled = true;
- tag_disabled = false;
- tag_symbol = "v";
- format = "[(\\[$tag\\] )]($style)";
- };
-
- directory = {
- truncate_to_repo = true;
- read_only = " 󰌾";
- before_repo_root_style = "black bold dimmed";
- };
-
- cmd_duration = {
- min_time = 2000; # Milliseconds
- style = "bold white";
- };
-
- custom = {
- in_nixos_shell = {
- symbol = "VM ";
- style = "bold white";
- when = ''test "$IN_NIXOS_SHELL" = true '';
- shell = ["${lib.getExe pkgs.dash}"];
- description = "Show if a shell is run in a vm";
- };
- };
-
- battery = {
- # '󰁹 '
- # '󰂄 '
- # '󰂃 '
- # '󰁽 '
- # '󰂎 '
- display = [
- {
- threshold = 10;
- style = "bold red";
- }
- {
- threshold = 30;
- style = "bold blue";
- }
- {
- threshold = 50;
- style = "bold green";
- }
- ];
- };
- };
- };
-}
diff --git a/modules/home.legacy/pkgs/default.nix b/modules/home.legacy/pkgs/default.nix
index 065f0c96..840ffb19 100644
--- a/modules/home.legacy/pkgs/default.nix
+++ b/modules/home.legacy/pkgs/default.nix
@@ -23,7 +23,6 @@ with pkgs; let
TuiCli = {
Misc = [
- killall # kill a application by name
bc # Smart calculator
aumo # Automatic mount
jq # Json parser
@@ -48,12 +47,6 @@ with pkgs; let
];
};
- Media = {
- YouTube = [
- yt # A command line YouTube client
- ];
- };
-
Hardware = {
Storage = [
# TODO: smartmontools # Control and monitor S.M.A.R.T. enabled ATA and SCSI Hard Drives
@@ -87,16 +80,6 @@ with pkgs; let
ripgrep # A search tool that combines the usability of ag with the raw speed of grep
file # Show information about a file
];
-
- Programming = {
- GeneralTools = [
- stamp # Add a license header to a file
- git # the fast distributed version control system
- git-edit-index # Allows you to edit the indexed version of a file
- git-cm # A wrapper that re-adds the last commit's subject
- glow # Command-line markdown renderer
- ];
- };
};
mapFun = x:
if builtins.isAttrs x