Compare commits

...

2 commits

5 changed files with 44 additions and 22 deletions

24
flake.lock generated
View file

@ -182,6 +182,29 @@
"type": "github"
}
},
"plasma-manager": {
"inputs": {
"home-manager": [
"home-manager"
],
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1742765550,
"narHash": "sha256-2vVIh2JrL6GAGfgCeY9e6iNKrBjs0Hw3bGQEAbwVs68=",
"owner": "nix-community",
"repo": "plasma-manager",
"rev": "b70be387276e632fe51232887f9e04e2b6ef8c16",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "plasma-manager",
"type": "github"
}
},
"root": {
"inputs": {
"agenix": "agenix",
@ -191,6 +214,7 @@
"nixpkgs": "nixpkgs",
"nixpkgs-unstable": "nixpkgs-unstable",
"nur": "nur",
"plasma-manager": "plasma-manager",
"rycee-nurpkgs": "rycee-nurpkgs"
}
},

View file

@ -26,10 +26,15 @@
inputs.nixpkgs.follows = "nixpkgs";
};
nix-flatpak.url = "github:gmodena/nix-flatpak?ref=v0.6.0";
plasma-manager = {
url = "github:nix-community/plasma-manager";
inputs.nixpkgs.follows = "nixpkgs";
inputs.home-manager.follows = "home-manager";
};
};
outputs = { self, nix-darwin, nixpkgs, nixpkgs-unstable, home-manager, agenix
, rycee-nurpkgs, nur, nix-flatpak, ... }:
, rycee-nurpkgs, nur, nix-flatpak, plasma-manager, ... }:
let
mkHomeConfiguration = { hostname, arch ? "x86_64", os ? "linux"
, desktop ? false, extraModules ? [ ] }:
@ -57,6 +62,7 @@
++ (if (desktop && os == "linux") then [
./homes/linux-desktop.nix
nix-flatpak.homeManagerModules.nix-flatpak
plasma-manager.homeManagerModules.plasma-manager
] else
[ ]) ++ extraModules;
extraSpecialArgs = {

View file

@ -2,10 +2,11 @@
let
home-manager-repo = "${config.xdg.configHome}/home-manager";
mkOutOfStoreSymlink = config.lib.file.mkOutOfStoreSymlink;
plasma-config = import ./../programs/plasma.nix;
in {
home = { packages = with pkgs; [ ollama trayscale veracrypt ]; };
programs = { };
programs = { plasma = plasma-config { inherit config; }; };
services = {
flatpak = {
enable = true;

View file

@ -28,26 +28,6 @@
color = "pink";
icon = "fruit";
};
"Bovine Club" = {
id = 5;
color = "turquoise";
icon = "food";
};
"CVF" = {
id = 6;
color = "red";
icon = "food";
};
"Swine Club" = {
id = 7;
color = "green";
icon = "food";
};
"Therio Club" = {
id = 8;
color = "orange";
icon = "food";
};
};
containersForce = true;
extensions = with firefox-addons; [

11
programs/plasma.nix Normal file
View file

@ -0,0 +1,11 @@
{ config }: {
enable = true;
workspace = {
wallpaperFillMode = "preserveAspectCrop";
wallpaperSlideShow = {
interval = 86400;
path =
"${config.home.homeDirectory}/Nextcloud/Pictures/Desktop backgrounds/";
};
};
}