Compare commits
2 commits
3331ce1634
...
b0aa81270d
Author | SHA1 | Date | |
---|---|---|---|
b0aa81270d | |||
4ef672844a |
2 changed files with 5 additions and 2 deletions
|
@ -24,6 +24,8 @@ with pkgs;
|
||||||
tmux
|
tmux
|
||||||
starship
|
starship
|
||||||
deprekages._7zz
|
deprekages._7zz
|
||||||
|
gnused
|
||||||
|
gnugrep
|
||||||
|
|
||||||
# Backup things.
|
# Backup things.
|
||||||
keepassxc
|
keepassxc
|
||||||
|
@ -255,5 +257,6 @@ with pkgs;
|
||||||
ethtool
|
ethtool
|
||||||
]
|
]
|
||||||
else
|
else
|
||||||
[ ]
|
[
|
||||||
|
]
|
||||||
)
|
)
|
||||||
|
|
|
@ -84,7 +84,7 @@ if not 'XONSH_HAS_NIXOS' in ${...}:
|
||||||
$XONSH_HAS_NIXOS = False;
|
$XONSH_HAS_NIXOS = False;
|
||||||
|
|
||||||
if not $XONSH_HAS_NIXOS:
|
if not $XONSH_HAS_NIXOS:
|
||||||
if !(grep -q "DISTRIB_ID=nixos" /etc/lsb-release).returncode == 0:
|
if (p"/etc/lsb_release".exists()) && !(grep -q "DISTRIB_ID=nixos" /etc/lsb-release).returncode == 0:
|
||||||
if XONSHRC_VERBOSE:
|
if XONSHRC_VERBOSE:
|
||||||
print("Found a NixOS machine; automatically loading the NixOS extensions.")
|
print("Found a NixOS machine; automatically loading the NixOS extensions.")
|
||||||
try_source("includes/nixos")
|
try_source("includes/nixos")
|
||||||
|
|
Loading…
Add table
Reference in a new issue