Compare commits

..

No commits in common. "f4c4444a256c8cea7451cda3051aa594029c4152" and "3ab6605d48f83bc82de26696c1900d2b0d5460d3" have entirely different histories.

3 changed files with 12 additions and 121 deletions

View file

@ -12,6 +12,7 @@
wl-clipboard wl-clipboard
swayosd swayosd
prismlauncher prismlauncher
anyrun
noto-fonts noto-fonts
libreoffice libreoffice
mosh mosh
@ -369,51 +370,4 @@
}; };
}; };
}; };
programs.anyrun = {
enable = true;
package = pkgs.anyrun;
config = {
plugins = [ "libapplications.so" ];
x.fraction = 0.5;
y.absolute = 0;
width.absolute = 800;
height.absolute = 0;
hideIcons = false;
ignoreExclusiveZones = false;
layer = "overlay";
hidePluginInfo = false;
closeOnClick = false;
showResultsImmediately = false;
maxEntries = null;
};
extraCss = ''
#window {
background-color: rgba(0, 0, 0, 0);
}
box#main {
border-radius: 10px;
background-color: @theme_bg_color;
margin-top: 20px;
}
list#main {
background-color: rgba(0, 0, 0, 0);
border-radius: 10px;
}
list#plugin {
background-color: rgba(0, 0, 0, 0);
}
label#match-desc {
font-size: 10px;
}
label#plugin {
font-size: 14px;
}
'';
};
} }

View file

@ -1,48 +1,5 @@
{ {
"nodes": { "nodes": {
"anyrun": {
"inputs": {
"flake-parts": "flake-parts",
"nixpkgs": [
"nixpkgs"
],
"systems": "systems"
},
"locked": {
"lastModified": 1721135360,
"narHash": "sha256-ZhSA0e45UxiOAjEVqkym/aULh0Dt+KHJLNda7bjx9UI=",
"owner": "anyrun-org",
"repo": "anyrun",
"rev": "c6101a31a80b51e32e96f6a77616b609770172e0",
"type": "github"
},
"original": {
"owner": "anyrun-org",
"repo": "anyrun",
"type": "github"
}
},
"flake-parts": {
"inputs": {
"nixpkgs-lib": [
"anyrun",
"nixpkgs"
]
},
"locked": {
"lastModified": 1717285511,
"narHash": "sha256-iKzJcpdXih14qYVcZ9QC9XuZYnPc6T8YImb6dX166kw=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "2a55567fcf15b1b1c7ed712a2c6fadaec7412ea8",
"type": "github"
},
"original": {
"owner": "hercules-ci",
"repo": "flake-parts",
"type": "github"
}
},
"flatpaks": { "flatpaks": {
"locked": { "locked": {
"lastModified": 1721549352, "lastModified": 1721549352,
@ -98,26 +55,10 @@
}, },
"root": { "root": {
"inputs": { "inputs": {
"anyrun": "anyrun",
"flatpaks": "flatpaks", "flatpaks": "flatpaks",
"home-manager": "home-manager", "home-manager": "home-manager",
"nixpkgs": "nixpkgs" "nixpkgs": "nixpkgs"
} }
},
"systems": {
"locked": {
"lastModified": 1689347949,
"narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=",
"owner": "nix-systems",
"repo": "default-linux",
"rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default-linux",
"type": "github"
}
} }
}, },
"root": "root", "root": "root",

View file

@ -1,14 +1,14 @@
{ {
inputs = { inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
home-manager.url = "github:nix-community/home-manager/master"; home-manager = {
home-manager.inputs.nixpkgs.follows = "nixpkgs"; url = "github:nix-community/home-manager/master";
inputs.nixpkgs.follows = "nixpkgs";
};
flatpaks.url = "github:gmodena/nix-flatpak/main"; flatpaks.url = "github:gmodena/nix-flatpak/main";
anyrun.url = "github:anyrun-org/anyrun";
anyrun.inputs.nixpkgs.follows = "nixpkgs";
}; };
outputs = { self, nixpkgs, home-manager, flatpaks, anyrun, ... }@inputs: { outputs = { self, nixpkgs, home-manager, flatpaks, ... }@inputs: {
nixosConfigurations.ahrc-pc = nixpkgs.lib.nixosSystem { nixosConfigurations.ahrc-pc = nixpkgs.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
modules = [ modules = [
@ -17,11 +17,9 @@
{ {
home-manager.useGlobalPkgs = true; home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true; home-manager.useUserPackages = true;
home-manager.users.ahurac.imports = [ home-manager.extraSpecialArgs.flake-inputs = inputs;
flatpaks.homeManagerModules.nix-flatpak home-manager.users.ahurac.imports =
anyrun.homeManagerModules.default [ flatpaks.homeManagerModules.nix-flatpak ./ahrc-pc/home.nix ];
./ahrc-pc/home.nix
];
} }
]; ];
}; };
@ -34,11 +32,9 @@
{ {
home-manager.useGlobalPkgs = true; home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true; home-manager.useUserPackages = true;
home-manager.users.ahurac.imports = [ home-manager.extraSpecialArgs.flake-inputs = inputs;
flatpaks.homeManagerModules.nix-flatpak home-manager.users.ahurac.imports =
anyrun.homeManagerModules.default [ flatpaks.homeManagerModules.nix-flatpak ./ahrc-laptop/home.nix ];
./ahrc-laptop/home.nix
];
} }
]; ];
}; };