Provide example hostname flake and

This commit is contained in:
2024-06-06 19:50:20 -05:00
parent 245beea2bd
commit 215dea859c
4 changed files with 10 additions and 8 deletions

2
.gitignore vendored
View File

@@ -1 +1 @@
/hostname /hostname/flake.nix

4
flake.lock generated
View File

@@ -2,8 +2,8 @@
"nodes": { "nodes": {
"currentSystem": { "currentSystem": {
"locked": { "locked": {
"lastModified": 1717720072, "lastModified": 1717720375,
"narHash": "sha256-JAMWMGlJFDt+7bbpWIDoRzvL0/A7YY6Wg6xENX9ohUY=", "narHash": "sha256-nbltg3gor6ZPWg1zQXGAgIHqJ05lfvJmwaJRjI+HYws=",
"path": "/etc/nixos/hostname", "path": "/etc/nixos/hostname",
"type": "path" "type": "path"
}, },

View File

@@ -0,0 +1,6 @@
{
outputs { ... }: {
# Replace with system hostname and rename to flake.nix
hostname = "<hostnam>";
};
}

View File

@@ -170,6 +170,7 @@ in
commands = [ commands = [
{ criteria = { class = "vesktop"; }; command = "opacity 0.9"; } { criteria = { class = "vesktop"; }; command = "opacity 0.9"; }
{ criteria = { app_id = "Alacritty"; }; command = "opacity 0.9"; } { criteria = { app_id = "Alacritty"; }; command = "opacity 0.9"; }
{ criteria = { class = "feishin"; }; command = "opacity 0.9"; }
{ criteria = { class = "gamescope"; }; command = "fullscreen"; } { criteria = { class = "gamescope"; }; command = "fullscreen"; }
{ criteria = { app_id = "gamescope"; }; command = "fullscreen"; } { criteria = { app_id = "gamescope"; }; command = "fullscreen"; }
{ criteria = { app_id = "mpv"; }; command = "fullscreen"; } { criteria = { app_id = "mpv"; }; command = "fullscreen"; }
@@ -206,11 +207,6 @@ in
client.urgent $urgent-bg-color $urgent-bg-color $text-color #4B5177 client.urgent $urgent-bg-color $urgent-bg-color $text-color #4B5177
smart_gaps inverse_outer smart_gaps inverse_outer
bar {
swaybar_command waybar
}
''; '';
}; };
}; };