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";
stylix.url = "github:danth/stylix";
firefox-addons = {
url = "gitlab:rycee/nur-expressions?dir=pkgs/firefox-addons";
inputs.nixpkgs.follows = "nixpkgs";
};
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { nixpkgs, home-manager, ... }@inputs: {
nixosConfigurations.desktop = nixpkgs.lib.nixosSystem {
specialArgs = {inherit inputs;};
modules = [
./hosts/desktop
inputs.stylix.nixosModules.stylix
];
outputs = { nixpkgs, home-manager, stylix, ... }@inputs: let
systemConfig = { modules }: nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs; };
modules = modules ++ [ stylix.nixosModules.stylix ];
};
nixosConfigurations.laptop = nixpkgs.lib.nixosSystem {
specialArgs = {inherit inputs;};
modules = [
./hosts/laptop
inputs.stylix.nixosModules.stylix
];
in {
nixosConfigurations = {
desktop = systemConfig {
modules = [ ./hosts/desktop ];
};
laptop = systemConfig {
modules = [ ./hosts/laptop ];
};
};
};
}

View file

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

View file

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

View file

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