Add Lenovo laptop
This commit is contained in:
parent
7bbc3ac209
commit
fd0316e588
14 changed files with 201 additions and 17 deletions
58
home-manager/jimbo_lenovo.nix
Normal file
58
home-manager/jimbo_lenovo.nix
Normal file
|
@ -0,0 +1,58 @@
|
|||
{config, ...}: {
|
||||
imports = [
|
||||
# Common modules
|
||||
./home.nix
|
||||
./users/jimbo.nix
|
||||
./tuiapps/git.nix
|
||||
|
||||
# GUI Apps
|
||||
./misc/guifiles.nix
|
||||
./sway/sway.nix
|
||||
./sway/swaylock.nix
|
||||
./guiapps/gtk.nix
|
||||
./guiapps/foot.nix
|
||||
./guiapps/librewolf.nix
|
||||
./guiapps/mangohud.nix
|
||||
./guiapps/mpv.nix
|
||||
./guiapps/obs.nix
|
||||
./guiapps/pcmanfm-qt.nix
|
||||
./guiapps/rofi.nix
|
||||
./guiapps/swappy.nix
|
||||
./guiapps/easyeffects.nix
|
||||
./tuiapps/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
|
||||
];
|
||||
|
||||
# ZSH rebuild commands
|
||||
programs.zsh = {
|
||||
shellAliases = let
|
||||
auth = import ./common/auth.nix;
|
||||
hostname = "JimLenovo";
|
||||
in {
|
||||
sysdate = "${auth.method} nixos-rebuild switch --flake /etc/nixos/.#${hostname}";
|
||||
homedate = "home-manager switch --flake /etc/nixos/.#jimbo@${hostname}";
|
||||
nixdate = "sysdate; homedate; notify-send 'NixOS switch done.'";
|
||||
};
|
||||
};
|
||||
|
||||
# Symlinks
|
||||
home.file = {
|
||||
"VMs" = {
|
||||
source = config.lib.file.mkOutOfStoreSymlink "/etc/libvirt/VMs";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue