This repository has been archived by the owner on Apr 1, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
196b2b7
commit ce5e7ad
Showing
16 changed files
with
456 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
config, | ||
lib, | ||
pkgs, | ||
... | ||
}: { | ||
imports = [ | ||
./modules | ||
]; | ||
# Read the changelog before changing this value | ||
home.stateVersion = "23.05"; | ||
|
||
# insert home-manager config | ||
} |
Empty file.
13 changes: 13 additions & 0 deletions
13
home/nix-on-droid/aarch64/fily_pad_f12_1/modules/ENV_VAR.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
pkgs, | ||
config, | ||
... | ||
}: { | ||
home.sessionPath = [ | ||
"$HOME/.local/bin" | ||
"$HOME/go/bin" | ||
]; | ||
home.sessionVariables = { | ||
home_sessionVariables_enable = 1; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{pkgs, ...}: { | ||
programs = { | ||
firefox = { | ||
enable = true; | ||
}; | ||
}; | ||
} |
38 changes: 38 additions & 0 deletions
38
home/nix-on-droid/aarch64/fily_pad_f12_1/modules/creative.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{pkgs, ...}: { | ||
home.packages = with pkgs; [ | ||
# creative | ||
blender # 3d modeling | ||
# gimp # image editing, I prefer using figma in browser instead of this one | ||
(gimp-with-plugins.override { | ||
plugins = with gimpPlugins; [ | ||
fourier | ||
# resynthesizer # broken since 2023-03-20 | ||
gmic | ||
]; | ||
}) | ||
shotcut | ||
mdp | ||
inkscape # vector graphics | ||
krita # digital painting | ||
musescore # music notation | ||
reaper # audio production | ||
sonic-pi # music programming | ||
|
||
# this app consumes a lot of storage, so do not install it currently | ||
kicad-unstable # 3d printing, eletrical engineering | ||
ngspice | ||
#digital # A digital logic designer and circuit simulator. | ||
logisim-evolution # Digital logic designer and simulator | ||
|
||
freecad | ||
]; | ||
|
||
programs = { | ||
# live streaming | ||
obs-studio = { | ||
enable = true; | ||
plugins = with pkgs; [ | ||
]; | ||
}; | ||
}; | ||
} |
25 changes: 25 additions & 0 deletions
25
home/nix-on-droid/aarch64/fily_pad_f12_1/modules/default.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
config, | ||
catppuccin-urxvt, | ||
... | ||
} @ args: { | ||
imports = [ | ||
./font.nix | ||
./development.nix | ||
./creative.nix | ||
./menu.nix | ||
./dewm.nix | ||
./browers.nix | ||
./system-tools.nix | ||
./ENV_VAR.nix | ||
./others.nix | ||
# nix-on-droid common | ||
#../../../common/modules/virtualisation.nix | ||
../../../common/modules/x11_catppuccin.nix | ||
../../../common/modules/nix.nix | ||
# common | ||
../../../../common/modules/neovim | ||
../../../../common/modules/others.nix | ||
../../../../common/modules/fhs.nix | ||
]; | ||
} |
105 changes: 105 additions & 0 deletions
105
home/nix-on-droid/aarch64/fily_pad_f12_1/modules/development.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,105 @@ | ||
{ | ||
pkgs, | ||
pkgs-unstable, | ||
... | ||
}: let | ||
my_python = pkgs-unstable.python311.withPackages (ps: | ||
with ps; [ | ||
ipykernel | ||
#jupyterlab | ||
matplotlib | ||
numpy | ||
seaborn | ||
networkx | ||
beautifulsoup4 | ||
selenium | ||
urllib3 | ||
pyclip | ||
pybluez | ||
pymysql | ||
jieba | ||
wordcloud | ||
pandas-datareader | ||
pip # use in venv "python -m venv .venv" "source .venv/bin/activate" | ||
|
||
ipython | ||
pandas | ||
requests | ||
pyquery | ||
pyyaml | ||
|
||
#docx2pdf | ||
]); | ||
in { | ||
home.packages = with pkgs-unstable; [ | ||
#-- python | ||
# my_python | ||
|
||
#-- golang | ||
go | ||
gomodifytags | ||
iferr # generate error handling code for go | ||
impl # generate function implementation for go | ||
gotools # contains tools like: godoc, goimports, etc. | ||
gopls # go language server | ||
delve # go debugger | ||
|
||
#-- jdk | ||
jdk17 # used to run some java based tools(.jar) | ||
|
||
rsync # File Copy/Snyc | ||
ranger # Terminal FileManager | ||
proxychains | ||
tmux # Background Shell process | ||
|
||
# User-facing stuff that you really really want to have | ||
vim # or some other editor, e.g. nano or neovim | ||
helix # An editor with lots of functions out of box | ||
git # Version Manager | ||
direnv | ||
|
||
neofetch | ||
openssh | ||
curl | ||
gnumake | ||
|
||
# Some common stuff that people expect to have | ||
fzf | ||
diffutils | ||
findutils | ||
utillinux | ||
tzdata | ||
hostname | ||
gnupg | ||
gnused | ||
gnutar | ||
bzip2 | ||
gzip | ||
xz | ||
zip | ||
unzip | ||
ncurses # command clear | ||
which | ||
htop | ||
tree | ||
netcat # nc | ||
procps # command ps/pgrep and ... | ||
lsof | ||
time | ||
]; | ||
programs = { | ||
zsh = { | ||
enable = true; | ||
}; | ||
nushell = { | ||
enable = true; | ||
}; | ||
bash = { | ||
enable = true; | ||
enableCompletion = true; | ||
}; | ||
fish = { | ||
enable = true; | ||
}; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
pkgs, | ||
pkgs-unstable, | ||
... | ||
}: { | ||
home.packages = with pkgs-unstable; [ | ||
xdg-utils | ||
]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
{ | ||
pkgs, | ||
pkgs-unstable, | ||
config, | ||
... | ||
}: { | ||
home.packages = with pkgs-unstable; [ | ||
# ...various | ||
# dejavu_fonts | ||
# powerline-fonts | ||
|
||
# icon fonts | ||
#material-design-icons | ||
#font-awesome | ||
|
||
# Noto 系列字体是 Google 主导的,名字的含义是「没有豆腐」(no tofu),因为缺字时显示的方框或者方框被叫作 tofu | ||
# Noto 系列字族名只支持英文,命名规则是 Noto + Sans 或 Serif + 文字名称。 | ||
# 其中汉字部分叫 Noto Sans/Serif CJK SC/TC/HK/JP/KR,最后一个词是地区变种。 | ||
noto-fonts # 大部分文字的常见样式,不包含汉字 | ||
noto-fonts-cjk # 汉字部分 | ||
noto-fonts-emoji # 彩色的表情符号字体 | ||
noto-fonts-extra # 提供额外的字重和宽度变种 | ||
|
||
# 思源系列字体是 Adobe 主导的。其中汉字部分被称为「思源黑体」和「思源宋体」,是由 Adobe + Google 共同开发的 | ||
source-sans # 无衬线字体,不含汉字。字族名叫 Source Sans 3 和 Source Sans Pro,以及带字重的变体,加上 Source Sans 3 VF | ||
source-serif # 衬线字体,不含汉字。字族名叫 Source Code Pro,以及带字重的变体 | ||
source-han-sans # 思源黑体 | ||
source-han-serif # 思源宋体 | ||
|
||
sarasa-gothic | ||
# nerdfonts | ||
(nerdfonts.override { | ||
fonts = [ | ||
"FiraCode" | ||
"JetBrainsMono" | ||
"Iosevka" | ||
]; | ||
}) | ||
]; | ||
|
||
fonts.fontconfig.enable = true; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
pkgs, | ||
pkgs-unstable, | ||
... | ||
}: { | ||
home.packages = with pkgs-unstable; [ | ||
dmenu | ||
#rofi | ||
]; | ||
|
||
programs = { | ||
rofi = { | ||
enable = true; | ||
}; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
pkgs, | ||
pkgs-unstable, | ||
... | ||
}: { | ||
home.packages = with pkgs-unstable; [ | ||
]; | ||
} |
Oops, something went wrong.