shorter flake

This commit is contained in:
joygnu 2024-08-04 00:37:19 +02:00
parent 9a3c652756
commit 27bbdb9f48
4 changed files with 25 additions and 23 deletions

View file

@ -6,33 +6,30 @@
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";
}; };
home-manager = { home-manager = {
url = "github:nix-community/home-manager"; url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
}; };
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

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

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";
}; };
}; };
} }