mirror of
https://github.com/caperren/nixos-configs.git
synced 2025-11-08 11:41:14 +00:00
Home manager global settings, user settings for caperren, and dotfiles for kanshi and wlogout
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
{ config, pkgs, ... }:
|
||||
let
|
||||
kanshiConfigPath = ./. + "/dotfiles/kanshi/${config.networking.hostName}/config";
|
||||
in
|
||||
{
|
||||
users.users.caperren = {
|
||||
isNormalUser = true;
|
||||
@@ -11,8 +14,24 @@
|
||||
"plugdev"
|
||||
"adbusers"
|
||||
];
|
||||
packages = with pkgs; [
|
||||
};
|
||||
|
||||
home-manager.users.caperren = {
|
||||
home.username = "caperren";
|
||||
home.homeDirectory = "/home/caperren";
|
||||
home.stateVersion = "25.05";
|
||||
|
||||
home.packages = with pkgs; [
|
||||
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;
|
||||
};
|
||||
}
|
||||
|
||||
1
users/caperren/dotfiles/kanshi/cap-nr200p/config
Normal file
1
users/caperren/dotfiles/kanshi/cap-nr200p/config
Normal file
@@ -0,0 +1 @@
|
||||
# `hyprctl monitors list` for all outputs
|
||||
26
users/caperren/dotfiles/kanshi/cap-slim7/config
Normal file
26
users/caperren/dotfiles/kanshi/cap-slim7/config
Normal 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
|
||||
}
|
||||
24
users/caperren/dotfiles/wlogout/layout
Normal file
24
users/caperren/dotfiles/wlogout/layout
Normal 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"
|
||||
}
|
||||
Reference in New Issue
Block a user