Add Lenovo laptop
This commit is contained in:
parent
7bbc3ac209
commit
fd0316e588
14 changed files with 201 additions and 17 deletions
|
@ -37,13 +37,14 @@
|
|||
./services/udiskie.nix
|
||||
];
|
||||
|
||||
# Rebuild this entire system
|
||||
# ZSH rebuild commands
|
||||
programs.zsh = {
|
||||
shellAliases = let
|
||||
auth = import ./common/auth.nix;
|
||||
hostname = "JimDeck";
|
||||
in {
|
||||
sysdate = "${auth.method} nixos-rebuild switch --flake /etc/nixos/.#JimDeck";
|
||||
homedate = "home-manager switch --flake /etc/nixos/.#jimbo@JimDeck";
|
||||
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.'";
|
||||
};
|
||||
};
|
||||
|
|
|
@ -39,13 +39,14 @@
|
|||
./services/udiskie.nix
|
||||
];
|
||||
|
||||
# Rebuild this entire system
|
||||
# ZSH rebuild commands
|
||||
programs.zsh = {
|
||||
shellAliases = let
|
||||
auth = import ./common/auth.nix;
|
||||
hostname = "JimDesktop";
|
||||
in {
|
||||
sysdate = "${auth.method} nixos-rebuild switch --flake /etc/nixos/.#JimDesktop";
|
||||
homedate = "home-manager switch --flake /etc/nixos/.#jimbo@JimDesktop";
|
||||
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.'";
|
||||
};
|
||||
};
|
||||
|
|
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";
|
||||
};
|
||||
};
|
||||
}
|
|
@ -6,14 +6,15 @@
|
|||
./tuiapps/git.nix
|
||||
];
|
||||
|
||||
# Rebuild this entire system
|
||||
# ZSH rebuild commands
|
||||
programs.zsh = {
|
||||
shellAliases = let
|
||||
auth = import ./common/auth.nix;
|
||||
hostname = "JimServer";
|
||||
in {
|
||||
sysdate = "${auth.method} nixos-rebuild switch --flake /etc/nixos/.#JimServer";
|
||||
homedate = "home-manager switch --flake /etc/nixos/.#jimbo@JimServer";
|
||||
nixdate = "sysdate; homedate";
|
||||
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.'";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -9,8 +9,9 @@
|
|||
programs.zsh = {
|
||||
shellAliases = let
|
||||
auth = import ./common/auth.nix;
|
||||
hostname = "SSH";
|
||||
in {
|
||||
homedate = "home-manager switch --flake ~/.home-manager/.#jimbo@SSH --extra-experimental-features 'nix-command flakes'";
|
||||
homedate = "home-manager switch --flake ~/.home-manager/.#jimbo@${hostname} --extra-experimental-features 'nix-command flakes'";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
# Foreground apps
|
||||
{command = "librewolf -P Misc --name=MiscBrowser";}
|
||||
{command = "vesktop --ozone-platform-hint=auto";}
|
||||
{command = "vesktop";}
|
||||
{command = "element-desktop";}
|
||||
{command = "thunderbird";}
|
||||
];
|
||||
|
|
|
@ -97,8 +97,8 @@
|
|||
|
||||
# Communication
|
||||
"${ws.w3a}" = [{class = "zoom";}];
|
||||
"${ws.w7}" = [{app_id = "MiscBrowser";} {app_id = "vesktop";}];
|
||||
"${ws.w8}" = [{app_id = "Element";}];
|
||||
"${ws.w7}" = [{app_id = "MiscBrowser";} {app_id = "vesktop";} {class = "vesktop";}];
|
||||
"${ws.w8}" = [{app_id = "Element";} {class = "Element";}];
|
||||
"${ws.w9}" = [{app_id = "thunderbird";}];
|
||||
|
||||
# Else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue