feat: various updates including nixspect removal, new aliases, and browser config
This commit is contained in:
parent
af6a3b6f2c
commit
d0738a9c1e
11 changed files with 8 additions and 50 deletions
21
flake.lock
generated
21
flake.lock
generated
|
@ -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",
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
gcam = "git commit -am";
|
||||
gu = "git push";
|
||||
gy = "git pull";
|
||||
gdh = "git diff HEAD";
|
||||
};
|
||||
programs.git = {
|
||||
enable = true;
|
||||
|
|
|
@ -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
|
||||
];
|
||||
};
|
||||
|
||||
|
|
|
@ -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; [
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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 |
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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
|
||||
''
|
Loading…
Add table
Add a link
Reference in a new issue