mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-23 16:29:42 -04:00
fixed
This commit is contained in:
parent
b3605d741c
commit
3dc1465284
4 changed files with 19 additions and 12 deletions
|
|
@ -8,17 +8,17 @@
|
|||
connections."qemu:///system" = {
|
||||
domains = [
|
||||
{
|
||||
definition = ./config/machines/Test_Bench1.xml;
|
||||
definition = ./machines/Test_Bench1.xml;
|
||||
}
|
||||
];
|
||||
|
||||
pools = [
|
||||
{
|
||||
definition = ./config/storage/pools/default.xml;
|
||||
definition = ./storage/pools/default.xml;
|
||||
active = true;
|
||||
volumes = [
|
||||
{
|
||||
definition = ./config/storage/volumes/rocky9.xml;
|
||||
definition = ./storage/volumes/rocky9.xml;
|
||||
}
|
||||
];
|
||||
}
|
||||
|
|
@ -26,7 +26,7 @@
|
|||
|
||||
networks = [
|
||||
{
|
||||
definition = ./config/networks/virbr0.xml;
|
||||
definition = ./networks/virbr0.xml;
|
||||
active = true;
|
||||
}
|
||||
];
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ let
|
|||
};
|
||||
|
||||
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 {
|
||||
wayland.windowManager.hyprland = {
|
||||
enable = true;
|
||||
|
|
|
|||
|
|
@ -10,8 +10,15 @@ let
|
|||
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
|
||||
{ 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 {
|
||||
wayland.windowManager.sway = {
|
||||
enable = true;
|
||||
|
|
@ -30,11 +37,6 @@ in
|
|||
};
|
||||
|
||||
output = {
|
||||
#HDMI-A-1 = {
|
||||
# resolution = "1920x1080";
|
||||
# position = "0,0";
|
||||
# bg = "${wallpaper} fill";
|
||||
#};
|
||||
DP-2 = {
|
||||
resolution = "3440x1440@59.973Hz";
|
||||
position = "0,0";
|
||||
|
|
@ -59,7 +61,7 @@ in
|
|||
bars = [
|
||||
{
|
||||
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 = {
|
||||
names = [ "Terminus" ];
|
||||
size = 12.0;
|
||||
|
|
|
|||
|
|
@ -11,6 +11,11 @@ in
|
|||
wget curl fastfetch
|
||||
unzip fping calc fd pciutils
|
||||
rsync zip lshw wireshark
|
||||
calcurse
|
||||
];
|
||||
|
||||
programs.bash.shellAliases = {
|
||||
calendar = "${pkgs.calcurse}/bin/calcurse";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue