Recreated nix files
This commit is contained in:
@@ -1,10 +0,0 @@
|
||||
{ config, pkgs, lib, ... }:
|
||||
{
|
||||
# Ensure the script is executable and available
|
||||
environment.systemPackages = [ pkgs.bash ];
|
||||
|
||||
# Add the activation script
|
||||
system.activationScripts.recreateConfig = lib.mkAfter "setupNetworking" ''
|
||||
${config.flakeRoot.outPath}/assets/scripts/recreate_config.sh
|
||||
'';
|
||||
}
|
||||
@@ -1,28 +0,0 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
{
|
||||
wayland.windowManager.hyprland = {
|
||||
# Load the Hyprexpo plugin (from nixpkgs)
|
||||
plugins = [
|
||||
pkgs.hyprlandPlugins.hyprexpo
|
||||
];
|
||||
|
||||
# Append plugin config + keybind after your existing hyprland.conf
|
||||
extraConfig = lib.mkAfter ''
|
||||
############################
|
||||
# Hyprexpo (workspace/window overview)
|
||||
############################
|
||||
|
||||
# Basic plugin config (tweak as you like)
|
||||
plugin {
|
||||
hyprexpo {
|
||||
columns = 3
|
||||
gaps_in = 5
|
||||
gaps_out = 20
|
||||
|
||||
# Comment out if you don't want it
|
||||
workspace_method = center current
|
||||
}
|
||||
}
|
||||
'';
|
||||
};
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
{ config, lib, pkgs, flakeRoot, inputs, ... }:
|
||||
{
|
||||
home.packages = with pkgs; [ jq ];
|
||||
wayland.windowManager.hyprland = {
|
||||
enable = true;
|
||||
plugins = [ pkgs.hyprlandPlugins.hyprscrolling ];
|
||||
};
|
||||
}
|
||||
@@ -1,13 +0,0 @@
|
||||
{ config, lib, pkgs, flakeRoot, ... }:
|
||||
let
|
||||
repoScript =
|
||||
flakeRoot.outPath + "/assets/conf/desktop/hypr/scripts/powermenu.sh";
|
||||
targetRel = ".config/hypr/scripts/powermenu.sh";
|
||||
in
|
||||
{
|
||||
# Ensure script exists in ~/.config/hypr/scripts/
|
||||
home.file."${targetRel}" = {
|
||||
source = lib.mkForce repoScript;
|
||||
executable = true;
|
||||
};
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
|
||||
Reference in New Issue
Block a user