replace rofi with rofi-wayland

This commit is contained in:
DACHXY 2024-12-26 12:46:23 +08:00
parent b999f6cf80
commit 8b9c10866b
6 changed files with 73 additions and 33 deletions

View file

@ -6,20 +6,27 @@
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixpkgs-unstable";
home-manager.url = "github:nix-community/home-manager/release-24.11";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
nix-index-database.url = "github:nix-community/nix-index-database";
nix-index-database.inputs.nixpkgs.follows = "nixpkgs";
};
outputs = { self, nixpkgs-unstable, nixpkgs, ... }@inputs:
outputs =
{ self, nixpkgs-unstable, nixpkgs, nix-index-database, ... }@inputs:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
pkgsUnstable = nixpkgs-unstable.legacyPackages.${system};
nixvim.url = "github:azuwis/lazyvim-nixvim";
in {
in
{
formatter.x86_64-linux =
nixpkgs.legacyPackages.x86_64-linux.nixfmt-rfc-style;
nixosConfigurations.dn-pre7780 = nixpkgs.lib.nixosSystem {
modules = [ ./system/dev/dn-pre7780 ];
modules = [
nix-index-database.nixosModules.nix-index
./system/dev/dn-pre7780
];
specialArgs = {
inherit inputs;
inherit pkgsUnstable;
@ -27,7 +34,10 @@
};
nixosConfigurations.dn-lap = nixpkgs.lib.nixosSystem {
modules = [ ./system/dev/dn-lap ];
modules = [
nix-index-database.nixosModules.nix-index
./system/dev/dn-lap
];
specialArgs = {
inherit inputs;
inherit pkgsUnstable;