Home manager global settings, user settings for caperren, and dotfiles for kanshi and wlogout

This commit is contained in:
2025-06-30 23:39:41 -07:00
parent dab6ad4f42
commit 5cd18d4fcb
8 changed files with 78 additions and 23 deletions

View File

@@ -40,27 +40,5 @@
inputs.home-manager.nixosModules.default inputs.home-manager.nixosModules.default
]; ];
}; };
homeConfigurations = {
"caperren@cap-slim7" = home-manager.lib.homeManagerConfiguration {
pkgs = nixpkgs.legacyPackages.x86_64-linux;
extraModules = [
./home/caperren/common.nix
./home/caperren/laptop.nix
];
username = "caperren";
homeDirectory = "/home/caperren";
};
"caperren@cap-nr200p" = home-manager.lib.homeManagerConfiguration {
pkgs = nixpkgs.legacyPackages.x86_64-linux;
extraModules = [
./home/caperren/common.nix
./home/caperren/desktop1.nix
];
username = "caperren";
homeDirectory = "/home/caperren";
};
};
}; };
} }

View File

@@ -22,6 +22,7 @@
../../modules/system/desktop.nix ../../modules/system/desktop.nix
../../modules/system/fonts.nix ../../modules/system/fonts.nix
../../modules/system/gpu-nvidia.nix ../../modules/system/gpu-nvidia.nix
../../modules/system/home-manager-settings.nix
../../modules/system/hyprland.nix ../../modules/system/hyprland.nix
../../modules/system/internationalization.nix ../../modules/system/internationalization.nix
../../modules/system/networking.nix ../../modules/system/networking.nix

View File

@@ -17,6 +17,7 @@
../../modules/system/displaylink.nix ../../modules/system/displaylink.nix
../../modules/system/fonts.nix ../../modules/system/fonts.nix
../../modules/system/gpu-amd.nix ../../modules/system/gpu-amd.nix
../../modules/system/home-manager-settings.nix
../../modules/system/hyprland.nix ../../modules/system/hyprland.nix
../../modules/system/internationalization.nix ../../modules/system/internationalization.nix
../../modules/system/laptop.nix ../../modules/system/laptop.nix

View File

@@ -0,0 +1,5 @@
{ config, pkgs, ... }:
{
home-manager.useGlobalPkgs = true;
home-manager.backupFileExtension = "bkp";
}

View File

@@ -1,4 +1,7 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
let
kanshiConfigPath = ./. + "/dotfiles/kanshi/${config.networking.hostName}/config";
in
{ {
users.users.caperren = { users.users.caperren = {
isNormalUser = true; isNormalUser = true;
@@ -11,8 +14,24 @@
"plugdev" "plugdev"
"adbusers" "adbusers"
]; ];
packages = with pkgs; [ };
home-manager.users.caperren = {
home.username = "caperren";
home.homeDirectory = "/home/caperren";
home.stateVersion = "25.05";
home.packages = with pkgs; [
obsidian obsidian
]; ];
programs.git = {
enable = true;
userName = "Corwin Perren";
userEmail = "caperren@gmail.com";
};
home.file.".config/kanshi/config".source = kanshiConfigPath;
home.file.".config/wlogout/layout".source = ./dotfiles/wlogout/layout;
}; };
} }

View File

@@ -0,0 +1 @@
# `hyprctl monitors list` for all outputs

View File

@@ -0,0 +1,26 @@
# `hyprctl monitors list` for all outputs
profile builtin_only {
output "BOE 0x0A9B Unknown" enable mode 2560x1600@165Hz position 0,0 adaptive_sync on
}
profile bedroom_desk {
# Top left to right
output "Dell Inc. DELL P2411H F8NDP11G0DVU" enable position 0,1280
output "Acer Technologies CB292CU 2217018D42410" enable position 1920,0 transform 90
output "DLOGIC Ltd. No Monitor USB_601e-21H1" enable position 3000,1280
# output "DLOGIC Ltd. No Monitor USB_601e-21H1" mode --custom 1920x1080@60Hz enable position 3000,1280
# Bottom left to right
output "Aculab Ltd Digital Unknown" enable transform 270 position 0,2360
output "Hewlett Packard HP Z27n CNK7311DRR" enable position 1440,2560
output "Aculab Ltd QHD270 Unknown" enable transform 90 position 4000,2360
# Far bottom right (laptop itself)
output "BOE 0x0A9B Unknown" enable position 5440,2360 adaptive_sync on
}
profile scotts_apartment_tv {
output "BOE 0x0A9B Unknown" enable mode 2560x1600@165Hz position 0,0 adaptive_sync on
output "Hisense Electric Co., Ltd. HISENSE 0x00000001" enable mode 1920x1080@60Hz position 2560,0
}

View File

@@ -0,0 +1,24 @@
{
"label" : "lock",
"action" : "hyprlock",
"text" : "Lock",
"keybind" : "l"
}
{
"label" : "logout",
"action" : "loginctl terminate-user $USER",
"text" : "Logout",
"keybind" : "e"
}
{
"label" : "shutdown",
"action" : "systemctl poweroff",
"text" : "Shutdown",
"keybind" : "s"
}
{
"label" : "reboot",
"action" : "systemctl reboot",
"text" : "Reboot",
"keybind" : "r"
}