Make a hosts folder for system and home, remove legacy.nix cause I never used it, change some comments
This commit is contained in:
parent
1a096662e1
commit
d9469fc321
36 changed files with 380 additions and 402 deletions
46
home/hosts/JimDesktop/home.nix
Normal file
46
home/hosts/JimDesktop/home.nix
Normal file
|
@ -0,0 +1,46 @@
|
|||
{config, ...}: {
|
||||
imports = [
|
||||
# Common modules
|
||||
./../../base.nix
|
||||
./../../users/jimbo.nix
|
||||
./../../utils/git.nix
|
||||
|
||||
# GUI Apps
|
||||
./../../misc/guifiles.nix
|
||||
./../../sway/sway.nix
|
||||
./../../sway/swaylock.nix
|
||||
./../../programs/gtk.nix
|
||||
./../../programs/foot.nix
|
||||
./../../programs/librewolf.nix
|
||||
./../../programs/mangohud.nix
|
||||
./../../programs/mpv.nix
|
||||
./../../programs/obs.nix
|
||||
./../../programs/pcmanfm-qt.nix
|
||||
./../../programs/rofi.nix
|
||||
./../../programs/swappy.nix
|
||||
./../../programs/easyeffects.nix
|
||||
./../../utils/ncmpcpp.nix
|
||||
|
||||
# Misc apps and tools
|
||||
./../../misc/useful.nix
|
||||
./../../misc/avtools.nix
|
||||
./../../misc/filemanager.nix
|
||||
./../../misc/production.nix
|
||||
./../../misc/gaming.nix
|
||||
./../../misc/xash3d.nix
|
||||
#./../../misc/emulators.nix
|
||||
#./../../misc/remotedesktop.nix
|
||||
./../../misc/school.nix
|
||||
./../../misc/variables.nix
|
||||
|
||||
# Services
|
||||
./../../services/gnome-keyring.nix
|
||||
./../../services/mako.nix
|
||||
./../../services/udiskie.nix
|
||||
];
|
||||
|
||||
# Symlinks
|
||||
home.file = {
|
||||
"VMs".source = config.lib.file.mkOutOfStoreSymlink "/etc/libvirt/VMs";
|
||||
};
|
||||
}
|
39
home/hosts/JimLenovo/home.nix
Normal file
39
home/hosts/JimLenovo/home.nix
Normal file
|
@ -0,0 +1,39 @@
|
|||
{
|
||||
imports = [
|
||||
# Common modules
|
||||
./../../base.nix
|
||||
./../../users/jimbo.nix
|
||||
./../../utils/git.nix
|
||||
|
||||
# GUI Apps
|
||||
./../../misc/guifiles.nix
|
||||
./../../sway/sway.nix
|
||||
./../../sway/swaylock.nix
|
||||
./../../programs/gtk.nix
|
||||
./../../programs/foot.nix
|
||||
./../../programs/librewolf.nix
|
||||
./../../programs/mangohud.nix
|
||||
./../../programs/mpv.nix
|
||||
./../../programs/obs.nix
|
||||
./../../programs/pcmanfm-qt.nix
|
||||
./../../programs/rofi.nix
|
||||
./../../programs/swappy.nix
|
||||
./../../programs/easyeffects.nix
|
||||
./../../utils/ncmpcpp.nix
|
||||
|
||||
# Misc apps and tools
|
||||
./../../misc/useful.nix
|
||||
./../../misc/avtools.nix
|
||||
./../../misc/filemanager.nix
|
||||
./../../misc/gaming.nix
|
||||
./../../misc/xash3d.nix
|
||||
./../../misc/remotedesktop.nix
|
||||
./../../misc/school.nix
|
||||
./../../misc/variables.nix
|
||||
|
||||
# Services
|
||||
./../../services/gnome-keyring.nix
|
||||
./../../services/mako.nix
|
||||
./../../services/udiskie.nix
|
||||
];
|
||||
}
|
42
home/hosts/JimPine/home.nix
Normal file
42
home/hosts/JimPine/home.nix
Normal file
|
@ -0,0 +1,42 @@
|
|||
{pkgs, outputs, ...}: {
|
||||
imports = [
|
||||
# Common modules
|
||||
./../../base.nix
|
||||
./../../users/jimbo.nix
|
||||
./../../utils/git.nix
|
||||
|
||||
# GUI Apps
|
||||
./../../misc/guifiles.nix
|
||||
./../../sway/sway.nix
|
||||
./../../sway/swaylock.nix
|
||||
./../../programs/gtk.nix
|
||||
./../../programs/foot.nix
|
||||
./../../programs/librewolf.nix
|
||||
./../../programs/mangohud.nix
|
||||
./../../programs/mpv.nix
|
||||
./../../programs/pcmanfm-qt.nix
|
||||
./../../programs/rofi.nix
|
||||
./../../programs/swappy.nix
|
||||
./../../programs/easyeffects.nix
|
||||
./../../utils/ncmpcpp.nix
|
||||
|
||||
# Misc apps and tools
|
||||
./../../misc/useful.nix
|
||||
./../../misc/avtools.nix
|
||||
./../../misc/filemanager.nix
|
||||
./../../misc/remotedesktop.nix
|
||||
./../../misc/variables.nix
|
||||
|
||||
# Services
|
||||
./../../services/gnome-keyring.nix
|
||||
./../../services/mako.nix
|
||||
./../../services/udiskie.nix
|
||||
];
|
||||
|
||||
# Needed to make the speaker work
|
||||
home.packages = with pkgs; [
|
||||
alsa-utils
|
||||
];
|
||||
|
||||
wayland.windowManager.sway.config.output.${outputs.displays.dI}.scale = "1.3";
|
||||
}
|
8
home/hosts/JimServer/home.nix
Normal file
8
home/hosts/JimServer/home.nix
Normal file
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
imports = [
|
||||
# Common modules
|
||||
./../../base.nix
|
||||
./../../users/jimbo.nix
|
||||
./../../utils/git.nix
|
||||
];
|
||||
}
|
14
home/hosts/JimTerminal/home.nix
Normal file
14
home/hosts/JimTerminal/home.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
imports = [
|
||||
# Common modules
|
||||
./../../base.nix
|
||||
./../../users/jimbo.nix
|
||||
];
|
||||
|
||||
# Rebuild this entire system
|
||||
programs.zsh = {
|
||||
shellAliases = {
|
||||
termswitch = "home-manager switch --flake ~/.home-manager/.#jimbo@JimTerminal --extra-experimental-features 'nix-command flakes'";
|
||||
};
|
||||
};
|
||||
}
|
|
@ -1,46 +0,0 @@
|
|||
{config, ...}: {
|
||||
imports = [
|
||||
# Common modules
|
||||
./home.nix
|
||||
./users/jimbo.nix
|
||||
./utils/git.nix
|
||||
|
||||
# GUI Apps
|
||||
./misc/guifiles.nix
|
||||
./sway/sway.nix
|
||||
./sway/swaylock.nix
|
||||
./programs/gtk.nix
|
||||
./programs/foot.nix
|
||||
./programs/librewolf.nix
|
||||
./programs/mangohud.nix
|
||||
./programs/mpv.nix
|
||||
./programs/obs.nix
|
||||
./programs/pcmanfm-qt.nix
|
||||
./programs/rofi.nix
|
||||
./programs/swappy.nix
|
||||
./programs/easyeffects.nix
|
||||
./utils/ncmpcpp.nix
|
||||
|
||||
# Misc apps and tools
|
||||
./misc/useful.nix
|
||||
./misc/avtools.nix
|
||||
./misc/filemanager.nix
|
||||
./misc/production.nix
|
||||
./misc/gaming.nix
|
||||
./misc/xash3d.nix
|
||||
#./misc/emulators.nix
|
||||
#./misc/remotedesktop.nix
|
||||
./misc/school.nix
|
||||
./misc/variables.nix
|
||||
|
||||
# Services
|
||||
./services/gnome-keyring.nix
|
||||
./services/mako.nix
|
||||
./services/udiskie.nix
|
||||
];
|
||||
|
||||
# Symlinks
|
||||
home.file = {
|
||||
"VMs".source = config.lib.file.mkOutOfStoreSymlink "/etc/libvirt/VMs";
|
||||
};
|
||||
}
|
|
@ -1,39 +0,0 @@
|
|||
{
|
||||
imports = [
|
||||
# Common modules
|
||||
./home.nix
|
||||
./users/jimbo.nix
|
||||
./utils/git.nix
|
||||
|
||||
# GUI Apps
|
||||
./misc/guifiles.nix
|
||||
./sway/sway.nix
|
||||
./sway/swaylock.nix
|
||||
./programs/gtk.nix
|
||||
./programs/foot.nix
|
||||
./programs/librewolf.nix
|
||||
./programs/mangohud.nix
|
||||
./programs/mpv.nix
|
||||
./programs/obs.nix
|
||||
./programs/pcmanfm-qt.nix
|
||||
./programs/rofi.nix
|
||||
./programs/swappy.nix
|
||||
./programs/easyeffects.nix
|
||||
./utils/ncmpcpp.nix
|
||||
|
||||
# Misc apps and tools
|
||||
./misc/useful.nix
|
||||
./misc/avtools.nix
|
||||
./misc/filemanager.nix
|
||||
./misc/gaming.nix
|
||||
./misc/xash3d.nix
|
||||
./misc/remotedesktop.nix
|
||||
./misc/school.nix
|
||||
./misc/variables.nix
|
||||
|
||||
# Services
|
||||
./services/gnome-keyring.nix
|
||||
./services/mako.nix
|
||||
./services/udiskie.nix
|
||||
];
|
||||
}
|
|
@ -1,42 +0,0 @@
|
|||
{pkgs, outputs, ...}: {
|
||||
imports = [
|
||||
# Common modules
|
||||
./home.nix
|
||||
./users/jimbo.nix
|
||||
./utils/git.nix
|
||||
|
||||
# GUI Apps
|
||||
./misc/guifiles.nix
|
||||
./sway/sway.nix
|
||||
./sway/swaylock.nix
|
||||
./programs/gtk.nix
|
||||
./programs/foot.nix
|
||||
./programs/librewolf.nix
|
||||
./programs/mangohud.nix
|
||||
./programs/mpv.nix
|
||||
./programs/pcmanfm-qt.nix
|
||||
./programs/rofi.nix
|
||||
./programs/swappy.nix
|
||||
./programs/easyeffects.nix
|
||||
./utils/ncmpcpp.nix
|
||||
|
||||
# Misc apps and tools
|
||||
./misc/useful.nix
|
||||
./misc/avtools.nix
|
||||
./misc/filemanager.nix
|
||||
./misc/remotedesktop.nix
|
||||
./misc/variables.nix
|
||||
|
||||
# Services
|
||||
./services/gnome-keyring.nix
|
||||
./services/mako.nix
|
||||
./services/udiskie.nix
|
||||
];
|
||||
|
||||
# Needed to make the speaker work
|
||||
home.packages = with pkgs; [
|
||||
alsa-utils
|
||||
];
|
||||
|
||||
wayland.windowManager.sway.config.output.${outputs.displays.dI}.scale = "1.3";
|
||||
}
|
|
@ -1,8 +0,0 @@
|
|||
{
|
||||
imports = [
|
||||
# Common modules
|
||||
./home.nix
|
||||
./users/jimbo.nix
|
||||
./utils/git.nix
|
||||
];
|
||||
}
|
|
@ -1,14 +0,0 @@
|
|||
{
|
||||
imports = [
|
||||
# Common modules
|
||||
./home.nix
|
||||
./users/jimbo.nix
|
||||
];
|
||||
|
||||
# Rebuild this entire system
|
||||
programs.zsh = {
|
||||
shellAliases = {
|
||||
sshswitch = "home-manager switch --flake ~/.home-manager/.#jimbo@SSH --extra-experimental-features 'nix-command flakes'";
|
||||
};
|
||||
};
|
||||
}
|
|
@ -27,6 +27,13 @@
|
|||
# Hex color visualizer and color theme
|
||||
nvim-colorizer-lua
|
||||
vim-monokai-pro
|
||||
|
||||
# Discord RPC
|
||||
vimsence
|
||||
|
||||
# Nerdtree
|
||||
nerdtree
|
||||
vim-nerdtree-syntax-highlight
|
||||
];
|
||||
extraConfig = ''
|
||||
lua <<EOF
|
||||
|
@ -96,6 +103,7 @@
|
|||
nmap <C-x> :bnext<CR>
|
||||
nmap <C-z> :bprev<CR>
|
||||
nmap <C-w> :bd<CR>
|
||||
nmap <C-a> :NERDTreeToggle
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue