nixos: apply changes for 25.05
This commit is contained in:
parent
81518b6f0c
commit
8550725910
3 changed files with 18 additions and 13 deletions
|
@ -23,7 +23,7 @@
|
|||
})
|
||||
vesktop
|
||||
unstablePkgs.vscode
|
||||
gimp
|
||||
gimp3
|
||||
inkscape
|
||||
jitsi-meet-electron
|
||||
krita
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
config = {
|
||||
services.printing.enable = true;
|
||||
|
||||
hardware.pulseaudio.enable = false;
|
||||
services.pulseaudio.enable = false;
|
||||
security.rtkit.enable = true;
|
||||
services.pipewire = {
|
||||
enable = true;
|
||||
|
@ -103,7 +103,7 @@
|
|||
# Fonts
|
||||
fonts.packages = with pkgs; [
|
||||
corefonts
|
||||
(nerdfonts.override { fonts = [ "Meslo" ]; })
|
||||
nerd-fonts.meslo-lg
|
||||
roboto
|
||||
];
|
||||
|
||||
|
|
|
@ -7,19 +7,24 @@
|
|||
}:
|
||||
|
||||
let
|
||||
cosmic-configuration = pkgs.substituteAllFiles {
|
||||
cosmic-configuration = pkgs.stdenv.mkDerivation {
|
||||
name = "cosmic-configuration";
|
||||
src = ./cosmic-config;
|
||||
files = [ "." ]; # All files
|
||||
postInstall = ''
|
||||
mkdir -p $share/share/cosmic
|
||||
cp -rt $share/share/cosmic $out/*
|
||||
'';
|
||||
outputs = [ "out" "share" ];
|
||||
|
||||
wallpaper = builtins.path { path = "${self}/media/wallpaper.png"; };
|
||||
corner_radii_theme = "2.0";
|
||||
corner_radii_panel = "2";
|
||||
dontConfigure = true;
|
||||
buildPhase = ''
|
||||
for file in $(find . -type f); do
|
||||
substituteInPlace "$file" \
|
||||
--subst-var-by wallpaper "${builtins.path { path = "${self}/media/wallpaper.png"; }}" \
|
||||
--subst-var-by corner_radii_theme "2.0" \
|
||||
--subst-var-by corner_radii_panel "2"
|
||||
done
|
||||
'';
|
||||
installPhase = ''
|
||||
mkdir -p $out $share/share/cosmic
|
||||
cp -r ./* $out/
|
||||
cp -r ./* $share/share/cosmic/
|
||||
'';
|
||||
};
|
||||
in
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue