mirror of
https://github.com/caperren/nixos-configs.git
synced 2025-12-31 11:34:18 +00:00
Compare commits
9 Commits
b1376e1cea
...
23cf49aec7
| Author | SHA1 | Date | |
|---|---|---|---|
| 23cf49aec7 | |||
| c23b3eae53 | |||
| b6a769c4fa | |||
| 447ad9e125 | |||
| 1f27c34b09 | |||
| 379f039591 | |||
| 05b706e37f | |||
| 3392366413 | |||
| 85e1ecd46a |
@@ -1,5 +1,4 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
{
|
{
|
||||||
programs.adb.enable = true;
|
programs.adb.enable = true;
|
||||||
virtualisation.waydroid.enable = true;
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -27,6 +27,7 @@
|
|||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
bs-manager
|
bs-manager
|
||||||
heroic
|
heroic
|
||||||
|
itch
|
||||||
monado
|
monado
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
{
|
{
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
kicad
|
kicad
|
||||||
#pcb2gcode
|
pcb2gcode
|
||||||
];
|
];
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -21,6 +21,7 @@
|
|||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
btop-cuda
|
btop-cuda
|
||||||
desktop-file-utils
|
desktop-file-utils
|
||||||
|
dmidecode
|
||||||
dnsutils
|
dnsutils
|
||||||
ffmpeg-full
|
ffmpeg-full
|
||||||
git
|
git
|
||||||
|
|||||||
@@ -1,12 +1,10 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
{
|
{
|
||||||
virtualisation.podman = {
|
|
||||||
enable = true;
|
virtualisation.docker.enable = true;
|
||||||
dockerCompat = true;
|
virtualisation.containers.policy = {
|
||||||
|
default = [ { type = "insecureAcceptAnything"; } ];
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
distrobox
|
|
||||||
];
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -13,12 +13,14 @@ in
|
|||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
description = "Corwin Perren";
|
description = "Corwin Perren";
|
||||||
extraGroups = [
|
extraGroups = [
|
||||||
"networkmanager"
|
|
||||||
"wheel"
|
|
||||||
"input"
|
|
||||||
"dialout"
|
|
||||||
"plugdev"
|
|
||||||
"adbusers"
|
"adbusers"
|
||||||
|
"dialout"
|
||||||
|
"docker"
|
||||||
|
"input"
|
||||||
|
"networkmanager"
|
||||||
|
"plugdev"
|
||||||
|
"podman"
|
||||||
|
"wheel"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -55,6 +57,7 @@ in
|
|||||||
home.file.".config/hypr/scripts".source = ./dotfiles/.config/hypr/scripts;
|
home.file.".config/hypr/scripts".source = ./dotfiles/.config/hypr/scripts;
|
||||||
|
|
||||||
# Application config files
|
# Application config files
|
||||||
|
home.file.".config/containers/policy.json".source = ./dotfiles/.config/containers/policy.json;
|
||||||
home.file.".config/glances/glances.conf".source = ./dotfiles/.config/glances/glances.conf;
|
home.file.".config/glances/glances.conf".source = ./dotfiles/.config/glances/glances.conf;
|
||||||
home.file.".config/hypr/hypridle.conf".source = ./dotfiles/hypridle/hypridle.conf;
|
home.file.".config/hypr/hypridle.conf".source = ./dotfiles/hypridle/hypridle.conf;
|
||||||
home.file.".config/hypr/hyprpaper.conf".source = ./dotfiles/hyprpaper/hyprpaper.conf;
|
home.file.".config/hypr/hyprpaper.conf".source = ./dotfiles/hyprpaper/hyprpaper.conf;
|
||||||
@@ -90,7 +93,7 @@ in
|
|||||||
# Custom bash aliases
|
# Custom bash aliases
|
||||||
home.shellAliases = {
|
home.shellAliases = {
|
||||||
# Phone remote desktop over usb (adb), with some default flags I want
|
# Phone remote desktop over usb (adb), with some default flags I want
|
||||||
phonerdp = "scrcpy --no-audio --orientation=0 --turn-screen-off --stay-awake";
|
phonerdp = "scrcpy --no-audio --orientation=0 --turn-screen-off --stay-awake --power-off-on-close";
|
||||||
|
|
||||||
# Streamdeck isn't easy to manually edit, so make a save command to copy any updates to the repo
|
# Streamdeck isn't easy to manually edit, so make a save command to copy any updates to the repo
|
||||||
savestreamdeck = "cp ~/.streamdeck_ui.json ~/.nixos-configs/users/caperren/dotfiles/streamdeck/.streamdeck_ui.json";
|
savestreamdeck = "cp ~/.streamdeck_ui.json ~/.nixos-configs/users/caperren/dotfiles/streamdeck/.streamdeck_ui.json";
|
||||||
|
|||||||
7
users/caperren/dotfiles/.config/containers/policy.json
Normal file
7
users/caperren/dotfiles/.config/containers/policy.json
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"default": [
|
||||||
|
{
|
||||||
|
"type": "insecureAcceptAnything"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Type=Application
|
Type=Application
|
||||||
Name=Phone RDP
|
Name=Phone RDP
|
||||||
Exec=bash -c "scrcpy --no-audio --orientation=0 --turn-screen-off --stay-awake"
|
Exec=bash -c "scrcpy --no-audio --orientation=0 --turn-screen-off --stay-awake --power-off-on-close"
|
||||||
Icon=phonerdp
|
Icon=phonerdp
|
||||||
Terminal=false
|
Terminal=false
|
||||||
Categories=Utilities;
|
Categories=Utilities;
|
||||||
@@ -184,3 +184,6 @@ exec-once = sleep 5 && nm-applet # Traditional notifications area
|
|||||||
exec-once = sleep 5 && blueman-applet # Traditional bluetooth management tool
|
exec-once = sleep 5 && blueman-applet # Traditional bluetooth management tool
|
||||||
exec-once = sleep 5 && streamdeck -n # Streamdeck management tool
|
exec-once = sleep 5 && streamdeck -n # Streamdeck management tool
|
||||||
exec-once = sleep 5 && Telegram -startintray # Gotta keep in touch with peeps
|
exec-once = sleep 5 && Telegram -startintray # Gotta keep in touch with peeps
|
||||||
|
|
||||||
|
exec-once = sleep 10 && itch # More fun games
|
||||||
|
exec-once = sleep 15 && hyprctl dispatch closewindow 'title:itch' # Hacky solution to single-shot "windowrule"
|
||||||
@@ -8,8 +8,7 @@ profile bedroom_desk {
|
|||||||
# Top left to right
|
# Top left to right
|
||||||
output "Dell Inc. DELL P2411H F8NDP11G0DVU" enable position 0,1280
|
output "Dell Inc. DELL P2411H F8NDP11G0DVU" enable position 0,1280
|
||||||
output "Acer Technologies CB292CU 2217018D42410" enable position 1920,0 transform 90
|
output "Acer Technologies CB292CU 2217018D42410" enable position 1920,0 transform 90
|
||||||
output "DLOGIC Ltd. No Monitor USB_601e-21H1" enable position 3000,1280
|
output "Dell Inc. DELL P2411H F8NDP097114U" enable position 3000,1280
|
||||||
# output "DLOGIC Ltd. No Monitor USB_601e-21H1" mode --custom 1920x1080@60Hz enable position 3000,1280
|
|
||||||
|
|
||||||
# Bottom left to right
|
# Bottom left to right
|
||||||
output "Aculab Ltd Digital Unknown" enable transform 270 position 0,2360
|
output "Aculab Ltd Digital Unknown" enable transform 270 position 0,2360
|
||||||
@@ -19,8 +18,3 @@ profile bedroom_desk {
|
|||||||
# Far bottom right (laptop itself)
|
# Far bottom right (laptop itself)
|
||||||
output "BOE 0x0A9B Unknown" enable position 5440,2360 adaptive_sync on
|
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
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -116,7 +116,7 @@
|
|||||||
"icon": "/home/caperren/.config/streamdeck-ui/icons/unifi-camera-logo.png",
|
"icon": "/home/caperren/.config/streamdeck-ui/icons/unifi-camera-logo.png",
|
||||||
"keys": "",
|
"keys": "",
|
||||||
"write": "",
|
"write": "",
|
||||||
"command": "google-chrome-stable --kiosk --start-fullscreen https://homeassistant.crestline.perren.cloud/house-dashboard/0?kiosk",
|
"command": "google-chrome-stable --kiosk --start-fullscreen http://192.168.1.36:8123/house-guest-bedroom-monitoring-dashboard",
|
||||||
"brightness_change": 0,
|
"brightness_change": 0,
|
||||||
"switch_page": 0,
|
"switch_page": 0,
|
||||||
"switch_state": 0,
|
"switch_state": 0,
|
||||||
|
|||||||
Reference in New Issue
Block a user