finally got anyrun working, i had forgotten to import inputs to home.nix 💀
This commit is contained in:
parent
aa857f5373
commit
6764996241
3 changed files with 43 additions and 40 deletions
11
flake.nix
11
flake.nix
|
@ -17,22 +17,23 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { self, nixpkgs, stablepkgs, home-manager, ... } @ inputs:
|
outputs = { self, nixpkgs, stablepkgs, ... } @ inputs:
|
||||||
let
|
let
|
||||||
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
system = "x86_64-linux";
|
||||||
stable = stablepkgs.legacyPacakges.x86_64-linux;
|
pkgs = nixpkgs.legacyPackages.${system};
|
||||||
|
stable = stablepkgs.legacyPacakges.${system};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
nixosConfigurations.gabbielaptop = nixpkgs.lib.nixosSystem {
|
nixosConfigurations.gabbielaptop = nixpkgs.lib.nixosSystem {
|
||||||
specialArgs = { inherit inputs; };
|
specialArgs = { inherit inputs; };
|
||||||
system = "x86_64-linux";
|
inherit system;
|
||||||
modules = [
|
modules = [
|
||||||
# Import configuration modules
|
# Import configuration modules
|
||||||
./hosts/gabbielaptop/configuration.nix
|
./hosts/gabbielaptop/configuration.nix
|
||||||
./modules/nh.nix
|
./modules/nh.nix
|
||||||
./modules/environment.nix
|
./modules/environment.nix
|
||||||
./modules/waydroid.nix
|
./modules/waydroid.nix
|
||||||
home-manager.nixosModules.default
|
inputs.home-manager.nixosModules.default
|
||||||
# inputs.anyrun.homeManagerModules.default
|
# inputs.anyrun.homeManagerModules.default
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, pkgs, lib, ... }:
|
{ config, pkgs, lib, inputs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
# Home Manager needs a bit of information about you and the paths it should
|
# Home Manager needs a bit of information about you and the paths it should
|
||||||
|
@ -6,6 +6,10 @@
|
||||||
home.username = "blue";
|
home.username = "blue";
|
||||||
home.homeDirectory = "/home/blue";
|
home.homeDirectory = "/home/blue";
|
||||||
|
|
||||||
|
imports = [
|
||||||
|
inputs.anyrun.homeManagerModules.default
|
||||||
|
];
|
||||||
|
|
||||||
# This value determines the Home Manager release that your configuration is
|
# This value determines the Home Manager release that your configuration is
|
||||||
# compatible with. This helps avoid breakage when a new Home Manager release
|
# compatible with. This helps avoid breakage when a new Home Manager release
|
||||||
# introduces backwards incompatible changes.
|
# introduces backwards incompatible changes.
|
||||||
|
@ -247,40 +251,40 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# programs.anyrun = {
|
programs.anyrun = {
|
||||||
# enable = true;
|
enable = true;
|
||||||
# config = {
|
config = {
|
||||||
# plugins = [
|
plugins = [
|
||||||
# An array of all the plugins you want, which either can be paths to the .so files, or their packages
|
# An array of all the plugins you want, which either can be paths to the .so files, or their packages
|
||||||
# inputs.anyrun.packages.${pkgs.system}.applications
|
inputs.anyrun.packages.${pkgs.system}.applications
|
||||||
# ./some_plugin.so
|
# ./some_plugin.so
|
||||||
# "${inputs.anyrun.packages.${pkgs.system}.anyrun-with-all-plugins}/lib/kidex"
|
# "${inputs.anyrun.packages.${pkgs.system}.anyrun-with-all-plugins}/lib/kidex"
|
||||||
# ];
|
];
|
||||||
# x = { fraction = 0.5; };
|
x = { fraction = 0.5; };
|
||||||
# y = { fraction = 0.3; };
|
y = { fraction = 0.3; };
|
||||||
# width = { fraction = 0.3; };
|
width = { fraction = 0.3; };
|
||||||
# hideIcons = false;
|
hideIcons = false;
|
||||||
# ignoreExclusiveZones = false;
|
ignoreExclusiveZones = false;
|
||||||
# layer = "overlay";
|
layer = "overlay";
|
||||||
# hidePluginInfo = false;
|
hidePluginInfo = false;
|
||||||
# closeOnClick = false;
|
closeOnClick = false;
|
||||||
# showResultsImmediately = false;
|
showResultsImmediately = false;
|
||||||
# maxEntries = null;
|
maxEntries = null;
|
||||||
# };
|
};
|
||||||
# extraCss = ''
|
extraCss = ''
|
||||||
# .some_class {
|
.some_class {
|
||||||
# background: red;
|
background: red;
|
||||||
# }
|
}
|
||||||
# '';
|
'';
|
||||||
|
|
||||||
# extraConfigFiles."some-plugin.ron".text = ''
|
extraConfigFiles."some-plugin.ron".text = ''
|
||||||
# Config(
|
Config(
|
||||||
# // for any other plugin
|
// for any other plugin
|
||||||
# // this file will be put in ~/.config/anyrun/some-plugin.ron
|
// this file will be put in ~/.config/anyrun/some-plugin.ron
|
||||||
# // refer to docs of xdg.configFile for available options
|
// refer to docs of xdg.configFile for available options
|
||||||
# )
|
)
|
||||||
# '';
|
'';
|
||||||
# };
|
};
|
||||||
|
|
||||||
services.blueman-applet.enable = true;
|
services.blueman-applet.enable = true;
|
||||||
programs.htop.enable = true;
|
programs.htop.enable = true;
|
||||||
|
|
|
@ -101,7 +101,7 @@
|
||||||
users.users.blue = {
|
users.users.blue = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
description = "Gabriella Bere";
|
description = "Gabriella Bere";
|
||||||
extraGroups = [ "networkmanager" "wheel" "syncthing" ];
|
extraGroups = [ "networkmanager" "wheel" ];
|
||||||
shell = pkgs.zsh;
|
shell = pkgs.zsh;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -125,9 +125,6 @@
|
||||||
# Allow unfree packages
|
# Allow unfree packages
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
# Enable syncthing for obsidian syncing
|
|
||||||
services.syncthing.enable = true;
|
|
||||||
|
|
||||||
# List packages installed in system profile. To search, run:
|
# List packages installed in system profile. To search, run:
|
||||||
# $ nix search wget
|
# $ nix search wget
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
@ -165,6 +162,7 @@
|
||||||
tree
|
tree
|
||||||
tenacity
|
tenacity
|
||||||
mediawriter
|
mediawriter
|
||||||
|
anyrun
|
||||||
];
|
];
|
||||||
|
|
||||||
hardware.keyboard.qmk.enable = true;
|
hardware.keyboard.qmk.enable = true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue