Switch to deploy configuration
This commit is contained in:
parent
0c40f2cd09
commit
994708ec16
2 changed files with 17 additions and 14 deletions
21
flake.nix
21
flake.nix
|
|
@ -45,24 +45,27 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
overlays = [
|
overlays = [
|
||||||
# Packages
|
# Combine stable and unstable packages
|
||||||
# (_: _: { stable = import nixpkgs { inherit config overlays; }; unstable = import nixpkgs-u { inherit config overlays; }; })
|
(_: _: {
|
||||||
|
stable = import nixpkgs { inherit config overlays; };
|
||||||
|
unstable = import nixpkgs-u { inherit config overlays; };
|
||||||
|
})
|
||||||
|
|
||||||
# Nix rice
|
# Nix rice
|
||||||
nix-rice.overlays.default
|
nix-rice.overlays.default
|
||||||
(import ./rice.nix)
|
(import ./rice.nix)
|
||||||
|
|
||||||
# Flakes packages
|
# Flakes packages
|
||||||
(final: _: {
|
(self: _: {
|
||||||
clipedit = final.callPackage ./custom/clipedit { };
|
clipedit = self.callPackage ./custom/clipedit { };
|
||||||
update-background = final.callPackage ./custom/update-background {
|
update-background = self.callPackage ./custom/update-background {
|
||||||
backgrounds_directory = "$HOME/Immagini/Sfondi/1080+/1440+";
|
backgrounds_directory = "$HOME/Immagini/Sfondi/1080+/1440+";
|
||||||
};
|
};
|
||||||
lockscreen = final.callPackage ./custom/lockscreen {
|
lockscreen = self.callPackage ./custom/lockscreen {
|
||||||
palette = final.rice.colorPalette;
|
palette = self.rice.colorPalette;
|
||||||
font = final.rice.font.normal;
|
font = self.rice.font.normal;
|
||||||
};
|
};
|
||||||
sddm-theme-clairvoyance = final.callPackage ./custom/sddm-theme-clairvoyance {
|
sddm-theme-clairvoyance = self.callPackage ./custom/sddm-theme-clairvoyance {
|
||||||
wallpaper = ./wallpapers/comfy_waves.jpg;
|
wallpaper = ./wallpapers/comfy_waves.jpg;
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
|
|
|
||||||
10
rice.nix
10
rice.nix
|
|
@ -1,4 +1,4 @@
|
||||||
final: prev:
|
self: super:
|
||||||
let
|
let
|
||||||
# nord = prev.lib.rice.palette.tPalette prev.lib.rice.color.hexToRgba (import ./themes/nord.nix);
|
# nord = prev.lib.rice.palette.tPalette prev.lib.rice.color.hexToRgba (import ./themes/nord.nix);
|
||||||
# onedark = prev.lib.rice.palette.tPalette prev.lib.rice.color.hexToRgba (import ./themes/onedark.nix);
|
# onedark = prev.lib.rice.palette.tPalette prev.lib.rice.color.hexToRgba (import ./themes/onedark.nix);
|
||||||
|
|
@ -6,12 +6,12 @@ let
|
||||||
# mkpm = with prev.lib.rice; palette.tPalette color.hexToRgba (import ./themes/monokai-pro-machine.nix);
|
# mkpm = with prev.lib.rice; palette.tPalette color.hexToRgba (import ./themes/monokai-pro-machine.nix);
|
||||||
# bloom = with prev.lib.rice;
|
# bloom = with prev.lib.rice;
|
||||||
# palette.tPalette color.hexToRgba (import ./themes/bloom.nix);
|
# palette.tPalette color.hexToRgba (import ./themes/bloom.nix);
|
||||||
ayu-mirage = with prev.lib.rice;
|
ayu-mirage = with super.lib.rice;
|
||||||
palette.tPalette color.hexToRgba (import ./themes/ayu-mirage.nix);
|
palette.tPalette color.hexToRgba (import ./themes/ayu-mirage.nix);
|
||||||
in
|
in
|
||||||
(rec {
|
(rec {
|
||||||
rice = {
|
rice = {
|
||||||
colorPalette = with prev.lib.rice; rec {
|
colorPalette = with super.lib.rice; rec {
|
||||||
normal = palette.defaultPalette // {
|
normal = palette.defaultPalette // {
|
||||||
inherit (ayu-mirage.normal) black red green yellow blue magenta cyan white;
|
inherit (ayu-mirage.normal) black red green yellow blue magenta cyan white;
|
||||||
};
|
};
|
||||||
|
|
@ -29,12 +29,12 @@ in
|
||||||
font = {
|
font = {
|
||||||
normal = {
|
normal = {
|
||||||
name = "Cantarell";
|
name = "Cantarell";
|
||||||
package = final.cantarell-fonts;
|
package = self.cantarell-fonts;
|
||||||
size = 10;
|
size = 10;
|
||||||
};
|
};
|
||||||
monospace = {
|
monospace = {
|
||||||
name = "FiraCode Nerd Font Mono";
|
name = "FiraCode Nerd Font Mono";
|
||||||
package = (final.nerdfonts.override { fonts = [ "FiraCode" ]; });
|
package = (self.nerdfonts.override { fonts = [ "FiraCode" ]; });
|
||||||
size = 10;
|
size = 10;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue