test aurora
This commit is contained in:
8
flake.lock
generated
8
flake.lock
generated
@@ -41,11 +41,11 @@
|
|||||||
"nixpkgs": "nixpkgs_2"
|
"nixpkgs": "nixpkgs_2"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1772926598,
|
"lastModified": 1774023962,
|
||||||
"narHash": "sha256-G5lylEQPMCiLmQBM2XtJ3MRfzj+N4D2+u9Ftt2WumUo=",
|
"narHash": "sha256-dDQLJOXdUvS+ENvalQXb5J0Fek96iYCk2EzGRp1KUSM=",
|
||||||
"ref": "refs/heads/master",
|
"ref": "refs/heads/master",
|
||||||
"rev": "95043f84e4210d4028efc348112107d19f3c0258",
|
"rev": "8c912861e30513d5e4c2e2e241c4a987c4f8a6ee",
|
||||||
"revCount": 7,
|
"revCount": 12,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://gitea.esotericbytes.com/Blunkall-Technologies/Aurora"
|
"url": "https://gitea.esotericbytes.com/Blunkall-Technologies/Aurora"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -127,7 +127,7 @@ bind = $mainMod, Q, killactive,
|
|||||||
bind = $mainMod, F, exec, thunar
|
bind = $mainMod, F, exec, thunar
|
||||||
bind = $mainMod SHIFT, F, fullscreen
|
bind = $mainMod SHIFT, F, fullscreen
|
||||||
|
|
||||||
bind = $mainMod SHIFT, semicolon, exec, colorPrefix kitty -e lf
|
bind = $mainMod SHIFT, semicolon, exec, colorPrefix kitty -e yazi
|
||||||
|
|
||||||
bind = $mainMod, Insert, exec, libreoffice
|
bind = $mainMod, Insert, exec, libreoffice
|
||||||
|
|
||||||
@@ -263,10 +263,10 @@ windowrule = float on, match:class $kitty
|
|||||||
windowrule = $scratchpadsize, match:class $kitty
|
windowrule = $scratchpadsize, match:class $kitty
|
||||||
windowrule = workspace special silent, match:class $kitty
|
windowrule = workspace special silent, match:class $kitty
|
||||||
|
|
||||||
$lf = ^(scratchpad-lf)$
|
$files = ^(scratchpad-files)$
|
||||||
windowrule = float on, match:class $lf
|
windowrule = float on, match:class $files
|
||||||
windowrule = $scratchpadsize, match:class $lf
|
windowrule = $scratchpadsize, match:class $files
|
||||||
windowrule = workspace special silent, match:class $lf
|
windowrule = workspace special silent, match:class $files
|
||||||
|
|
||||||
$cal = ^(scratchpad-cal)$
|
$cal = ^(scratchpad-cal)$
|
||||||
windowrule = float on, match:class $cal
|
windowrule = float on, match:class $cal
|
||||||
|
|||||||
@@ -3,11 +3,11 @@
|
|||||||
"scratchpads"
|
"scratchpads"
|
||||||
]
|
]
|
||||||
|
|
||||||
[scratchpads.lf]
|
[scratchpads.files]
|
||||||
animation = "fromTop"
|
animation = "fromTop"
|
||||||
command = "kitty --class scratchpad-lf lf ~"
|
command = "kitty --class scratchpad-files yazi ~"
|
||||||
lazy = true
|
lazy = true
|
||||||
class = "scratchpad-lf"
|
class = "scratchpad-files"
|
||||||
margin = 100
|
margin = 100
|
||||||
multi = true
|
multi = true
|
||||||
excludes = "*"
|
excludes = "*"
|
||||||
|
|||||||
@@ -31,7 +31,7 @@
|
|||||||
rsync
|
rsync
|
||||||
curl
|
curl
|
||||||
|
|
||||||
(python313.withPackages (ps: with ps; [
|
(python314.withPackages (ps: with ps; [
|
||||||
gpustat
|
gpustat
|
||||||
numpy
|
numpy
|
||||||
matplotlib
|
matplotlib
|
||||||
|
|||||||
@@ -33,22 +33,23 @@
|
|||||||
out=''${3:-/dev/null}
|
out=''${3:-/dev/null}
|
||||||
|
|
||||||
if [[ ''$ext == "gif" || ''$ext == "mp4" ]]; then
|
if [[ ''$ext == "gif" || ''$ext == "mp4" ]]; then
|
||||||
yes | ${pkgs.ffmpeg}/bin/ffmpeg -i "''$img" -vframes 1 /tmp/nathan/tmp.jpg >> ''$out
|
yes | ${pkgs.ffmpeg}/bin/ffmpeg -i "''$img" -vframes 1 /tmp/nathan/tmp.jpg >> ''$out
|
||||||
cp /tmp/nathan/tmp.jpg /tmp/nathan/tmp2.jpg
|
cp /tmp/nathan/tmp.jpg /tmp/nathan/tmp2.jpg
|
||||||
pidof mpvpaper && pkill mpvpaper
|
pidof mpvpaper && pkill mpvpaper
|
||||||
${pkgs.swww}/bin/swww img /tmp/nathan/tmp.jpg -t wipe >> ''$out
|
${pkgs.swww}/bin/swww img /tmp/nathan/tmp.jpg -t wipe >> ''$out
|
||||||
sleep 0.3
|
sleep 0.4
|
||||||
hyprctl dispatch exec "${pkgs.mpvpaper}/bin/mpvpaper ALL ''$img -o loop"
|
hyprctl dispatch exec "${pkgs.mpvpaper}/bin/mpvpaper ALL ''$img -o loop"
|
||||||
rm /tmp/nathan/tmp2.jpg
|
rm /tmp/nathan/tmp2.jpg
|
||||||
else
|
else
|
||||||
|
yes | ${pkgs.ffmpeg}/bin/ffmpeg -i "''$img" /tmp/nathan/tmp.jpg >> ''$out
|
||||||
pidof mpvpaper && pkill mpvpaper
|
pidof mpvpaper && pkill mpvpaper
|
||||||
hyprctl dispatch exec "${pkgs.swww}/bin/swww img ''$img -t wipe" >> ''$out
|
hyprctl dispatch exec "${pkgs.swww}/bin/swww img ''$img -t wipe" >> ''$out
|
||||||
fi
|
fi
|
||||||
|
|
||||||
changeColors "''$img" "''$2" >> ''$out
|
changeColors "''$img" "''$2" >> ''$out
|
||||||
'')
|
'')
|
||||||
|
|
||||||
(pkgs.writeShellScriptBin "changeColors" ''
|
(pkgs.writeShellScriptBin "changeColors" ''
|
||||||
|
|
||||||
img=''$(realpath "''$1")
|
img=''$(realpath "''$1")
|
||||||
alpha=''${2:-70}
|
alpha=''${2:-70}
|
||||||
@@ -66,9 +67,9 @@
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
colorPrefix
|
colorPrefix
|
||||||
'')
|
'')
|
||||||
|
|
||||||
(pkgs.writeShellScriptBin "colorPrefix" ''
|
(pkgs.writeShellScriptBin "colorPrefix" ''
|
||||||
pidof firefox > /dev/null && ${pkgs.pywalfox-native}/bin/pywalfox update &
|
pidof firefox > /dev/null && ${pkgs.pywalfox-native}/bin/pywalfox update &
|
||||||
pidof kitty > /dev/null && pkill -USR1 kitty
|
pidof kitty > /dev/null && pkill -USR1 kitty
|
||||||
pidof cava > /dev/null && pkill -USR1 cava
|
pidof cava > /dev/null && pkill -USR1 cava
|
||||||
@@ -77,7 +78,7 @@
|
|||||||
done
|
done
|
||||||
|
|
||||||
eval "''$@"
|
eval "''$@"
|
||||||
'')
|
'')
|
||||||
|
|
||||||
(pkgs.writeShellScriptBin "onSystemStart" ''
|
(pkgs.writeShellScriptBin "onSystemStart" ''
|
||||||
|
|
||||||
|
|||||||
@@ -2,16 +2,12 @@
|
|||||||
|
|
||||||
flake.homeModules.nathan = { config, lib, pkgs, ... }: {
|
flake.homeModules.nathan = { config, lib, pkgs, ... }: {
|
||||||
|
|
||||||
options.homeconfig.hyprlock.enable = lib.options.mkOption {
|
options.homeconfig.hypridle.enable = lib.options.mkOption {
|
||||||
type = lib.types.bool;
|
type = lib.types.bool;
|
||||||
default = false;
|
default = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
config = lib.mkIf config.homeconfig.hyprlock.enable {
|
config = lib.mkIf config.homeconfig.hypridle.enable {
|
||||||
|
|
||||||
programs.hyprlock = {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
services.hypridle = {
|
services.hypridle = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@@ -20,13 +20,13 @@
|
|||||||
home.activation.extraHyprFile = lib.hm.dag.entryAfter ["writeBoundary"] ''
|
home.activation.extraHyprFile = lib.hm.dag.entryAfter ["writeBoundary"] ''
|
||||||
if [[ ! -f ${config.home.homeDirectory}/.config/hypr/otf.conf ]]; then
|
if [[ ! -f ${config.home.homeDirectory}/.config/hypr/otf.conf ]]; then
|
||||||
touch ${config.home.homeDirectory}/.config/hypr/otf.conf
|
touch ${config.home.homeDirectory}/.config/hypr/otf.conf
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ ! -f ${config.home.homeDirectory}/.config/background ]]; then
|
if [[ ! -f ${config.home.homeDirectory}/.config/background ]]; then
|
||||||
cp ${config.home.homeDirectory}/Pictures/Wallpaper/bluescape.jpg ${config.home.homeDirectory}/.config/background
|
cp ${config.home.homeDirectory}/Pictures/Wallpaper/bluescape.jpg ${config.home.homeDirectory}/.config/background
|
||||||
chmod 600 ${config.home.homeDirectory}/.config/background
|
chmod 600 ${config.home.homeDirectory}/.config/background
|
||||||
fi
|
fi
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
||||||
wayland.windowManager.hyprland = {
|
wayland.windowManager.hyprland = {
|
||||||
|
|||||||
@@ -29,6 +29,8 @@
|
|||||||
map ctrl+tab next_tab
|
map ctrl+tab next_tab
|
||||||
map ctrl+shift+tab previous_tab
|
map ctrl+shift+tab previous_tab
|
||||||
|
|
||||||
|
allow_remote_control yes
|
||||||
|
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
flake.homeModules.nathan = { ... }: {
|
flake.homeModules.nathan = { ... }: {
|
||||||
config = {
|
config = {
|
||||||
programs.lf = {
|
programs.yazi = {
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@@ -25,8 +25,8 @@
|
|||||||
vi = "nvim";
|
vi = "nvim";
|
||||||
vim = "nvim";
|
vim = "nvim";
|
||||||
|
|
||||||
python = "python3.13";
|
python = "python3.14";
|
||||||
python3 = "python3.13";
|
python3 = "python3.14";
|
||||||
};
|
};
|
||||||
|
|
||||||
history = {
|
history = {
|
||||||
|
|||||||
@@ -29,27 +29,6 @@
|
|||||||
|
|
||||||
portalPackage = inputs.hyprland.packages.${system}.xdg-desktop-portal-hyprland;
|
portalPackage = inputs.hyprland.packages.${system}.xdg-desktop-portal-hyprland;
|
||||||
};
|
};
|
||||||
|
|
||||||
services = {
|
|
||||||
upower.enable = true;
|
|
||||||
gvfs.enable = true;
|
|
||||||
power-profiles-daemon.enable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
bluez
|
|
||||||
bluez-tools
|
|
||||||
libgtop
|
|
||||||
dart-sass
|
|
||||||
wl-clipboard
|
|
||||||
gtksourceview
|
|
||||||
libsoup_3
|
|
||||||
brightnessctl
|
|
||||||
swww
|
|
||||||
hyprpicker
|
|
||||||
hyprsunset
|
|
||||||
wf-recorder
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
21
system/services/aurora-greeter/default.nix
Normal file
21
system/services/aurora-greeter/default.nix
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
{ inputs, ... }: {
|
||||||
|
|
||||||
|
flake.nixosModules.default = { config, lib, pkgs, ... }: {
|
||||||
|
|
||||||
|
imports = [
|
||||||
|
inputs.aurora.nixosModules.default
|
||||||
|
];
|
||||||
|
|
||||||
|
options.sysconfig.services.aurora-greeter.enable = lib.mkOption {
|
||||||
|
type = lib.types.bool;
|
||||||
|
default = false;
|
||||||
|
};
|
||||||
|
|
||||||
|
config = lib.mkIf config.sysconfig.services.aurora-greeter.enable {
|
||||||
|
|
||||||
|
services.aurora-greeter = {
|
||||||
|
enable = false;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user