mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 08:53:56 -05:00
automatically add inputs as nix.registry entries
actually delete armcord
This commit is contained in:
parent
281727ebe0
commit
fea6f8b961
2 changed files with 17 additions and 21 deletions
37
flake.nix
37
flake.nix
|
|
@ -1,19 +1,9 @@
|
||||||
{
|
{
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
|
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
|
||||||
home-manager = {
|
home-manager.url = "github:nix-community/home-manager";
|
||||||
url = "github:nix-community/home-manager";
|
spicetify-nix.url = "github:the-argus/spicetify-nix";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
suckless.url = "github:ISnortPennies/suckless";
|
||||||
};
|
|
||||||
|
|
||||||
spicetify-nix = {
|
|
||||||
url = "github:the-argus/spicetify-nix";
|
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
|
||||||
};
|
|
||||||
suckless = {
|
|
||||||
url = "github:ISnortPennies/suckless";
|
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = {
|
outputs = {
|
||||||
|
|
@ -44,9 +34,6 @@
|
||||||
withOpenASAR = true;
|
withOpenASAR = true;
|
||||||
nss = prev.nss_latest;
|
nss = prev.nss_latest;
|
||||||
};
|
};
|
||||||
armcord = prev.armcord.override {
|
|
||||||
nss = prev.nss_latest;
|
|
||||||
};
|
|
||||||
})
|
})
|
||||||
suckless.overlays.all
|
suckless.overlays.all
|
||||||
];
|
];
|
||||||
|
|
@ -72,10 +59,20 @@
|
||||||
"nixpkgs=/etc/nix/inputs/nixpkgs"
|
"nixpkgs=/etc/nix/inputs/nixpkgs"
|
||||||
"home-manager=/etc/nix/inputs/home-manager"
|
"home-manager=/etc/nix/inputs/home-manager"
|
||||||
];
|
];
|
||||||
registry = {
|
#automatically get registry from input flakes
|
||||||
nixpkgs.flake = nixpkgs;
|
registry =
|
||||||
suckless.flake = suckless;
|
lib.attrsets.mapAttrs (
|
||||||
};
|
_: source: {
|
||||||
|
flake = source;
|
||||||
|
}
|
||||||
|
) (
|
||||||
|
lib.attrsets.filterAttrs (
|
||||||
|
_: source: (
|
||||||
|
!(lib.attrsets.hasAttrByPath ["flake"] source) || source.flake == false
|
||||||
|
)
|
||||||
|
)
|
||||||
|
inputs
|
||||||
|
);
|
||||||
settings = {
|
settings = {
|
||||||
experimental-features = ["nix-command" "flakes"];
|
experimental-features = ["nix-command" "flakes"];
|
||||||
auto-optimise-store = true;
|
auto-optimise-store = true;
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,6 @@
|
||||||
bitwarden #store stuff
|
bitwarden #store stuff
|
||||||
qbittorrent #steal stuff
|
qbittorrent #steal stuff
|
||||||
discord # talk to people (gross)
|
discord # talk to people (gross)
|
||||||
# armcord
|
|
||||||
feh #for wallpaper
|
feh #for wallpaper
|
||||||
xfce.mousepad
|
xfce.mousepad
|
||||||
brightnessctl #brightness control for laptop
|
brightnessctl #brightness control for laptop
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue