shorter flake

This commit is contained in:
joy 2024-08-04 00:37:19 +02:00
parent 6453de914e
commit eab7cd31f8
4 changed files with 25 additions and 23 deletions

View file

@ -6,7 +6,6 @@
ags.url = "github:Aylur/ags"; ags.url = "github:Aylur/ags";
stylix.url = "github:danth/stylix"; stylix.url = "github:danth/stylix";
firefox-addons = { firefox-addons = {
url = "gitlab:rycee/nur-expressions?dir=pkgs/firefox-addons"; url = "gitlab:rycee/nur-expressions?dir=pkgs/firefox-addons";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
@ -18,21 +17,19 @@
}; };
}; };
outputs = { nixpkgs, home-manager, ... }@inputs: { outputs = { nixpkgs, home-manager, stylix, ... }@inputs: let
nixosConfigurations.desktop = nixpkgs.lib.nixosSystem { systemConfig = { modules }: nixpkgs.lib.nixosSystem {
specialArgs = {inherit inputs;}; specialArgs = { inherit inputs; };
modules = [ modules = modules ++ [ stylix.nixosModules.stylix ];
./hosts/desktop
inputs.stylix.nixosModules.stylix
];
}; };
in {
nixosConfigurations.laptop = nixpkgs.lib.nixosSystem { nixosConfigurations = {
specialArgs = {inherit inputs;}; desktop = systemConfig {
modules = [ modules = [ ./hosts/desktop ];
./hosts/laptop };
inputs.stylix.nixosModules.stylix laptop = systemConfig {
]; modules = [ ./hosts/laptop ];
};
}; };
}; };
} }

View file

@ -51,6 +51,10 @@
"float,title:^(Bluetooth)(.*)$" "float,title:^(Bluetooth)(.*)$"
]; ];
gestures = {
workspace_swipe = true;
};
bind = [ bind = [
# launch Apps # launch Apps

View file

@ -6,7 +6,7 @@ vm_state=$(virsh --connect qemu:///system domstate "$VM_NAME")
if [ "$vm_state" != "running" ]; then if [ "$vm_state" != "running" ]; then
virsh --connect qemu:///system start "$VM_NAME" virsh --connect qemu:///system start "$VM_NAME"
sleep 5 sleep 10
fi fi
# Get the IP address of the VM # Get the IP address of the VM

View file

@ -6,12 +6,13 @@
package = pkgs.rofi-wayland; package = pkgs.rofi-wayland;
theme = lib.mkForce "~/nix/home/rofi/gruvbox-material.rasi"; theme = lib.mkForce "~/nix/home/rofi/gruvbox-material.rasi";
extraConfig = { extraConfig = {
display-ssh= ""; display-ssh = "";
display-run= ""; display-run = "";
display-drun= ""; display-drun = "";
display-window= ""; display-window = "";
display-combi= ""; display-combi = "";
show-icons= true; show-icons = true;
terminal = "alacritty";
}; };
}; };
} }