Skip to content

Commit

Permalink
Merge pull request #31 from Freed-Wu/nixos
Browse files Browse the repository at this point in the history
Add icon for NixOS
  • Loading branch information
lambdalisue committed Jan 30, 2024
2 parents fa7b017 + 6fc2f18 commit e054fd1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions assets/json/platform.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"gentoo": "",
"linux": "",
"macos": "",
"nixos": "",
"ubuntu": "",
"windows": ""
}
2 changes: 2 additions & 0 deletions autoload/nerdfont/platform.vim
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ function! s:find_distro() abort
let result = system('lsb_release -i')
if result =~# 'Arch'
return 'arch'
elseif result =~# 'NixOS'
return 'nixos'
elseif result =~# 'Gentoo'
return 'gentoo'
elseif result =~# 'Ubuntu'
Expand Down

0 comments on commit e054fd1

Please sign in to comment.