Compare commits
20
Commits
a9aa41ff02
..
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6163eb0396 | ||
|
|
2261e4b792 | ||
|
|
995bdaa973 | ||
|
|
e93d8a43cf | ||
|
|
b4afb529a8 | ||
|
|
4bc670e1e5 | ||
|
|
c1b44e049c | ||
|
|
1aff05b4f2 | ||
|
|
b62212ad0c | ||
|
|
1b3468185b | ||
|
|
72b9eb053d | ||
|
|
a6afe699fb | ||
|
|
1f3c1a7d18 | ||
|
|
9dfa0f5e58 | ||
|
|
8f6e3a58b3 | ||
|
|
1313d962ad | ||
|
|
731b646def | ||
|
|
92eaa865e4 | ||
|
|
fee4090bf6 | ||
|
|
f1184b28da |
No files matched your search
Generated
+106
-40
@@ -8,11 +8,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1793171510,
|
"lastModified": 1795331353,
|
||||||
"narHash": "sha256-Yr5Wv5K+JPGKDN6mLcYOUx2KtdZ6PfMEtICJtJrSG0Y=",
|
"narHash": "sha256-llMfFaxJxf7aMf0NRuKFtmBpDh14q5qnpwiGy/DJsJc=",
|
||||||
"owner": "jacopone",
|
"owner": "jacopone",
|
||||||
"repo": "antigravity-nix",
|
"repo": "antigravity-nix",
|
||||||
"rev": "2d8b7411ec7fb0aadd2f794a469cdb78ef7591e6",
|
"rev": "c9f1bae6b80d90c92eed93694bdb5291242fe9a4",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -24,16 +24,17 @@
|
|||||||
"dank-greeter": {
|
"dank-greeter": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"dank-qml-common": "dank-qml-common",
|
"dank-qml-common": "dank-qml-common",
|
||||||
|
"dux-qt-base": "dux-qt-base",
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1793106621,
|
"lastModified": 1795022150,
|
||||||
"narHash": "sha256-UZQX8yFA4Kg2UlduElencdA+QXQO9LcQJCqWzUHGZMk=",
|
"narHash": "sha256-EINAcQZPXnTzHJNGqFxTMFSv7eT0wxymdg10Pud131E=",
|
||||||
"owner": "AvengeMedia",
|
"owner": "AvengeMedia",
|
||||||
"repo": "dank-greeter",
|
"repo": "dank-greeter",
|
||||||
"rev": "0f5de0577cc118091cab9ed8d7976919f0161251",
|
"rev": "3e4affaf85f91fd98fdb83a27651d2597963e8ae",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -45,11 +46,11 @@
|
|||||||
"dank-qml-common": {
|
"dank-qml-common": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1793073767,
|
"lastModified": 1795021255,
|
||||||
"narHash": "sha256-mT0Kp4m/FP2u+I6GAZJtBH7LGHh6tSibDuRv4M4YBbc=",
|
"narHash": "sha256-fDhHTvIkU+oDuIvdOhG5RyNZSYuxwM3xscLLdxmLVY4=",
|
||||||
"owner": "duxlabs-dev",
|
"owner": "duxlabs-dev",
|
||||||
"repo": "dux-qml-common",
|
"repo": "dux-qml-common",
|
||||||
"rev": "08efce90fd4b2aa90c4064b57e48b14720bbe255",
|
"rev": "e7c185915fe2555c6e6681711054e6b79f546806",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -61,11 +62,11 @@
|
|||||||
"dank-qml-common_2": {
|
"dank-qml-common_2": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1793204516,
|
"lastModified": 1795139913,
|
||||||
"narHash": "sha256-3s72olezokrN5i76FdbxtpeD4mIzx6MXlt4F6lw87DY=",
|
"narHash": "sha256-RYLCGIA8CuAIsmWUA1y8Ml+5bs8yIFNDQqOjeOlBr6A=",
|
||||||
"owner": "duxlabs-dev",
|
"owner": "duxlabs-dev",
|
||||||
"repo": "dux-qml-common",
|
"repo": "dux-qml-common",
|
||||||
"rev": "1d1a12d7f3578289e40e3d333910bf74e4e2fc24",
|
"rev": "e268d71117173d0934dbe773d3e2ed6efe11afda",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -77,11 +78,11 @@
|
|||||||
"dank-qml-common_3": {
|
"dank-qml-common_3": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1793204516,
|
"lastModified": 1795211080,
|
||||||
"narHash": "sha256-3s72olezokrN5i76FdbxtpeD4mIzx6MXlt4F6lw87DY=",
|
"narHash": "sha256-PV5cT7st/9ioV5aHeNP0go7wFfHlKfBYVVRCQ8JkHXg=",
|
||||||
"owner": "duxlabs-dev",
|
"owner": "duxlabs-dev",
|
||||||
"repo": "dux-qml-common",
|
"repo": "dux-qml-common",
|
||||||
"rev": "1d1a12d7f3578289e40e3d333910bf74e4e2fc24",
|
"rev": "12f5e4457e0ca14b6a5f9a283ab581ce28c92855",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -93,16 +94,17 @@
|
|||||||
"dankcalendar": {
|
"dankcalendar": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"dank-qml-common": "dank-qml-common_2",
|
"dank-qml-common": "dank-qml-common_2",
|
||||||
|
"dux-qt-base": "dux-qt-base_2",
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1793204801,
|
"lastModified": 1795331423,
|
||||||
"narHash": "sha256-tdlH/MyLRSsXBd3ckr7Syq8JLIMNL1YoYeOpBgNwPKk=",
|
"narHash": "sha256-kwm++EAyRfrgQAJVLR9LeSGiWbk7ehB64mJG17a4/hY=",
|
||||||
"owner": "AvengeMedia",
|
"owner": "AvengeMedia",
|
||||||
"repo": "dankcalendar",
|
"repo": "dankcalendar",
|
||||||
"rev": "c83ee860f253827e33577e371a49f56da5937d0b",
|
"rev": "62ee9f656831be30dd3b58384758199a8e904637",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -118,11 +120,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1793040567,
|
"lastModified": 1794282582,
|
||||||
"narHash": "sha256-RMTa1YCupgEC+t86/ZuiTXzZSStXZhuwYBon7PFumn4=",
|
"narHash": "sha256-gZENm8lqgHN4UIg7pceXZEvYRy4UkbnW5cdsz2l1f3E=",
|
||||||
"owner": "AvengeMedia",
|
"owner": "AvengeMedia",
|
||||||
"repo": "danksearch",
|
"repo": "danksearch",
|
||||||
"rev": "ca2164807121bb635f06054664472fb73575bcd4",
|
"rev": "a25a7be5626ef4776a1600b1013583cff5ed71f9",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -138,11 +140,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1793193081,
|
"lastModified": 1794282582,
|
||||||
"narHash": "sha256-9bFuFRnjPkxUzj5AoFetBQDGtIy2OylwSyzne22nzjc=",
|
"narHash": "sha256-7bQCy4e5cgj7ToGZmXjI4ksbmjxzK/Vi/ZUUiSuRhT4=",
|
||||||
"owner": "AvengeMedia",
|
"owner": "AvengeMedia",
|
||||||
"repo": "dgop",
|
"repo": "dgop",
|
||||||
"rev": "acc7b1c6e20a470cb4499b412f1162eb25809127",
|
"rev": "d91b45a6e1ef52ab3e7791286615759306477647",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -154,17 +156,18 @@
|
|||||||
"dms": {
|
"dms": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"dank-qml-common": "dank-qml-common_3",
|
"dank-qml-common": "dank-qml-common_3",
|
||||||
|
"dux-qt-base": "dux-qt-base_3",
|
||||||
"flake-compat": "flake-compat",
|
"flake-compat": "flake-compat",
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1793204647,
|
"lastModified": 1795342511,
|
||||||
"narHash": "sha256-Dp0Z0/n6k3CB94vp+eQ0Jruvz2o1mLLfF1x45plSQ/g=",
|
"narHash": "sha256-9cQ6VogdRRaf40wMBUip/EoufpSLnjNmosrijaYZwus=",
|
||||||
"owner": "AvengeMedia",
|
"owner": "AvengeMedia",
|
||||||
"repo": "DankMaterialShell",
|
"repo": "DankMaterialShell",
|
||||||
"rev": "2dd237a3af8782359b479d7ab00c593913446ef4",
|
"rev": "a265f0a1af5dcc78ae691487d94710cca82da62d",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -173,6 +176,69 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"dux-qt-base": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"dank-greeter",
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1794899417,
|
||||||
|
"narHash": "sha256-E5xQiepbIMlywIAFHGt3c4uBGUysNfdmL/mscCspXrs=",
|
||||||
|
"owner": "duxlabs-dev",
|
||||||
|
"repo": "dux-qt-base",
|
||||||
|
"rev": "8a8c69406e75a797cf400ce151cc735ea2a02af1",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "duxlabs-dev",
|
||||||
|
"repo": "dux-qt-base",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"dux-qt-base_2": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"dankcalendar",
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1795139910,
|
||||||
|
"narHash": "sha256-JxBwcoR86CfjT92/xQSbbaHn1OxddwtH/iF+u4fUvRw=",
|
||||||
|
"owner": "duxlabs-dev",
|
||||||
|
"repo": "dux-qt-base",
|
||||||
|
"rev": "75d4524dc5e678ca4b64a1f862dd7509ca6852b1",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "duxlabs-dev",
|
||||||
|
"repo": "dux-qt-base",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"dux-qt-base_3": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"dms",
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1795337492,
|
||||||
|
"narHash": "sha256-xGJDFNGgtXujSneISCrN2TxKx2IkTMeFBgTmJIISGfs=",
|
||||||
|
"owner": "duxlabs-dev",
|
||||||
|
"repo": "dux-qt-base",
|
||||||
|
"rev": "0ea003e30fc92c51943ab7660b58d883708e25c2",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "duxlabs-dev",
|
||||||
|
"repo": "dux-qt-base",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"flake-compat": {
|
"flake-compat": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
@@ -214,11 +280,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1793193205,
|
"lastModified": 1795340038,
|
||||||
"narHash": "sha256-X6xa6sGA7RnJQuZGbFMC+K+KToWAlBDCCjJXfTwEPsw=",
|
"narHash": "sha256-RtgZbV+4BDtJqMImbiPJri3fmVDbCbrz/B0cuPQUJQY=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "095fef2f265c3c0da4fe315efba8f8a04495ab34",
|
"rev": "03885bcd0b477bdecebebc57b213b0f8f0826d51",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -235,11 +301,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1792098797,
|
"lastModified": 1794715309,
|
||||||
"narHash": "sha256-u4DIIZgznEGzByxXrxWCXK19VcMtTBmi/M9gZ7Jk9bM=",
|
"narHash": "sha256-awkBBs5ctFKgEYjpNGpi3t/VqF589n5EWfdinRb2gNI=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "640725978b99076e18e069f6e7d2959124584f8f",
|
"rev": "a1293da7dd8e497e08d26173f97e2976b36a31ea",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -266,11 +332,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1793110635,
|
"lastModified": 1795234589,
|
||||||
"narHash": "sha256-yXRSdZdZZqccEL+j11lc1gFG1f7V5j8N7oPBTHwf7n4=",
|
"narHash": "sha256-pAEASBc6wof0S58XcSEdZoQ2iFQDkCnZwH+wFLrkd1Q=",
|
||||||
"rev": "31ecbaca1bdefa45dffc409f0250bd8039ea0010",
|
"rev": "2786a2a72088ecf32aea5b3ec52099e6a7cff78f",
|
||||||
"type": "tarball",
|
"type": "tarball",
|
||||||
"url": "https://releases.nixos.org/nixos/unstable/nixos-26.11pre1103272.31ecbaca1bde/nixexprs.tar.zst"
|
"url": "https://releases.nixos.org/nixos/unstable/nixos-26.11pre1125864.2786a2a72088/nixexprs.tar.zst"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"type": "tarball",
|
"type": "tarball",
|
||||||
@@ -314,11 +380,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1793144002,
|
"lastModified": 1795333741,
|
||||||
"narHash": "sha256-YDtNVswt0oYB7LNEzZWmFmo57MME8EVS9VxAdqWm/Co=",
|
"narHash": "sha256-xJaT+L8DeMR0TJjAOlrjGqaRG2AjZrjivQfCtiLRtlY=",
|
||||||
"owner": "0xc000022070",
|
"owner": "0xc000022070",
|
||||||
"repo": "zen-browser-flake",
|
"repo": "zen-browser-flake",
|
||||||
"rev": "4434539379bc839480edb8b919de9b67f70cb520",
|
"rev": "81376950ac382a96b965f9d6f8bf60354ad99c2f",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|||||||
@@ -148,6 +148,9 @@
|
|||||||
home-manager.useGlobalPkgs = true;
|
home-manager.useGlobalPkgs = true;
|
||||||
home-manager.useUserPackages = true;
|
home-manager.useUserPackages = true;
|
||||||
home-manager.backupFileExtension = "backup";
|
home-manager.backupFileExtension = "backup";
|
||||||
|
# ~/.ssh/config is kept as a user-owned regular file (see the
|
||||||
|
# de-symlink workaround), so HM hits an occupied .backup path.
|
||||||
|
home-manager.overwriteBackup = true;
|
||||||
home-manager.extraSpecialArgs = { inherit inputs; };
|
home-manager.extraSpecialArgs = { inherit inputs; };
|
||||||
home-manager.users.kiskaadee = {
|
home-manager.users.kiskaadee = {
|
||||||
imports = [
|
imports = [
|
||||||
|
|||||||
@@ -23,8 +23,11 @@ in
|
|||||||
opencode-desktop
|
opencode-desktop
|
||||||
|
|
||||||
# Graphical Applications & Editors
|
# Graphical Applications & Editors
|
||||||
|
anydesk
|
||||||
zed-editor
|
zed-editor
|
||||||
obsidian
|
obsidian
|
||||||
|
kdePackages.okular
|
||||||
|
inkscape
|
||||||
libreoffice
|
libreoffice
|
||||||
nautilus
|
nautilus
|
||||||
yazi
|
yazi
|
||||||
|
|||||||
@@ -227,4 +227,34 @@ in
|
|||||||
sops # Mozilla SOPS CLI
|
sops # Mozilla SOPS CLI
|
||||||
age # File encryption tool
|
age # File encryption tool
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# Background two-way sync for corazoncp shared Google Drive repository
|
||||||
|
systemd.user.services.corazoncp-drive-sync = {
|
||||||
|
Unit = {
|
||||||
|
Description = "Two-way sync between corazoncp/drive and Google Drive";
|
||||||
|
After = [ "network-online.target" "graphical-session.target" ];
|
||||||
|
Wants = [ "network-online.target" ];
|
||||||
|
};
|
||||||
|
Service = {
|
||||||
|
Type = "oneshot";
|
||||||
|
ExecStart = "${pkgs.bash}/bin/bash /home/kiskaadee/Projects/active/corazoncp/drive/sync-drive.sh";
|
||||||
|
Environment = [
|
||||||
|
"PATH=${pkgs.lib.makeBinPath [ pkgs.rclone pkgs.git pkgs.openssh pkgs.libnotify pkgs.util-linux pkgs.findutils pkgs.coreutils ]}"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
systemd.user.timers.corazoncp-drive-sync = {
|
||||||
|
Unit = {
|
||||||
|
Description = "Poll corazoncp shared Google Drive every 15 minutes";
|
||||||
|
};
|
||||||
|
Timer = {
|
||||||
|
OnBootSec = "2m";
|
||||||
|
OnUnitActiveSec = "15m";
|
||||||
|
Persistent = true;
|
||||||
|
};
|
||||||
|
Install = {
|
||||||
|
WantedBy = [ "timers.target" ];
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
+26
-1
@@ -158,19 +158,21 @@ in
|
|||||||
enableDefaultConfig = false;
|
enableDefaultConfig = false;
|
||||||
settings = {
|
settings = {
|
||||||
"*" = {
|
"*" = {
|
||||||
User = "kiskaadee";
|
|
||||||
ServerAliveInterval = 15;
|
ServerAliveInterval = 15;
|
||||||
ServerAliveCountMax = 3;
|
ServerAliveCountMax = 3;
|
||||||
};
|
};
|
||||||
laptop = {
|
laptop = {
|
||||||
HostName = "192.168.1.32";
|
HostName = "192.168.1.32";
|
||||||
|
User = "kiskaadee";
|
||||||
Port = 22;
|
Port = 22;
|
||||||
};
|
};
|
||||||
server-local = {
|
server-local = {
|
||||||
|
User = "operator";
|
||||||
HostName = "192.168.1.36";
|
HostName = "192.168.1.36";
|
||||||
Port = 22;
|
Port = 22;
|
||||||
};
|
};
|
||||||
server-remote = {
|
server-remote = {
|
||||||
|
User = "operator";
|
||||||
HostName = "roadtotech.me";
|
HostName = "roadtotech.me";
|
||||||
Port = 2222;
|
Port = 2222;
|
||||||
};
|
};
|
||||||
@@ -179,6 +181,28 @@ in
|
|||||||
Port = 2223;
|
Port = 2223;
|
||||||
User = "git";
|
User = "git";
|
||||||
};
|
};
|
||||||
|
"webos-tv" = {
|
||||||
|
HostName = "192.168.1.11";
|
||||||
|
User = "prisoner";
|
||||||
|
Port = 9922;
|
||||||
|
IdentityFile = "~/.ssh/webos_rsa";
|
||||||
|
HostKeyAlgorithms = "+ssh-rsa";
|
||||||
|
PubkeyAcceptedAlgorithms = "+ssh-rsa";
|
||||||
|
};
|
||||||
|
phone = {
|
||||||
|
HostName = "192.168.1.46";
|
||||||
|
User = "u0_a56";
|
||||||
|
Port = 8022;
|
||||||
|
IdentityFile = "~/.ssh/id_ed25519";
|
||||||
|
IdentitiesOnly = true;
|
||||||
|
};
|
||||||
|
tablet = {
|
||||||
|
HostName = "192.168.1.5";
|
||||||
|
User = "u0_a259";
|
||||||
|
Port = 8022;
|
||||||
|
IdentityFile = "~/.ssh/id_ed25519";
|
||||||
|
IdentitiesOnly = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -240,6 +264,7 @@ in
|
|||||||
check = "~/Config/scripts/test";
|
check = "~/Config/scripts/test";
|
||||||
nfc = "nix flake check -L";
|
nfc = "nix flake check -L";
|
||||||
ff = "fastfetch --logo none";
|
ff = "fastfetch --logo none";
|
||||||
|
p3 = "python3";
|
||||||
|
|
||||||
# System Navigation
|
# System Navigation
|
||||||
".." = "cd ..";
|
".." = "cd ..";
|
||||||
|
|||||||
+2
-12
@@ -2,8 +2,7 @@
|
|||||||
# 🌟 Custom Git Automation & Helper Utilities
|
# 🌟 Custom Git Automation & Helper Utilities
|
||||||
# Sourced in .bashrc to streamline gitignore modifications, commit-push workflows, and new repo setups.
|
# Sourced in .bashrc to streamline gitignore modifications, commit-push workflows, and new repo setups.
|
||||||
|
|
||||||
# 1. gitignore: Quickly appends patterns to the repository's root .gitignore file
|
# 1. gitignore: Quickly appends patterns to the repository's root .gitignore file.
|
||||||
# then automatically commits and pushes the change.
|
|
||||||
gitignore() {
|
gitignore() {
|
||||||
if [ $# -eq 0 ]; then
|
if [ $# -eq 0 ]; then
|
||||||
echo "Usage: gitignore <pattern> [pattern...]"
|
echo "Usage: gitignore <pattern> [pattern...]"
|
||||||
@@ -30,7 +29,6 @@ gitignore() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
local added_count=0
|
local added_count=0
|
||||||
local commit_msg_list=""
|
|
||||||
|
|
||||||
for pattern in "$@"; do
|
for pattern in "$@"; do
|
||||||
# Check if the pattern is already present in the .gitignore file
|
# Check if the pattern is already present in the .gitignore file
|
||||||
@@ -40,18 +38,10 @@ gitignore() {
|
|||||||
echo "$pattern" >> "$GIT_IGNORE_FILE"
|
echo "$pattern" >> "$GIT_IGNORE_FILE"
|
||||||
echo "Added '$pattern'"
|
echo "Added '$pattern'"
|
||||||
((added_count++))
|
((added_count++))
|
||||||
commit_msg_list+="${pattern}, "
|
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
# If any patterns were added, commit and push them automatically
|
if [ "$added_count" -eq 0 ]; then
|
||||||
if [ $added_count -gt 0 ]; then
|
|
||||||
commit_msg_list="${commit_msg_list%, }"
|
|
||||||
echo "Committing and pushing changes..."
|
|
||||||
git add "$GIT_IGNORE_FILE"
|
|
||||||
git commit -m "Add to .gitignore: $commit_msg_list"
|
|
||||||
git push
|
|
||||||
else
|
|
||||||
echo "No new patterns were added."
|
echo "No new patterns were added."
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -19,11 +19,25 @@ if [[ $- == *i* ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# --- Nix Command Ergonomics ---
|
# --- Nix Command Ergonomics ---
|
||||||
# Ensure `nix flake check` always prints build and verification logs (-L)
|
# Ensure `nix flake check` always prints build and verification logs (-L),
|
||||||
|
# and inject GitHub personal access token via NIX_CONFIG on-demand to prevent API rate limiting.
|
||||||
nix() {
|
nix() {
|
||||||
|
local token=""
|
||||||
|
if declare -F _get_nix_gh_token >/dev/null 2>&1; then
|
||||||
|
token=$(_get_nix_gh_token)
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ -n "$token" ]]; then
|
||||||
|
if [[ "${1:-}" == "flake" && "${2:-}" == "check" && "$*" != *"--log-format"* && "$*" != *"-L"* ]]; then
|
||||||
|
NIX_CONFIG="access-tokens = github.com=${token}${NIX_CONFIG:+ $NIX_CONFIG}" command nix flake check -L "${@:3}"
|
||||||
|
else
|
||||||
|
NIX_CONFIG="access-tokens = github.com=${token}${NIX_CONFIG:+ $NIX_CONFIG}" command nix "$@"
|
||||||
|
fi
|
||||||
|
else
|
||||||
if [[ "${1:-}" == "flake" && "${2:-}" == "check" && "$*" != *"--log-format"* && "$*" != *"-L"* ]]; then
|
if [[ "${1:-}" == "flake" && "${2:-}" == "check" && "$*" != *"--log-format"* && "$*" != *"-L"* ]]; then
|
||||||
command nix flake check -L "${@:3}"
|
command nix flake check -L "${@:3}"
|
||||||
else
|
else
|
||||||
command nix "$@"
|
command nix "$@"
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
@@ -59,3 +59,13 @@ hostinger() {
|
|||||||
command hostinger "$@"
|
command hostinger "$@"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# 4. _get_nix_gh_token: Extracts and caches the GitHub repo token in memory for Nix invocations.
|
||||||
|
# Decrypts only on first use and caches in the shell session variable __NIX_GH_TOKEN to avoid repeated SOPS latency.
|
||||||
|
_get_nix_gh_token() {
|
||||||
|
local secrets_file="${CONFIG_SECRETS_FILE:-$HOME/Config/secrets.yaml}"
|
||||||
|
if [[ -z "${__NIX_GH_TOKEN:-}" ]] && [[ -f "$secrets_file" ]] && command -v sops >/dev/null 2>&1; then
|
||||||
|
__NIX_GH_TOKEN=$(sops -d --extract '["github"]["gh_repo_token"]' "$secrets_file" 2>/dev/null) || true
|
||||||
|
fi
|
||||||
|
printf "%s" "${__NIX_GH_TOKEN:-}"
|
||||||
|
}
|
||||||
+7
-5
@@ -11,13 +11,15 @@
|
|||||||
# Allow installation of unfree packages
|
# Allow installation of unfree packages
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
# Temporary upstream fix: correct stale pnpmDeps hash in nixpkgs 7fd4004
|
# Upstream fixes & package hash corrections
|
||||||
nixpkgs.overlays = [
|
nixpkgs.overlays = [
|
||||||
(final: prev: {
|
(final: prev: {
|
||||||
typescript-language-server = prev.typescript-language-server.overrideAttrs (old: {
|
# Temporary upstream fix: AnyDesk vendor re-released 8.1.0 tarball in-place
|
||||||
pnpmDeps = old.pnpmDeps.overrideAttrs (_: {
|
anydesk = prev.anydesk.overrideAttrs (old: {
|
||||||
outputHash = "sha256-xR/EF60lVBsITKgH7wCM2wHM46PFQevD51KfCENSUH4=";
|
src = prev.fetchurl {
|
||||||
});
|
inherit (old.src) url;
|
||||||
|
hash = "sha256-zS5P2eyTHZY7cBW8mQ2Q6M0lXcx9VZZTtpG3Bb6u7IQ=";
|
||||||
|
};
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|||||||
+5
-2
@@ -69,6 +69,9 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# Wayland execution flags for Electron / Chromium applications
|
# Wayland & Desktop Integration session flags
|
||||||
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
environment.sessionVariables = {
|
||||||
|
NIXOS_OZONE_WL = "1";
|
||||||
|
QT_QPA_PLATFORMTHEME = "xdgdesktopportal";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
+6
-1
@@ -45,7 +45,12 @@
|
|||||||
|
|
||||||
hardware.sane = {
|
hardware.sane = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extraBackends = [ pkgs.epsonscan2 ];
|
extraBackends = [
|
||||||
|
(pkgs.epsonscan2.override {
|
||||||
|
withNonFreePlugins = true;
|
||||||
|
})
|
||||||
|
pkgs.sane-airscan
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
# 🐳 Virtualisation / Docker container daemon
|
# 🐳 Virtualisation / Docker container daemon
|
||||||
|
|||||||
Reference in new issue
Block a user