replace rofi with rofi-wayland
This commit is contained in:
parent
71becb872e
commit
aad529ecbc
6 changed files with 80 additions and 50 deletions
21
flake.lock
generated
21
flake.lock
generated
|
|
@ -21,6 +21,26 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nix-index-database": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1734838217,
|
||||
"narHash": "sha256-zvMLS8BGn+kMG7tLLT3PJ67/S9yqZ9B7V8hKBa9cRRY=",
|
||||
"owner": "nix-community",
|
||||
"repo": "nix-index-database",
|
||||
"rev": "d583b2d142f0428313df099f4a2dcf2a0496aa78",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-community",
|
||||
"repo": "nix-index-database",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1733808091,
|
||||
|
|
@ -56,6 +76,7 @@
|
|||
"root": {
|
||||
"inputs": {
|
||||
"home-manager": "home-manager",
|
||||
"nix-index-database": "nix-index-database",
|
||||
"nixpkgs": "nixpkgs",
|
||||
"nixpkgs-unstable": "nixpkgs-unstable"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,20 +6,24 @@
|
|||
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:
|
||||
{ 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-nix = nixpkgs.lib.nixosSystem {
|
||||
modules =
|
||||
[
|
||||
nix-index-database.nixosModules.nix-index
|
||||
./system/configuration.nix
|
||||
];
|
||||
specialArgs = { inherit inputs; inherit pkgsUnstable; };
|
||||
|
|
|
|||
|
|
@ -9,6 +9,11 @@ let
|
|||
export __VK_LAYER_NV_optimus=NVIDIA_only
|
||||
exec "$@"
|
||||
'';
|
||||
in {
|
||||
in
|
||||
{
|
||||
environment.systemPackages = [ offload ];
|
||||
environment.variables = {
|
||||
NIXOS_OZONE_WL = "1";
|
||||
ELECTRON_OZONE_PLATFORM_HINT = "auto";
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,8 +21,7 @@
|
|||
swaylock-effects
|
||||
wlogout
|
||||
wl-clipboard
|
||||
wofi
|
||||
rofi
|
||||
rofi-wayland-unwrapped
|
||||
waybar
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -85,12 +85,13 @@
|
|||
zsh.enable = true;
|
||||
mtr.enable = true;
|
||||
fish.enable = true;
|
||||
nix-index = {
|
||||
enable = true;
|
||||
enableFishIntegration = true;
|
||||
enableBashIntegration = false;
|
||||
enableZshIntegration = false;
|
||||
};
|
||||
|
||||
# nix-index = {
|
||||
# enable = true;
|
||||
# enableFishIntegration = true;
|
||||
# enableBashIntegration = false;
|
||||
# enableZshIntegration = false;
|
||||
# };
|
||||
|
||||
# Set fish as default shell but not login shell
|
||||
bash = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue