Changed Configurations to use the assets repo instead of paths in main repo
This commit is contained in:
21
flake.lock
generated
21
flake.lock
generated
@ -91,6 +91,26 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"cookiez-assets": {
|
||||||
|
"flake": false,
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1776155298,
|
||||||
|
"lfs": true,
|
||||||
|
"narHash": "sha256-cOiaPp5vRLc6LglqgMoXXBHLCqixVM5YuJsI1Zj+kv4=",
|
||||||
|
"ref": "main",
|
||||||
|
"rev": "10e02d22a16707548897047323fe78ccf5d58dc1",
|
||||||
|
"shallow": true,
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://gitea.cookiee.org/cookiez/Nix-Assets.git"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"lfs": true,
|
||||||
|
"ref": "main",
|
||||||
|
"shallow": true,
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://gitea.cookiee.org/cookiez/Nix-Assets.git"
|
||||||
|
}
|
||||||
|
},
|
||||||
"fenix": {
|
"fenix": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
@ -527,6 +547,7 @@
|
|||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"alejandra": "alejandra",
|
"alejandra": "alejandra",
|
||||||
|
"cookiez-assets": "cookiez-assets",
|
||||||
"grub2-themes": "grub2-themes",
|
"grub2-themes": "grub2-themes",
|
||||||
"home-manager": "home-manager",
|
"home-manager": "home-manager",
|
||||||
"niri": "niri",
|
"niri": "niri",
|
||||||
|
|||||||
@ -44,6 +44,11 @@
|
|||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
cookiez-assets = {
|
||||||
|
url = "git+https://gitea.cookiee.org/cookiez/Nix-Assets.git?ref=main&lfs=1&shallow=1";
|
||||||
|
flake = false;
|
||||||
|
};
|
||||||
|
|
||||||
nix-flatpak.url = "github:gmodena/nix-flatpak";
|
nix-flatpak.url = "github:gmodena/nix-flatpak";
|
||||||
|
|
||||||
grub2-themes.url = "github:vinceliuice/grub2-themes";
|
grub2-themes.url = "github:vinceliuice/grub2-themes";
|
||||||
@ -53,6 +58,7 @@
|
|||||||
nixpkgs,
|
nixpkgs,
|
||||||
alejandra,
|
alejandra,
|
||||||
pam-fprint-grosshack,
|
pam-fprint-grosshack,
|
||||||
|
cookiez-assets,
|
||||||
home-manager,
|
home-manager,
|
||||||
plasma-manager,
|
plasma-manager,
|
||||||
nixos-hardware,
|
nixos-hardware,
|
||||||
@ -83,6 +89,7 @@
|
|||||||
inherit system;
|
inherit system;
|
||||||
inherit project;
|
inherit project;
|
||||||
inherit alejandra;
|
inherit alejandra;
|
||||||
|
inherit cookiez-assets;
|
||||||
pam-fprint-grosshack-pkg = pam-fprint-grosshack.packages.${system}.default;
|
pam-fprint-grosshack-pkg = pam-fprint-grosshack.packages.${system}.default;
|
||||||
host = hostname;
|
host = hostname;
|
||||||
};
|
};
|
||||||
|
|||||||
@ -14,6 +14,7 @@
|
|||||||
version,
|
version,
|
||||||
system,
|
system,
|
||||||
pam-fprint-grosshack-pkg,
|
pam-fprint-grosshack-pkg,
|
||||||
|
cookiez-assets,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
#Assign Swap to the PC
|
#Assign Swap to the PC
|
||||||
@ -99,7 +100,7 @@
|
|||||||
useUserPackages = true;
|
useUserPackages = true;
|
||||||
users.${username} = ./home.nix;
|
users.${username} = ./home.nix;
|
||||||
backupFileExtension = "backup"; # Automatically backs up conflicting files during activation
|
backupFileExtension = "backup"; # Automatically backs up conflicting files during activation
|
||||||
extraSpecialArgs = {inherit inputs username project version system host;};
|
extraSpecialArgs = {inherit inputs username project version system host cookiez-assets;};
|
||||||
sharedModules = [inputs.plasma-manager.homeModules.plasma-manager];
|
sharedModules = [inputs.plasma-manager.homeModules.plasma-manager];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -2,6 +2,7 @@
|
|||||||
pkgs,
|
pkgs,
|
||||||
username,
|
username,
|
||||||
project,
|
project,
|
||||||
|
cookiez-assets,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
xdg = {
|
xdg = {
|
||||||
@ -23,7 +24,7 @@
|
|||||||
categories = ["Network" "InstantMessaging" "Chat"];
|
categories = ["Network" "InstantMessaging" "Chat"];
|
||||||
exec = "vesktop %U";
|
exec = "vesktop %U";
|
||||||
genericName = "Internet Messenger";
|
genericName = "Internet Messenger";
|
||||||
icon = "/home/${username}/${project}/other/discord.app.png";
|
icon = "${cookiez-assets}/apps/discord.png";
|
||||||
name = "Discord";
|
name = "Discord";
|
||||||
type = "Application";
|
type = "Application";
|
||||||
};
|
};
|
||||||
@ -45,7 +46,7 @@
|
|||||||
terminal = false;
|
terminal = false;
|
||||||
categories = ["System" "TerminalEmulator"];
|
categories = ["System" "TerminalEmulator"];
|
||||||
|
|
||||||
icon = "/home/${username}/${project}/other/kitty.app.png";
|
icon = "${cookiez-assets}/apps/kitty.png";
|
||||||
};
|
};
|
||||||
|
|
||||||
desktopEntries."org.kde.kinfocenter" = {
|
desktopEntries."org.kde.kinfocenter" = {
|
||||||
|
|||||||
@ -7,6 +7,7 @@
|
|||||||
project,
|
project,
|
||||||
host,
|
host,
|
||||||
version,
|
version,
|
||||||
|
cookiez-assets,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
# Home Manager needs a bit of information about you and the
|
# Home Manager needs a bit of information about you and the
|
||||||
|
|||||||
@ -3,6 +3,7 @@
|
|||||||
inputs,
|
inputs,
|
||||||
username,
|
username,
|
||||||
project,
|
project,
|
||||||
|
cookiez-assets,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
imports = [
|
imports = [
|
||||||
@ -17,14 +18,14 @@
|
|||||||
#"/home/${username}/${project}/other/wallpaper1.png"
|
#"/home/${username}/${project}/other/wallpaper1.png"
|
||||||
#"/home/${username}/${project}/other/wallpaper2.png"
|
#"/home/${username}/${project}/other/wallpaper2.png"
|
||||||
#"/home/${username}/${project}/other/wallpaper3.png"
|
#"/home/${username}/${project}/other/wallpaper3.png"
|
||||||
"/home/${username}/${project}/other/wallpaper4.png"
|
"${cookiez-assets}/wallpapers/pixel-desert.png"
|
||||||
];
|
];
|
||||||
|
|
||||||
wallpaper = [
|
wallpaper = [
|
||||||
#"eDP-1,/home/${username}/${project}/other/wallpaper1.png"
|
#"eDP-1,/home/${username}/${project}/other/wallpaper1.png"
|
||||||
#"eDP-1,/home/${username}/${project}/other/wallpaper2.png"
|
#"eDP-1,/home/${username}/${project}/other/wallpaper2.png"
|
||||||
#"eDP-1,/home/${username}/${project}/other/wallpaper3.png"
|
#"eDP-1,/home/${username}/${project}/other/wallpaper3.png"
|
||||||
"eDP-1,/home/${username}/${project}/other/wallpaper4.png"
|
"eDP-1,${cookiez-assets}/wallpapers/pixel-desert.png"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@ -3,18 +3,18 @@
|
|||||||
pkgs,
|
pkgs,
|
||||||
username,
|
username,
|
||||||
project,
|
project,
|
||||||
|
cookiez-assets,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
# Define the custom background package with the correct relative path
|
# Define the custom background package with the correct relative path
|
||||||
background-package = pkgs.stdenvNoCC.mkDerivation {
|
# background-package = pkgs.stdenvNoCC.mkDerivation {
|
||||||
name = "background-image";
|
# name = "background-image";
|
||||||
src = ../other/wallpaper4.png; # Place wallpaper.jpg in the same directory as this config file
|
# src = ../other/wallpaper4.png; # Place wallpaper.jpg in the same directory as this config file
|
||||||
dontUnpack = true;
|
# dontUnpack = true;
|
||||||
installPhase = ''
|
# installPhase = ''
|
||||||
cp $src $out
|
# cp $src $out
|
||||||
'';
|
# '';
|
||||||
};
|
# };
|
||||||
|
|
||||||
plasmaTheme = "desktop"; #Possible values are "laptop" or "desktop"
|
plasmaTheme = "desktop"; #Possible values are "laptop" or "desktop"
|
||||||
powerProfile = "laptop"; #Possible values are "laptop" or "desktop"
|
powerProfile = "laptop"; #Possible values are "laptop" or "desktop"
|
||||||
in {
|
in {
|
||||||
@ -25,7 +25,7 @@ in {
|
|||||||
|
|
||||||
# Pass the variable to home-manager
|
# Pass the variable to home-manager
|
||||||
home-manager.extraSpecialArgs = {
|
home-manager.extraSpecialArgs = {
|
||||||
inherit plasmaTheme powerProfile;
|
inherit plasmaTheme powerProfile cookiez-assets;
|
||||||
};
|
};
|
||||||
|
|
||||||
home-manager.sharedModules = [
|
home-manager.sharedModules = [
|
||||||
@ -74,7 +74,6 @@ in {
|
|||||||
|
|
||||||
system.activationScripts.script.text = ''
|
system.activationScripts.script.text = ''
|
||||||
source /home/${username}/${project}/other/colors.sh
|
source /home/${username}/${project}/other/colors.sh
|
||||||
source /home/${username}/${project}/other/pfp.sh
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
environment = {
|
environment = {
|
||||||
@ -83,10 +82,10 @@ in {
|
|||||||
];
|
];
|
||||||
|
|
||||||
systemPackages = with pkgs; [
|
systemPackages = with pkgs; [
|
||||||
(pkgs.writeTextDir "share/sddm/themes/breeze/theme.conf.user" ''
|
#(pkgs.writeTextDir "share/sddm/themes/breeze/theme.conf.user" ''
|
||||||
[General]
|
# [General]
|
||||||
background = "${background-package}"
|
# background = "${background-package}"
|
||||||
'') #Custom SDDM theme with background image
|
#'') #Custom SDDM theme with background image
|
||||||
kdePackages.plymouth-kcm
|
kdePackages.plymouth-kcm
|
||||||
xdg-desktop-portal
|
xdg-desktop-portal
|
||||||
kdePackages.xdg-desktop-portal-kde
|
kdePackages.xdg-desktop-portal-kde
|
||||||
|
|||||||
@ -4,6 +4,7 @@
|
|||||||
username,
|
username,
|
||||||
project,
|
project,
|
||||||
plasmaTheme,
|
plasmaTheme,
|
||||||
|
cookiez-assets,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
programs = {
|
programs = {
|
||||||
@ -123,7 +124,7 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
configFile = {
|
configFile = {
|
||||||
plasmarc.Wallpapers.usersWallpapers = "/home/cookiez/NixOS/other/wallpaper1.png";
|
plasmarc.Wallpapers.usersWallpapers = "${cookiez-assets}/wallpapers/pixel-desert.png";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user