feat: various updates including nixspect removal, new aliases, and browser config

This commit is contained in:
Mohammad Rafiq 2025-06-30 05:54:14 +08:00
parent af6a3b6f2c
commit d0738a9c1e
No known key found for this signature in database
11 changed files with 8 additions and 50 deletions

21
flake.lock generated
View file

@ -770,26 +770,6 @@
"type": "github"
}
},
"nixspect": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1747725629,
"narHash": "sha256-jEdIW5+SMfX6jVvx/MkMbpXLX9S2b+zsayIC1YJNAaY=",
"owner": "rrvsh",
"repo": "nixspect",
"rev": "28deacc6adeaef69f45af5c8139961a774e1600b",
"type": "github"
},
"original": {
"owner": "rrvsh",
"repo": "nixspect",
"type": "github"
}
},
"nur": {
"inputs": {
"flake-parts": [
@ -912,7 +892,6 @@
"nil": "nil",
"nix-index-database": "nix-index-database",
"nixpkgs": "nixpkgs_2",
"nixspect": "nixspect",
"nur": "nur",
"nvf": "nvf",
"python-flexseal": "python-flexseal",

View file

@ -22,8 +22,6 @@
nix-index-database.inputs.nixpkgs.follows = "nixpkgs";
nix-index-database.url = "github:nix-community/nix-index-database";
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
nixspect.inputs.nixpkgs.follows = "nixpkgs";
nixspect.url = "github:rrvsh/nixspect";
nur.inputs.flake-parts.follows = "flake-parts";
nur.inputs.nixpkgs.follows = "nixpkgs";
nur.url = "github:nix-community/NUR";

View file

@ -42,6 +42,7 @@
tab_truncate_start_format "..."
tab_truncate_end_format "..."
//TODO: disable if we are not on ssh
datetime "#[fg=#6C7086,bold] {format}"
datetime_format "%H:%M:%S"
datetime_timezone "Asia/Singapore"

View file

@ -6,6 +6,7 @@
gcam = "git commit -am";
gu = "git push";
gy = "git pull";
gdh = "git diff HEAD";
};
programs.git = {
enable = true;

View file

@ -2,7 +2,6 @@
{
programs = {
nh.enable = true;
pay-respects.enable = true;
tealdeer = {
enable = true;
enableAutoUpdates = true;
@ -16,12 +15,10 @@
nix-index.enable = true;
nix-index-database.comma.enable = true;
};
persistDirs = [
".local/share/zoxide"
];
persistDirs = [ ".local/share/zoxide" ];
home = {
shellAliases = {
windows = "systemctl reboot --boot-loader-entry=auto-windows";
windows = "sudo systemctl reboot --boot-loader-entry=auto-windows";
v = "nvim";
e = "edit";
cd = "z";
@ -35,8 +32,6 @@
pantheon.deploy
pantheon.edit
pantheon.commit
pantheon.check
inputs.nixspect.packages."x86_64-linux".nixspect
];
};

View file

@ -22,6 +22,7 @@ let
profileCfg = id: {
inherit id;
settings."extensions.autoDisableScopes" = 0; # Auto enable extensions
#TODO: add default seach unduck and add rest of extensions
extensions = {
force = true;
packages = with firefox-addons; [

View file

@ -5,6 +5,7 @@
programs.waybar = {
settings = [
{
#TODO: review the rest of the modules to see what else can be added
layer = "top";
modules-left = [
"pulseaudio"

View file

@ -1,4 +1,5 @@
{
home.sessionVariables.TERMINAL = "ghostty -e";
#TODO: fix image preview
programs.ghostty.settings.confirm-close-surface = false;
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 167 KiB

After

Width:  |  Height:  |  Size: 1.5 MiB

Before After
Before After

View file

@ -8,4 +8,5 @@
wayland.windowManager.hyprland.settings = import ./_hyprland/settings.nix {
inherit pkgs osConfig lib;
};
# TODO: add gamescope here or in nixos desktop module
}

View file

@ -1,20 +0,0 @@
{ pkgs, ... }:
pkgs.writeShellScriptBin "check" # bash
''
check_nginx() {
ssh apollo systemctl show nginx | grep '^ExecStart=' | grep -oP ' -c \K[^ ]+' | xargs cat
}
while [[ $# -gt 0 ]]; do
case "$1" in
nginx)
check_nginx
exit 0
;;
*)
echo "Unrecognised parameter."
exit 1
;;
esac
done
''