mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-11-09 18:47:02 +00:00
remove channels script
This commit is contained in:
parent
976e2c2f6c
commit
c30f0bcb75
1 changed files with 0 additions and 14 deletions
|
@ -1,9 +1,4 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
let
|
||||
|
||||
system-rev = toString config.system.nixos.revision;
|
||||
|
||||
in
|
||||
{
|
||||
imports = [ ./powerline.nix ];
|
||||
|
||||
|
@ -67,15 +62,6 @@ in
|
|||
print(str(int(ln.split(' ')[-1])/(1024*1024*1024))[:5],'GB')
|
||||
'')
|
||||
|
||||
(writeShellScriptBin "channel" ''
|
||||
echo
|
||||
echo "NixOS ${config.system.nixos.release} (${config.system.defaultChannel})"
|
||||
echo
|
||||
echo "${system-rev} current local"
|
||||
echo "$(curl --silent -L ${config.system.defaultChannel}/git-revision) latest available"
|
||||
echo
|
||||
'')
|
||||
|
||||
];
|
||||
|
||||
environment.etc.nixpkgs.source = pkgs.path;
|
||||
|
|
Loading…
Reference in a new issue