This commit is contained in:
Bryan Ramos 2025-02-04 10:29:42 -05:00
parent b3605d741c
commit 3dc1465284
Signed by: bryan
GPG key ID: 6ABDCD144D6643C8
4 changed files with 19 additions and 12 deletions

View file

@ -8,17 +8,17 @@
connections."qemu:///system" = { connections."qemu:///system" = {
domains = [ domains = [
{ {
definition = ./config/machines/Test_Bench1.xml; definition = ./machines/Test_Bench1.xml;
} }
]; ];
pools = [ pools = [
{ {
definition = ./config/storage/pools/default.xml; definition = ./storage/pools/default.xml;
active = true; active = true;
volumes = [ volumes = [
{ {
definition = ./config/storage/volumes/rocky9.xml; definition = ./storage/volumes/rocky9.xml;
} }
]; ];
} }
@ -26,7 +26,7 @@
networks = [ networks = [
{ {
definition = ./config/networks/virbr0.xml; definition = ./networks/virbr0.xml;
active = true; active = true;
} }
]; ];

View file

@ -10,7 +10,7 @@ let
}; };
in in
{ options.modules.user.gui.wm.hyprland = { enable = mkEnableOption "Enable hyprland module"; }; { options.modules.user.gui.wm.hyprland = { enable = mkEnableOption "Enable Hyprland WM"; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
wayland.windowManager.hyprland = { wayland.windowManager.hyprland = {
enable = true; enable = true;

View file

@ -10,8 +10,15 @@ let
sha256 = "1ph5m9s57076jx6042iipqx2ifzadmd5z4lf5l49wgq4jb92mp16"; sha256 = "1ph5m9s57076jx6042iipqx2ifzadmd5z4lf5l49wgq4jb92mp16";
}; };
barStatus = pkgs.writeShellScript "status.sh" ''
#!/usr/bin/env bash
while :; do
echo "$(ip -4 addr show eno1 | awk '/inet / {print $2}' | cut -d'/' -f1) | $(free -h | awk '/^Mem/ {print $3}') | $(date +'%I:%M:%S %p') | $(date +'%m-%d-%Y')"; sleep 1;
done
'';
in in
{ options.modules.user.gui.wm.sway = { enable = mkEnableOption "user.gui.wm.sway"; }; { options.modules.user.gui.wm.sway = { enable = mkEnableOption "Enable Sway WM"; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
wayland.windowManager.sway = { wayland.windowManager.sway = {
enable = true; enable = true;
@ -30,11 +37,6 @@ in
}; };
output = { output = {
#HDMI-A-1 = {
# resolution = "1920x1080";
# position = "0,0";
# bg = "${wallpaper} fill";
#};
DP-2 = { DP-2 = {
resolution = "3440x1440@59.973Hz"; resolution = "3440x1440@59.973Hz";
position = "0,0"; position = "0,0";
@ -59,7 +61,7 @@ in
bars = [ bars = [
{ {
position = "top"; position = "top";
statusCommand = ''while :; do echo "$(free -h | awk '/^Mem/ {print $3}') '|' $(date +'%I:%M:%S %p') '|' $(date +'%m-%d-%Y')"; sleep 1; done''; statusCommand = "${barStatus}";
fonts = { fonts = {
names = [ "Terminus" ]; names = [ "Terminus" ];
size = 12.0; size = 12.0;

View file

@ -11,6 +11,11 @@ in
wget curl fastfetch wget curl fastfetch
unzip fping calc fd pciutils unzip fping calc fd pciutils
rsync zip lshw wireshark rsync zip lshw wireshark
calcurse
]; ];
programs.bash.shellAliases = {
calendar = "${pkgs.calcurse}/bin/calcurse";
};
}; };
} }