mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2026-03-20 08:22:55 +01:00
Compare commits
No commits in common. "008c697c5039046dc4a07cce231594e44de57eee" and "7a22900c9b4351588c163c8b8dafde5117467498" have entirely different histories.
008c697c50
...
7a22900c9b
20 changed files with 94 additions and 397 deletions
122
flake.lock
generated
122
flake.lock
generated
|
|
@ -3,11 +3,11 @@
|
||||||
"ai-robots-txt": {
|
"ai-robots-txt": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1771349314,
|
"lastModified": 1766279226,
|
||||||
"narHash": "sha256-HwRsZKQlK0t88Sz7VDQ5qZoufPTfYofZhBQ6EY3jVkg=",
|
"narHash": "sha256-O/W/gX7EazxzR+ghdxg4i6S0SHEUZoX1afB//HKUNgY=",
|
||||||
"owner": "ai-robots-txt",
|
"owner": "ai-robots-txt",
|
||||||
"repo": "ai.robots.txt",
|
"repo": "ai.robots.txt",
|
||||||
"rev": "243ec6b67d31909e4e3f9d9ee2f79266402c9222",
|
"rev": "aa8519ec107d7cfa29b03005c9176708e1269965",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -57,11 +57,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1770895474,
|
"lastModified": 1769428758,
|
||||||
"narHash": "sha256-JBcrq1Y0uw87VZdYsByVbv+GBuT6ECaCNb9txLX9UuU=",
|
"narHash": "sha256-0G/GzF7lkWs/yl82bXuisSqPn6sf8YGTnbEdFOXvOfU=",
|
||||||
"owner": "hyprwm",
|
"owner": "hyprwm",
|
||||||
"repo": "aquamarine",
|
"repo": "aquamarine",
|
||||||
"rev": "a494d50d32b5567956b558437ceaa58a380712f7",
|
"rev": "def5e74c97370f15949a67c62e61f1459fcb0e15",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -357,11 +357,11 @@
|
||||||
"homebrew-cask": {
|
"homebrew-cask": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1771583642,
|
"lastModified": 1770245750,
|
||||||
"narHash": "sha256-mKVhOB/bChKUdaDu/RJCqaWXORrCiCeYPvmvQxhPSIE=",
|
"narHash": "sha256-hWGcDAhwloJK0MGvu9v1aIY3tUphAYMYkbc3whaCHTY=",
|
||||||
"owner": "homebrew",
|
"owner": "homebrew",
|
||||||
"repo": "homebrew-cask",
|
"repo": "homebrew-cask",
|
||||||
"rev": "52991d23ad7ae88ec4eb6ece5c90fadc3d660335",
|
"rev": "e4f2be7badec7ede6128614daaa7a0ca8155d183",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -373,11 +373,11 @@
|
||||||
"homebrew-core": {
|
"homebrew-core": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1771577856,
|
"lastModified": 1770252071,
|
||||||
"narHash": "sha256-B+tR08bn8+FJ/hk8BmGqV3tQvqftsm9MlhNRNgGFzfs=",
|
"narHash": "sha256-d3ci+aTB1k5HyCTIoX/JmrhKgbXZVjE/aggVl6xYdFE=",
|
||||||
"owner": "homebrew",
|
"owner": "homebrew",
|
||||||
"repo": "homebrew-core",
|
"repo": "homebrew-core",
|
||||||
"rev": "3c90b72f62f5930e7adadbd98c7873159dd09129",
|
"rev": "520f413dc530506af8e624f9cbbedbb3b5e01677",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -391,11 +391,11 @@
|
||||||
"nixpkgs": "nixpkgs_3"
|
"nixpkgs": "nixpkgs_3"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1771502235,
|
"lastModified": 1768426687,
|
||||||
"narHash": "sha256-aH8h5ZOiyEGtHmEyuE/eFxx8TN7a+NGDnl4V+dbzJ6E=",
|
"narHash": "sha256-CopNx3j//gZ2mE0ggEK9dZ474UcbDhpTw+KMor8mSxI=",
|
||||||
"owner": "hyprwm",
|
"owner": "hyprwm",
|
||||||
"repo": "contrib",
|
"repo": "contrib",
|
||||||
"rev": "918f266dddae39fa4184a1b8bf51ec5381cf29f7",
|
"rev": "541628cebe42792ddf5063c4abd6402c2f1bd68f",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -449,11 +449,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1770511807,
|
"lastModified": 1769284023,
|
||||||
"narHash": "sha256-suKmSbSk34uPOJDTg/GbPrKEJutzK08vj0VoTvAFBCA=",
|
"narHash": "sha256-xG34vwYJ79rA2wVC8KFuM8r36urJTG6/csXx7LiiSYU=",
|
||||||
"owner": "hyprwm",
|
"owner": "hyprwm",
|
||||||
"repo": "hyprgraphics",
|
"repo": "hyprgraphics",
|
||||||
"rev": "7c75487edd43a71b61adb01cae8326d277aab683",
|
"rev": "13c536659d46893596412d180449353a900a1d31",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -481,11 +481,11 @@
|
||||||
"xdph": "xdph"
|
"xdph": "xdph"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1771522877,
|
"lastModified": 1769694617,
|
||||||
"narHash": "sha256-uCi2y7Y0hgw81Vet26nLidq/xZZEpdlkWj8aZKItaMI=",
|
"narHash": "sha256-h8+Wqc4x68mN2qOLX45HsO6Z4eQOfrdtSKiSzcBrCVg=",
|
||||||
"owner": "hyprwm",
|
"owner": "hyprwm",
|
||||||
"repo": "Hyprland",
|
"repo": "Hyprland",
|
||||||
"rev": "9ea6d0e15fddccf321c035e83b007a55d6829dd9",
|
"rev": "c92fb5e85f4a5fd3a0f5ffb5892f6a61cfe1be2b",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -557,11 +557,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1770899531,
|
"lastModified": 1769285097,
|
||||||
"narHash": "sha256-UBrWjh0DR8db60aLNkTnZTJ9F4kWK0Y7rUDNJC88W7A=",
|
"narHash": "sha256-eVD4U3Oqzz0VU9ylJ5wo76xDcYKv2CpiiRXq4Is4QdA=",
|
||||||
"owner": "hyprwm",
|
"owner": "hyprwm",
|
||||||
"repo": "hyprland-plugins",
|
"repo": "hyprland-plugins",
|
||||||
"rev": "e03c34ccd51280a44ea6d1f5c040cd81ecca25ed",
|
"rev": "06c0749a0dac978d89b1a76ae6adc76a3c15dbfa",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -688,11 +688,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1770139857,
|
"lastModified": 1766253372,
|
||||||
"narHash": "sha256-bCqxcXjavgz5KBJ/1CBLqnagMMf9JvU1m9HmYVASKoc=",
|
"narHash": "sha256-1+p4Kw8HdtMoFSmJtfdwjxM4bPxDK9yg27SlvUMpzWA=",
|
||||||
"owner": "hyprwm",
|
"owner": "hyprwm",
|
||||||
"repo": "hyprutils",
|
"repo": "hyprutils",
|
||||||
"rev": "9038eec033843c289b06b83557a381a2648d8fa5",
|
"rev": "51a4f93ce8572e7b12b7284eb9e6e8ebf16b4be9",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -713,11 +713,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1770501770,
|
"lastModified": 1763640274,
|
||||||
"narHash": "sha256-NWRM6+YxTRv+bT9yvlhhJ2iLae1B1pNH3mAL5wi2rlQ=",
|
"narHash": "sha256-Uan1Nl9i4TF/kyFoHnTq1bd/rsWh4GAK/9/jDqLbY5A=",
|
||||||
"owner": "hyprwm",
|
"owner": "hyprwm",
|
||||||
"repo": "hyprwayland-scanner",
|
"repo": "hyprwayland-scanner",
|
||||||
"rev": "0bd8b6cde9ec27d48aad9e5b4deefb3746909d40",
|
"rev": "f6cf414ca0e16a4d30198fd670ec86df3c89f671",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -742,11 +742,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1770203293,
|
"lastModified": 1769202094,
|
||||||
"narHash": "sha256-PR/KER+yiHabFC/h1Wjb+9fR2Uy0lWM3Qld7jPVaWkk=",
|
"narHash": "sha256-gdJr/vWWLRW85ucatSjoBULPB2dqBJd/53CZmQ9t91Q=",
|
||||||
"owner": "hyprwm",
|
"owner": "hyprwm",
|
||||||
"repo": "hyprwire",
|
"repo": "hyprwire",
|
||||||
"rev": "37bc90eed02b0c8b5a77a0b00867baf3005cfb98",
|
"rev": "a45ca05050d22629b3c7969a926d37870d7dd75c",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -907,11 +907,11 @@
|
||||||
},
|
},
|
||||||
"nixos-hardware": {
|
"nixos-hardware": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1771423359,
|
"lastModified": 1769302137,
|
||||||
"narHash": "sha256-yRKJ7gpVmXbX2ZcA8nFi6CMPkJXZGjie2unsiMzj3Ig=",
|
"narHash": "sha256-QEDtctEkOsbx8nlFh4yqPEOtr4tif6KTqWwJ37IM2ds=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixos-hardware",
|
"repo": "nixos-hardware",
|
||||||
"rev": "740a22363033e9f1bb6270fbfb5a9574067af15b",
|
"rev": "a351494b0e35fd7c0b7a1aae82f0afddf4907aa8",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -969,11 +969,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs_10": {
|
"nixpkgs_10": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1770843696,
|
"lastModified": 1769268028,
|
||||||
"narHash": "sha256-LovWTGDwXhkfCOmbgLVA10bvsi/P8eDDpRudgk68HA8=",
|
"narHash": "sha256-mAdJpV0e5IGZjnE4f/8uf0E4hQR7ptRP00gnZKUOdMo=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "2343bbb58f99267223bc2aac4fc9ea301a155a16",
|
"rev": "ab9fbbcf4858bd6d40ba2bbec37ceb4ab6e1f562",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -985,11 +985,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs_11": {
|
"nixpkgs_11": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1770197578,
|
"lastModified": 1769018530,
|
||||||
"narHash": "sha256-AYqlWrX09+HvGs8zM6ebZ1pwUqjkfpnv8mewYwAo+iM=",
|
"narHash": "sha256-MJ27Cy2NtBEV5tsK+YraYr2g851f3Fl1LpNHDzDX15c=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "00c21e4c93d963c50d4c0c89bfa84ed6e0694df2",
|
"rev": "88d3861acdd3d2f0e361767018218e51810df8a1",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -1049,11 +1049,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs_5": {
|
"nixpkgs_5": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1771419570,
|
"lastModified": 1769598131,
|
||||||
"narHash": "sha256-bxAlQgre3pcQcaRUm/8A0v/X8d2nhfraWSFqVmMcBcU=",
|
"narHash": "sha256-e7VO/kGLgRMbWtpBqdWl0uFg8Y2XWFMdz0uUJvlML8o=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "6d41bc27aaf7b6a3ba6b169db3bd5d6159cfaa47",
|
"rev": "fa83fd837f3098e3e678e6cf017b2b36102c7211",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -1097,11 +1097,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs_8": {
|
"nixpkgs_8": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1771369470,
|
"lastModified": 1769461804,
|
||||||
"narHash": "sha256-0NBlEBKkN3lufyvFegY4TYv5mCNHbi5OmBDrzihbBMQ=",
|
"narHash": "sha256-msG8SU5WsBUfVVa/9RPLaymvi5bI8edTavbIq3vRlhI=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "0182a361324364ae3f436a63005877674cf45efb",
|
"rev": "bfc1b8a4574108ceef22f02bafcf6611380c100d",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -1173,11 +1173,11 @@
|
||||||
"nixpkgs": "nixpkgs_8"
|
"nixpkgs": "nixpkgs_8"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1771581385,
|
"lastModified": 1769768855,
|
||||||
"narHash": "sha256-Yu5ehDh4rtd3Ow6VyXEEuQ40DzD14oe0R8kXFUtIGBs=",
|
"narHash": "sha256-OuUk+skANEQBNDKLiXvZOcdv2vfWsrbxvwNPSw0iKjE=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "NUR",
|
"repo": "NUR",
|
||||||
"rev": "5bdc2edf13c2dbbbb7d4ce9228fc01cdb5254ed2",
|
"rev": "cf3ece1c8c4108d7e5940ba7f1b01048407fff10",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -1213,7 +1213,7 @@
|
||||||
"oisd": {
|
"oisd": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"narHash": "sha256-j/o31zDLIhL7Kec6NAoyIMuO7Woh+2e/JzWMzqVuKpo=",
|
"narHash": "sha256-vW0GHUShUrTXa6qwEcJNhD/m5kbSlpzOIMj1/Kv77uk=",
|
||||||
"type": "file",
|
"type": "file",
|
||||||
"url": "https://big.oisd.nl/domainswild"
|
"url": "https://big.oisd.nl/domainswild"
|
||||||
},
|
},
|
||||||
|
|
@ -1232,11 +1232,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1770726378,
|
"lastModified": 1769069492,
|
||||||
"narHash": "sha256-kck+vIbGOaM/dHea7aTBxdFYpeUl/jHOy5W3eyRvVx8=",
|
"narHash": "sha256-Efs3VUPelRduf3PpfPP2ovEB4CXT7vHf8W+xc49RL/U=",
|
||||||
"owner": "cachix",
|
"owner": "cachix",
|
||||||
"repo": "git-hooks.nix",
|
"repo": "git-hooks.nix",
|
||||||
"rev": "5eaaedde414f6eb1aea8b8525c466dc37bba95ae",
|
"rev": "a1ef738813b15cf8ec759bdff5761b027e3e1d23",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -1332,11 +1332,11 @@
|
||||||
"nixpkgs": "nixpkgs_10"
|
"nixpkgs": "nixpkgs_10"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1771524872,
|
"lastModified": 1769469829,
|
||||||
"narHash": "sha256-eksVUcUsfS9mQx4D9DrYu88u9w70bAf+n6KmTDuIGEE=",
|
"narHash": "sha256-wFcr32ZqspCxk4+FvIxIL0AZktRs6DuF8oOsLt59YBU=",
|
||||||
"owner": "Mic92",
|
"owner": "Mic92",
|
||||||
"repo": "sops-nix",
|
"repo": "sops-nix",
|
||||||
"rev": "e85540ffe97322dc1fea14dd11cdc2f59d540ac7",
|
"rev": "c5eebd4eb2e3372fe12a8d70a248a6ee9dd02eff",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -1351,11 +1351,11 @@
|
||||||
"systems": "systems_6"
|
"systems": "systems_6"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1771268051,
|
"lastModified": 1769316930,
|
||||||
"narHash": "sha256-nGqPcngnezoT+/xAvw3UDjwdKP2MC4fO315A/Otb9eE=",
|
"narHash": "sha256-4EOGHYLpIscwr+6drHE28Qj7NDjjowp2Vd8QkXjdBBE=",
|
||||||
"owner": "Gerg-L",
|
"owner": "Gerg-L",
|
||||||
"repo": "spicetify-nix",
|
"repo": "spicetify-nix",
|
||||||
"rev": "b930de84c561f62a0c39a6a57c2ab553a97e8495",
|
"rev": "b2ce438f386943ef611e196a178af2d79042903b",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
||||||
|
|
@ -2,12 +2,17 @@
|
||||||
pkgs,
|
pkgs,
|
||||||
inputs,
|
inputs,
|
||||||
self,
|
self,
|
||||||
username,
|
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./../../modules/core/default.azalea.nix
|
# ./../../modules/core/homebrew.nix
|
||||||
|
./../../modules/core/user.nix
|
||||||
|
# ./../../modules/core/skhd.nix
|
||||||
|
./../../modules/core/yabai.nix
|
||||||
|
#./../../modules/core/virtualization.nix
|
||||||
|
#./../../modules/services/tailscale.nix
|
||||||
|
#./../../modules/services/mpd.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
security.pam.services.sudo_local.touchIdAuth = true;
|
security.pam.services.sudo_local.touchIdAuth = true;
|
||||||
|
|
@ -25,18 +30,12 @@
|
||||||
};
|
};
|
||||||
finder = {
|
finder = {
|
||||||
AppleShowAllExtensions = true;
|
AppleShowAllExtensions = true;
|
||||||
FXEnableExtensionChangeWarning = false;
|
FXPreferredViewStyle = "clmv";
|
||||||
CreateDesktop = false;
|
|
||||||
FXPreferredViewStyle = "Nlsv"; # list view
|
|
||||||
# FXPreferredViewStyle = "clmv";
|
|
||||||
ShowPathbar = true;
|
|
||||||
};
|
};
|
||||||
# "com.apple.finder".NewWindowTargetPath = "file:///Users/${username}/";
|
|
||||||
iCal."first day of week" = "Monday";
|
iCal."first day of week" = "Monday";
|
||||||
screencapture.include-date = true;
|
screencapture.include-date = true;
|
||||||
screencapture.type = "png";
|
screencapture.type = "png";
|
||||||
spaces.spans-displays = false;
|
spaces.spans-displays = false;
|
||||||
loginwindow.GuestEnabled = false;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
nixpkgs.hostPlatform = "aarch64-darwin";
|
nixpkgs.hostPlatform = "aarch64-darwin";
|
||||||
|
|
@ -46,7 +45,7 @@
|
||||||
taps = [
|
taps = [
|
||||||
"homebrew/homebrew-core"
|
"homebrew/homebrew-core"
|
||||||
"homebrew/homebrew-cask"
|
"homebrew/homebrew-cask"
|
||||||
"FelixKratz/homebrew-formulae"
|
# "FelixKratz/formulae"
|
||||||
];
|
];
|
||||||
onActivation = {
|
onActivation = {
|
||||||
autoUpdate = true;
|
autoUpdate = true;
|
||||||
|
|
@ -60,29 +59,17 @@
|
||||||
brews = [
|
brews = [
|
||||||
"imagemagick"
|
"imagemagick"
|
||||||
"virt-manager"
|
"virt-manager"
|
||||||
"svim"
|
# "svim"
|
||||||
"nowplaying-cli"
|
|
||||||
"switchaudio-osx"
|
|
||||||
"lua"
|
|
||||||
];
|
];
|
||||||
casks = [
|
casks = [
|
||||||
"vial"
|
|
||||||
"thunderbird"
|
|
||||||
"sf-symbols"
|
|
||||||
"font-sf-mono"
|
|
||||||
"font-sf-pro"
|
|
||||||
"darktable"
|
|
||||||
"qbittorrent"
|
"qbittorrent"
|
||||||
"libreoffice"
|
"libreoffice"
|
||||||
"signal"
|
"signal"
|
||||||
"ungoogled-chromium"
|
"ungoogled-chromium"
|
||||||
"keepingyouawake"
|
|
||||||
# "yubikey-agent"
|
|
||||||
# "orca-slicer"
|
# "orca-slicer"
|
||||||
"element"
|
"element"
|
||||||
|
"raycast"
|
||||||
"anki"
|
"anki"
|
||||||
"homerow"
|
|
||||||
"firefox"
|
|
||||||
"kitty"
|
"kitty"
|
||||||
"spotify"
|
"spotify"
|
||||||
"nextcloud"
|
"nextcloud"
|
||||||
|
|
@ -96,7 +83,8 @@
|
||||||
"mullvad-vpn"
|
"mullvad-vpn"
|
||||||
"maccy"
|
"maccy"
|
||||||
"spotmenu"
|
"spotmenu"
|
||||||
"utm"
|
# "svim"
|
||||||
|
# "font-sketchybar-app-font"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -105,7 +93,7 @@
|
||||||
# imports = [ ../flake/modules/home/zsh.nix ];
|
# imports = [ ../flake/modules/home/zsh.nix ];
|
||||||
environment.systemPackages = [
|
environment.systemPackages = [
|
||||||
pkgs.vim
|
pkgs.vim
|
||||||
inputs.nixvim.packages.${pkgs.stdenv.hostPlatform.system}.default
|
inputs.nixvim.packages.${pkgs.system}.default
|
||||||
pkgs.lazygit
|
pkgs.lazygit
|
||||||
pkgs.eza
|
pkgs.eza
|
||||||
pkgs.exiftool
|
pkgs.exiftool
|
||||||
|
|
|
||||||
|
|
@ -1,6 +0,0 @@
|
||||||
{ ... }:
|
|
||||||
{
|
|
||||||
imports =
|
|
||||||
# [ (import ./sshd.nix) ]
|
|
||||||
[ (import ./system.nix) ] ++ [ (import ./user.nix) ] ++ [ (import ./yabai.nix) ];
|
|
||||||
}
|
|
||||||
|
|
@ -1,7 +0,0 @@
|
||||||
{
|
|
||||||
i18n.defaultLocale = "en_US.UTF-8";
|
|
||||||
i18n.supportedLocales = [
|
|
||||||
"en_US.UTF-8/UTF-8"
|
|
||||||
"ja_JP.UTF-8/UTF-8"
|
|
||||||
];
|
|
||||||
}
|
|
||||||
|
|
@ -16,11 +16,11 @@
|
||||||
window_opacity = "off";
|
window_opacity = "off";
|
||||||
window_border = "on";
|
window_border = "on";
|
||||||
window_border_placement = "inset";
|
window_border_placement = "inset";
|
||||||
window_border_width = 8;
|
window_border_width = 2;
|
||||||
window_border_radius = 3;
|
window_border_radius = 3;
|
||||||
window_shadow = "float";
|
window_shadow = "float";
|
||||||
active_window_opacity = "1.0";
|
active_window_opacity = "1.0";
|
||||||
normal_window_opacity = "0.7";
|
normal_window_opacity = "1.0";
|
||||||
|
|
||||||
mouse_modifier = "alt";
|
mouse_modifier = "alt";
|
||||||
# set modifier + right-click drag to resize window (default: resize)
|
# set modifier + right-click drag to resize window (default: resize)
|
||||||
|
|
@ -28,15 +28,14 @@
|
||||||
# set modifier + left-click drag to resize window (default: move)
|
# set modifier + left-click drag to resize window (default: move)
|
||||||
mouse_action1 = "move";
|
mouse_action1 = "move";
|
||||||
|
|
||||||
mouse_follows_focus = "on";
|
mouse_follows_focus = "off";
|
||||||
focus_follows_mouse = "autofocus";
|
focus_follows_mouse = "autofocus";
|
||||||
mouse_drop_action = "swap";
|
|
||||||
|
|
||||||
# gaps
|
# gaps
|
||||||
top_padding = 12;
|
top_padding = 20;
|
||||||
bottom_padding = 12;
|
bottom_padding = 8;
|
||||||
left_padding = 12;
|
left_padding = 8;
|
||||||
right_padding = 12;
|
right_padding = 8;
|
||||||
window_gap = 16;
|
window_gap = 16;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -72,9 +71,8 @@
|
||||||
action="sudo yabai --load-sa"
|
action="sudo yabai --load-sa"
|
||||||
sudo yabai --load-sa
|
sudo yabai --load-sa
|
||||||
|
|
||||||
yabai -m config external_bar all:34:0
|
# yabai -m config external_bar all:40:0
|
||||||
exec ~/.config/borders/bordersrc &
|
exec ~/.config/borders/bordersrc &
|
||||||
spacebar &
|
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,6 @@
|
||||||
++ [ (import ./ssh.nix) ]
|
++ [ (import ./ssh.nix) ]
|
||||||
++ [ (import ./skhd.nix) ]
|
++ [ (import ./skhd.nix) ]
|
||||||
++ [ (import ./sketchybar/default.nix) ]
|
++ [ (import ./sketchybar/default.nix) ]
|
||||||
++ [ (import ./spacebar.nix) ]
|
|
||||||
++ [ (import ./jankyborders.nix) ]
|
++ [ (import ./jankyborders.nix) ]
|
||||||
++ [ (import ./zsh.nix) ]
|
++ [ (import ./zsh.nix) ]
|
||||||
++ [ (import ./qutebrowser.nix) ]
|
++ [ (import ./qutebrowser.nix) ]
|
||||||
|
|
|
||||||
|
|
@ -10,9 +10,7 @@
|
||||||
gcc
|
gcc
|
||||||
gnumake
|
gnumake
|
||||||
python3
|
python3
|
||||||
# qbittorrent
|
qbittorrent
|
||||||
mpv
|
|
||||||
qutebrowser
|
|
||||||
|
|
||||||
# CLI shit
|
# CLI shit
|
||||||
imagemagick
|
imagemagick
|
||||||
|
|
|
||||||
|
|
@ -1,49 +0,0 @@
|
||||||
{ pkgs, ... }:
|
|
||||||
{
|
|
||||||
home.packages = with pkgs; [
|
|
||||||
sketchybar
|
|
||||||
sketchybar-app-font
|
|
||||||
lua
|
|
||||||
readline
|
|
||||||
switchaudio-osx
|
|
||||||
nowplaying-cli
|
|
||||||
# sf-symbols
|
|
||||||
# font-sf-mono
|
|
||||||
# font-sf-pro
|
|
||||||
];
|
|
||||||
home.file = {
|
|
||||||
".config/sketchybar/sketchybarrc" = {
|
|
||||||
executable = true;
|
|
||||||
text = builtins.readFile ./sketchybarrc;
|
|
||||||
};
|
|
||||||
# PLUGINS
|
|
||||||
".config/sketchybar/plugins/battery.sh" = {
|
|
||||||
executable = true;
|
|
||||||
text = builtins.readFile ./plugins/battery.sh;
|
|
||||||
};
|
|
||||||
".config/sketchybar/plugins/clock.sh" = {
|
|
||||||
executable = true;
|
|
||||||
text = builtins.readFile ./plugins/clock.sh;
|
|
||||||
};
|
|
||||||
".config/sketchybar/plugins/front_app.sh" = {
|
|
||||||
executable = true;
|
|
||||||
text = builtins.readFile ./plugins/front_app.sh;
|
|
||||||
};
|
|
||||||
".config/sketchybar/plugins/memory.sh" = {
|
|
||||||
executable = true;
|
|
||||||
text = builtins.readFile ./plugins/memory.sh;
|
|
||||||
};
|
|
||||||
".config/sketchybar/plugins/nowplaying.sh" = {
|
|
||||||
executable = true;
|
|
||||||
text = builtins.readFile ./plugins/nowplaying.sh;
|
|
||||||
};
|
|
||||||
".config/sketchybar/plugins/space.sh" = {
|
|
||||||
executable = true;
|
|
||||||
text = builtins.readFile ./plugins/space.sh;
|
|
||||||
};
|
|
||||||
".config/sketchybar/plugins/volume.sh" = {
|
|
||||||
executable = true;
|
|
||||||
text = builtins.readFile ./plugins/volume.sh;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
@ -1,15 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
PERCENTAGE="$(pmset -g batt | grep -Eo "...%" | awk '{print $1}')"
|
|
||||||
CHARGING="$(pmset -g batt | grep 'AC Power')"
|
|
||||||
|
|
||||||
# The item invoking this script (name $NAME) will get its icon and label
|
|
||||||
# updated with the current battery status
|
|
||||||
|
|
||||||
if [[ "$CHARGING" != "" ]]; then
|
|
||||||
STATE="CHAR:"
|
|
||||||
else
|
|
||||||
STATE="BATT:"
|
|
||||||
fi
|
|
||||||
|
|
||||||
sketchybar --set "$NAME" label="$STATE $PERCENTAGE"
|
|
||||||
|
|
@ -1,7 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
# The $NAME variable is passed from sketchybar and holds the name of
|
|
||||||
# the item invoking this script:
|
|
||||||
# https://felixkratz.github.io/SketchyBar/config/events#events-and-scripting
|
|
||||||
|
|
||||||
sketchybar --set "$NAME" label="$(date '+%Z'): $(date '+%H:%M')"
|
|
||||||
|
|
@ -1,10 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
# Some events send additional information specific to the event in the $INFO
|
|
||||||
# variable. E.g. the front_app_switched event sends the name of the newly
|
|
||||||
# focused application in the $INFO variable:
|
|
||||||
# https://felixkratz.github.io/SketchyBar/config/events#events-and-scripting
|
|
||||||
|
|
||||||
if [ "$SENDER" = "front_app_switched" ]; then
|
|
||||||
sketchybar --set "$NAME" label="$INFO"
|
|
||||||
fi
|
|
||||||
|
|
@ -1,13 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
hw_pagesize="$(sysctl -n hw.pagesize)"
|
|
||||||
mem_total="$(($(sysctl -n hw.memsize) / 1024 / 1024))"
|
|
||||||
mem_total_gb="$(($(sysctl -n hw.memsize) / 1024 / 1024 / 1024))"
|
|
||||||
pages_app="$(($(sysctl -n vm.page_pageable_internal_count) - $(sysctl -n vm.page_purgeable_count)))"
|
|
||||||
pages_wired="$(vm_stat | awk '/ wired/ { print $4 }')"
|
|
||||||
pages_compressed="$(vm_stat | awk '/ occupied/ { printf $5 }')"
|
|
||||||
pages_compressed="${pages_compressed:-0}"
|
|
||||||
mem_used="$(((${pages_app} + ${pages_wired//./} + ${pages_compressed//./}) * hw_pagesize / 1024 / 1024))"
|
|
||||||
mem_used_gb="$((${mem_used} / 1024))"
|
|
||||||
|
|
||||||
sketchybar --set "$NAME" label="RAM: $mem_used_gb GiB/$mem_total_gb GiB"
|
|
||||||
|
|
@ -1,3 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
sketchybar --set "$NAME" label="$(nowplaying-cli get title) - $(nowplaying-cli get artist)"
|
|
||||||
|
|
@ -1,7 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
# The $SELECTED variable is available for space components and indicates if
|
|
||||||
# the space invoking this script (with name: $NAME) is currently selected:
|
|
||||||
# https://felixkratz.github.io/SketchyBar/config/components#space----associate-mission-control-spaces-with-an-item
|
|
||||||
|
|
||||||
sketchybar --set "$NAME" background.drawing="$SELECTED"
|
|
||||||
|
|
@ -1,26 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
# The volume_change event supplies a $INFO variable in which the current volume
|
|
||||||
# percentage is passed to the script.
|
|
||||||
|
|
||||||
if [ "$SENDER" = "volume_change" ]; then
|
|
||||||
VOLUME="$INFO"
|
|
||||||
|
|
||||||
CURRENT="$(SwitchAudioSource -c)"
|
|
||||||
|
|
||||||
#case "$VOLUME" in
|
|
||||||
#[6-9][0-9] | 100)
|
|
||||||
# ICON=""
|
|
||||||
# ;;
|
|
||||||
#[3-5][0-9])
|
|
||||||
# ICON=""
|
|
||||||
# ;;
|
|
||||||
#[1-9] | [1-2][0-9])
|
|
||||||
# ICON=""
|
|
||||||
# ;;
|
|
||||||
#*) ICON="" ;;
|
|
||||||
#esac
|
|
||||||
|
|
||||||
# sketchybar --set "$NAME" icon="$ICON" label="$CURRENT: $VOLUME%"
|
|
||||||
sketchybar --set "$NAME" label="VOL: $CURRENT: $VOLUME%"
|
|
||||||
fi
|
|
||||||
|
|
@ -1,96 +0,0 @@
|
||||||
# This is a demo config to showcase some of the most important commands.
|
|
||||||
# It is meant to be changed and configured, as it is intentionally kept sparse.
|
|
||||||
# For a (much) more advanced configuration example see my dotfiles:
|
|
||||||
# https://github.com/FelixKratz/dotfiles
|
|
||||||
|
|
||||||
PLUGIN_DIR="$CONFIG_DIR/plugins"
|
|
||||||
|
|
||||||
##### Bar Appearance #####
|
|
||||||
# Configuring the general appearance of the bar.
|
|
||||||
# These are only some of the options available. For all options see:
|
|
||||||
# https://felixkratz.github.io/SketchyBar/config/bar
|
|
||||||
# If you are looking for other colors, see the color picker:
|
|
||||||
# https://felixkratz.github.io/SketchyBar/config/tricks#color-picker
|
|
||||||
|
|
||||||
sketchybar --bar position=top height=40 blur_radius=16 color=0x40000000
|
|
||||||
|
|
||||||
##### Changing Defaults #####
|
|
||||||
# We now change some default values, which are applied to all further items.
|
|
||||||
# For a full list of all available item properties see:
|
|
||||||
# https://felixkratz.github.io/SketchyBar/config/items
|
|
||||||
|
|
||||||
default=(
|
|
||||||
padding_left=5
|
|
||||||
padding_right=5
|
|
||||||
icon.font="scientifica:regular:12.0"
|
|
||||||
label.font="scientifica:regular:12.0"
|
|
||||||
icon.color=0xffffffff
|
|
||||||
label.color=0xffffffff
|
|
||||||
icon.padding_left=4
|
|
||||||
icon.padding_right=4
|
|
||||||
label.padding_left=4
|
|
||||||
label.padding_right=4
|
|
||||||
)
|
|
||||||
sketchybar --default "${default[@]}"
|
|
||||||
|
|
||||||
##### Adding Mission Control Space Indicators #####
|
|
||||||
# Let's add some mission control spaces:
|
|
||||||
# https://felixkratz.github.io/SketchyBar/config/components#space----associate-mission-control-spaces-with-an-item
|
|
||||||
# to indicate active and available mission control spaces.
|
|
||||||
|
|
||||||
SPACE_ICONS=("1" "2" "3" "4" "5" "6" "7" "8" "9" "10")
|
|
||||||
for i in "${!SPACE_ICONS[@]}"
|
|
||||||
do
|
|
||||||
sid="$(($i+1))"
|
|
||||||
space=(
|
|
||||||
space="$sid"
|
|
||||||
icon="${SPACE_ICONS[i]}"
|
|
||||||
icon.padding_left=7
|
|
||||||
icon.padding_right=7
|
|
||||||
background.color=0x40ffffff
|
|
||||||
background.corner_radius=5
|
|
||||||
background.height=25
|
|
||||||
label.drawing=off
|
|
||||||
script="$PLUGIN_DIR/space.sh"
|
|
||||||
click_script="yabai -m space --focus $sid"
|
|
||||||
)
|
|
||||||
sketchybar --add space space."$sid" left --set space."$sid" "${space[@]}"
|
|
||||||
done
|
|
||||||
|
|
||||||
##### Adding Left Items #####
|
|
||||||
# We add some regular items to the left side of the bar, where
|
|
||||||
# only the properties deviating from the current defaults need to be set
|
|
||||||
|
|
||||||
sketchybar --add item nowplaying left \
|
|
||||||
--set nowplaying update_freq=2 script="$PLUGIN_DIR/nowplaying.sh" \
|
|
||||||
--add item chevron left \
|
|
||||||
--set chevron icon='' label.drawing=off \
|
|
||||||
--add item front_app left \
|
|
||||||
--set front_app icon.drawing=off script="$PLUGIN_DIR/front_app.sh" \
|
|
||||||
--subscribe front_app front_app_switched
|
|
||||||
|
|
||||||
##### Adding Right Items #####
|
|
||||||
# In the same way as the left items we can add items to the right side.
|
|
||||||
# Additional position (e.g. center) are available, see:
|
|
||||||
# https://felixkratz.github.io/SketchyBar/config/items#adding-items-to-sketchybar
|
|
||||||
|
|
||||||
# Some items refresh on a fixed cycle, e.g. the clock runs its script once
|
|
||||||
# every 10s. Other items respond to events they subscribe to, e.g. the
|
|
||||||
# volume.sh script is only executed once an actual change in system audio
|
|
||||||
# volume is registered. More info about the event system can be found here:
|
|
||||||
# https://felixkratz.github.io/SketchyBar/config/events
|
|
||||||
|
|
||||||
sketchybar --add item clock right \
|
|
||||||
--set clock update_freq=10 script="$PLUGIN_DIR/clock.sh" \
|
|
||||||
--add item battery right \
|
|
||||||
--set battery update_freq=120 script="$PLUGIN_DIR/battery.sh" \
|
|
||||||
--subscribe battery system_woke power_source_change \
|
|
||||||
--add item volume right \
|
|
||||||
--set volume script="$PLUGIN_DIR/volume.sh" \
|
|
||||||
--subscribe volume volume_change \
|
|
||||||
--add item memory right \
|
|
||||||
--set memory script="$PLUGIN_DIR/memory.sh" \
|
|
||||||
--set memory update_freq=120 \
|
|
||||||
|
|
||||||
##### Force all scripts to run the first time (never do this in a script) #####
|
|
||||||
sketchybar --update
|
|
||||||
|
|
@ -37,9 +37,7 @@
|
||||||
shift + alt - k : yabai -m window --warp north
|
shift + alt - k : yabai -m window --warp north
|
||||||
shift + alt - l : yabai -m window --warp east
|
shift + alt - l : yabai -m window --warp east
|
||||||
|
|
||||||
alt + shift - r : launchctl kickstart -k "gui/$\{UID}/com.jackielii.skhd"; launchctl kickstart -k "gui/$\{UID}/org.nixos.yabai"
|
alt + shift - r : skhd --reload; yabai --restart-service
|
||||||
|
|
||||||
alt - q : yabai -m window --close
|
|
||||||
|
|
||||||
# Float / Unfloat window
|
# Float / Unfloat window
|
||||||
alt - space : yabai -m window --toggle float; yabai -m window --toggle border
|
alt - space : yabai -m window --toggle float; yabai -m window --toggle border
|
||||||
|
|
@ -47,7 +45,6 @@
|
||||||
# cmd - d : yabai -m space --layout $(yabai -m query --spaces --space | jq -r 'if .type == "bsp" then "stack" else "bsp" end')
|
# cmd - d : yabai -m space --layout $(yabai -m query --spaces --space | jq -r 'if .type == "bsp" then "stack" else "bsp" end')
|
||||||
alt - return: open -a Kitty -n
|
alt - return: open -a Kitty -n
|
||||||
alt + shift - t : open -na Mail
|
alt + shift - t : open -na Mail
|
||||||
alt - e : open -a Finder /Users/${username}
|
|
||||||
alt + shift - c : open -na Chromium # open new instance
|
alt + shift - c : open -na Chromium # open new instance
|
||||||
alt + shift - e : open -a Element # move to existing instance
|
alt + shift - e : open -a Element # move to existing instance
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,40 +0,0 @@
|
||||||
{ pkgs, username, ... }:
|
|
||||||
{
|
|
||||||
home.packages = with pkgs; [
|
|
||||||
spacebar
|
|
||||||
];
|
|
||||||
|
|
||||||
home.file.".config/spacebar/spacebarrc" = {
|
|
||||||
executable = true;
|
|
||||||
text = ''
|
|
||||||
#!/usr/bin/env sh
|
|
||||||
|
|
||||||
spacebar -m config position top
|
|
||||||
spacebar -m config height 34
|
|
||||||
spacebar -m config title on
|
|
||||||
spacebar -m config spaces on
|
|
||||||
spacebar -m config clock on
|
|
||||||
spacebar -m config power on
|
|
||||||
spacebar -m config padding_left 20
|
|
||||||
spacebar -m config padding_right 20
|
|
||||||
spacebar -m config spacing_left 25
|
|
||||||
spacebar -m config spacing_right 15
|
|
||||||
spacebar -m config text_font "scientifica:Regular:12.0"
|
|
||||||
spacebar -m config icon_font "scientifica:Regular:12.0"
|
|
||||||
spacebar -m config background_color 0xff202020
|
|
||||||
spacebar -m config foreground_color 0xffa8a8a8
|
|
||||||
spacebar -m config space_icon_color 0xffaaaaaa
|
|
||||||
spacebar -m config power_icon_color 0xffaaaaaa
|
|
||||||
spacebar -m config battery_icon_color 0xffaaaaaa
|
|
||||||
spacebar -m config dnd_icon_color 0xffaaaaaa
|
|
||||||
spacebar -m config clock_icon_color 0xffaaaaaa
|
|
||||||
spacebar -m config power_icon_strip "BATT: " "CHAR: " #
|
|
||||||
spacebar -m config space_icon_strip 1 2 3 4 5 6 7 8 9 10
|
|
||||||
spacebar -m config clock_icon "CLCK: "
|
|
||||||
spacebar -m config dnd_icon "DND"
|
|
||||||
spacebar -m config clock_format "%d/%m/%y %R"
|
|
||||||
|
|
||||||
echo "spacebar configuration loaded.."
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
@ -1,10 +1,4 @@
|
||||||
{
|
{ inputs, lib, config, pkgs, ... }:
|
||||||
inputs,
|
|
||||||
lib,
|
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
{
|
{
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
tmux
|
tmux
|
||||||
|
|
@ -67,6 +61,7 @@
|
||||||
'';
|
'';
|
||||||
plugins = with pkgs.tmuxPlugins; [
|
plugins = with pkgs.tmuxPlugins; [
|
||||||
yank
|
yank
|
||||||
|
fzf-tmux-url
|
||||||
vim-tmux-navigator
|
vim-tmux-navigator
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -51,7 +51,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
initContent = ''
|
initContent = ''
|
||||||
export PATH="''${PATH}:''${HOME}/.local/bin/:''${HOME}/.cargo/bin/:''${HOME}/.fzf/bin/"
|
export export PATH="''${PATH}:''${HOME}/.local/bin/:''${HOME}/.cargo/bin/:''${HOME}/.fzf/bin/"
|
||||||
|
|
||||||
autoload -U add-zsh-hook
|
autoload -U add-zsh-hook
|
||||||
autoload -U compinit
|
autoload -U compinit
|
||||||
|
|
@ -130,11 +130,11 @@
|
||||||
|
|
||||||
function cd() {
|
function cd() {
|
||||||
if [ -f "$1" ]; then
|
if [ -f "$1" ]; then
|
||||||
z "$(dirname "$1")"
|
${pkgs.zoxide}/bin/zoxide "$(dirname "$1")"
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
z $@
|
${pkgs.zoxide}/bin/zoxide $@
|
||||||
}
|
}
|
||||||
|
|
||||||
get-git-root() {
|
get-git-root() {
|
||||||
|
|
@ -253,6 +253,7 @@
|
||||||
ezit = "exit";
|
ezit = "exit";
|
||||||
wlc = "wl-copy";
|
wlc = "wl-copy";
|
||||||
yt-dlp-audio = "yt-dlp -f 'ba' -x --audio-format mp3";
|
yt-dlp-audio = "yt-dlp -f 'ba' -x --audio-format mp3";
|
||||||
|
open = "xdg-open";
|
||||||
tree = "eza --icons --tree --group-directories-first";
|
tree = "eza --icons --tree --group-directories-first";
|
||||||
doas = "sudo";
|
doas = "sudo";
|
||||||
sxiv = "nsxiv";
|
sxiv = "nsxiv";
|
||||||
|
|
@ -266,6 +267,7 @@
|
||||||
rm = "rm -i -v";
|
rm = "rm -i -v";
|
||||||
cat = "${lib.getExe pkgs.bat} --plain";
|
cat = "${lib.getExe pkgs.bat} --plain";
|
||||||
diff = "${lib.getExe pkgs.delta} --color-only";
|
diff = "${lib.getExe pkgs.delta} --color-only";
|
||||||
|
battery-left = "${lib.getExe pkgs.acpi} | cut -d' ' -f5";
|
||||||
github-actions = "${lib.getExe pkgs.act} -s GITHUB_TOKEN=\"$(${lib.getExe pkgs.github-cli} auth token)\"";
|
github-actions = "${lib.getExe pkgs.act} -s GITHUB_TOKEN=\"$(${lib.getExe pkgs.github-cli} auth token)\"";
|
||||||
tailscale = "sudo tailscale";
|
tailscale = "sudo tailscale";
|
||||||
|
|
||||||
|
|
@ -336,7 +338,6 @@
|
||||||
fd
|
fd
|
||||||
delta
|
delta
|
||||||
bat
|
bat
|
||||||
# zoxide
|
|
||||||
nix-search-fzf.zsh-shell-widget
|
nix-search-fzf.zsh-shell-widget
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue