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"
|
"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": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1733808091,
|
"lastModified": 1733808091,
|
||||||
|
|
@ -56,6 +76,7 @@
|
||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"home-manager": "home-manager",
|
"home-manager": "home-manager",
|
||||||
|
"nix-index-database": "nix-index-database",
|
||||||
"nixpkgs": "nixpkgs",
|
"nixpkgs": "nixpkgs",
|
||||||
"nixpkgs-unstable": "nixpkgs-unstable"
|
"nixpkgs-unstable": "nixpkgs-unstable"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -6,20 +6,24 @@
|
||||||
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixpkgs-unstable";
|
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixpkgs-unstable";
|
||||||
home-manager.url = "github:nix-community/home-manager/release-24.11";
|
home-manager.url = "github:nix-community/home-manager/release-24.11";
|
||||||
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
nix-index-database.url = "github:nix-community/nix-index-database";
|
||||||
|
nix-index-database.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs =
|
outputs =
|
||||||
{ self, nixpkgs-unstable, nixpkgs, ... }@inputs:
|
{ self, nixpkgs-unstable, nixpkgs, nix-index-database, ... }@inputs:
|
||||||
let
|
let
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
pkgs = nixpkgs.legacyPackages.${system};
|
pkgs = nixpkgs.legacyPackages.${system};
|
||||||
pkgsUnstable = nixpkgs-unstable.legacyPackages.${system};
|
pkgsUnstable = nixpkgs-unstable.legacyPackages.${system};
|
||||||
nixvim.url = "github:azuwis/lazyvim-nixvim";
|
nixvim.url = "github:azuwis/lazyvim-nixvim";
|
||||||
in {
|
in
|
||||||
|
{
|
||||||
formatter.x86_64-linux = nixpkgs.legacyPackages.x86_64-linux.nixfmt-rfc-style;
|
formatter.x86_64-linux = nixpkgs.legacyPackages.x86_64-linux.nixfmt-rfc-style;
|
||||||
nixosConfigurations.dn-nix = nixpkgs.lib.nixosSystem {
|
nixosConfigurations.dn-nix = nixpkgs.lib.nixosSystem {
|
||||||
modules =
|
modules =
|
||||||
[
|
[
|
||||||
|
nix-index-database.nixosModules.nix-index
|
||||||
./system/configuration.nix
|
./system/configuration.nix
|
||||||
];
|
];
|
||||||
specialArgs = { inherit inputs; inherit pkgsUnstable; };
|
specialArgs = { inherit inputs; inherit pkgsUnstable; };
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,11 @@ let
|
||||||
export __VK_LAYER_NV_optimus=NVIDIA_only
|
export __VK_LAYER_NV_optimus=NVIDIA_only
|
||||||
exec "$@"
|
exec "$@"
|
||||||
'';
|
'';
|
||||||
in {
|
in
|
||||||
|
{
|
||||||
environment.systemPackages = [ offload ];
|
environment.systemPackages = [ offload ];
|
||||||
|
environment.variables = {
|
||||||
|
NIXOS_OZONE_WL = "1";
|
||||||
|
ELECTRON_OZONE_PLATFORM_HINT = "auto";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -21,8 +21,7 @@
|
||||||
swaylock-effects
|
swaylock-effects
|
||||||
wlogout
|
wlogout
|
||||||
wl-clipboard
|
wl-clipboard
|
||||||
wofi
|
rofi-wayland-unwrapped
|
||||||
rofi
|
|
||||||
waybar
|
waybar
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -85,12 +85,13 @@
|
||||||
zsh.enable = true;
|
zsh.enable = true;
|
||||||
mtr.enable = true;
|
mtr.enable = true;
|
||||||
fish.enable = true;
|
fish.enable = true;
|
||||||
nix-index = {
|
|
||||||
enable = true;
|
# nix-index = {
|
||||||
enableFishIntegration = true;
|
# enable = true;
|
||||||
enableBashIntegration = false;
|
# enableFishIntegration = true;
|
||||||
enableZshIntegration = false;
|
# enableBashIntegration = false;
|
||||||
};
|
# enableZshIntegration = false;
|
||||||
|
# };
|
||||||
|
|
||||||
# Set fish as default shell but not login shell
|
# Set fish as default shell but not login shell
|
||||||
bash = {
|
bash = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue