Recreated nix files

This commit is contained in:
2026-03-03 22:27:44 +01:00
parent 07e6fd0803
commit 443c7b0b4e
12 changed files with 287 additions and 528 deletions
-10
View File
@@ -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
'';
}
-28
View File
@@ -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 ];
};
}
-13
View File
@@ -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 @@