mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
feat: darwin configuration, LnL7/nix-darwin#310 patch
This commit is contained in:
parent
6e1080ad2c
commit
2e98ec90e0
20 changed files with 183 additions and 82 deletions
|
|
@ -36,7 +36,7 @@
|
|||
"listrowsfirst"
|
||||
]; in
|
||||
''
|
||||
${if lib.hasSuffix "linux" pkgs.stdenv.system then ''
|
||||
${if pkgs.hostPlatform.isLinux then ''
|
||||
eval $(dircolors)
|
||||
'' else ''
|
||||
''}
|
||||
|
|
@ -72,7 +72,7 @@
|
|||
dmesg = "dmesg -HP";
|
||||
hg = "history 0 | rg";
|
||||
}
|
||||
(lib.mkIf (lib.hasSuffix "linux" pkgs.stdenv.system) {
|
||||
(lib.mkIf pkgs.hostPlatform.isLinux {
|
||||
sys = "systemctl";
|
||||
sysu = "systemctl --user";
|
||||
walls = "journalctl _SYSTEMD_INVOCATION_ID=$(systemctl show -p InvocationID --value konawall.service --user) -o json | jq -r '.MESSAGE'";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue