WIP: rice

This commit is contained in:
Filippo Berto 2024-10-21 12:27:32 +02:00
parent f842c92339
commit 1096479c4a
No known key found for this signature in database
GPG key ID: FE98AE5EC52B1056
14 changed files with 81 additions and 32 deletions

View file

@ -52,6 +52,11 @@
_module.args.pkgs = import inputs.nixpkgs {
inherit system;
config.allowUnfree = true;
overlays = [
inputs.nix-rice.overlays.default
# inputs.self.overlays.rice.default
# inputs.self.overlays.packages
];
};
pre-commit.settings.hooks = {
@ -67,9 +72,61 @@
};
formatter = pkgs.nixpkgs-fmt;
packages = {
inherit
(pkgs)
clipedit
keyboard-switch
# lockscreen
# ssdm-sugar-dark
# ssdm-theme-clairvoyance
# update-background
# wl-clipedit
# wl-lockscreen
# wl-update-background
;
};
};
flake = { };
flake = {
overlays = {
default = inputs.self.overlays.packages;
rice = import ./rice.nix;
packages = self: _super: {
clipedit = self.callPackage ./pkgs/clipedit { };
keyboard-switch = self.callPackage ./pkgs/keyboard-switch { };
lockscreen = self.callPackage ./pkgs/lockscreen { };
ssdm-sugar-dark = self.callPackage ./pkgs/ssdm-sugar-dark { };
ssdm-theme-clairvoyance = self.callPackage ./pkgs/ssdm-theme-clairvoyance { };
update-background = self.callPackage ./pkgs/update-background { };
wl-clipedit = self.callPackage ./pkgs/wl-clipedit { };
wl-lockscreen = self.callPackage ./pkgs/wl-lockscreen { };
wl-update-background = self.callPackage ./pkgs/wl-update-background { };
};
overrides = self: super: {
google-chrome = super.google-chrome.override { commandLineArgs = [ "--password-store=gnome" "--force-dark-mode" ]; };
sddm-theme-clairvoyance = self.callPackage ./custom/sddm-theme-clairvoyance { wallpaper = ./wallpapers/background.jpg; };
way-lockscreen = self.callPackage ./custom/way-lockscreen { palette = self.rice.colorPalette; font = self.rice.font.normal; };
};
# two-channels = (self: _: {
# stable_pkgs = import inputs.nixpkgs {
# inherit config overlays;
# inherit (self) system;
# };
# unstable_pkgs = import inputs.nixpkgs-u {
# inherit config overlays;
# inherit (self) system;
# };
# });
};
};
};
}