proper dendritifcation progress
This commit is contained in:
parent
f9303305c9
commit
35979521f9
10 changed files with 243 additions and 205 deletions
|
|
@ -1,19 +1,45 @@
|
|||
{ self, inputs, ... }: {
|
||||
{ inputs, ... }: {
|
||||
|
||||
perSystem = { pkgs, ... }: {
|
||||
flake.nixosModules.noctalia =
|
||||
{ config, lib, ... }:
|
||||
|
||||
# defines a custom noctalia package
|
||||
packages.myNoctalia = inputs.wrapper-modules.wrappers.noctalia-shell.wrap {
|
||||
let
|
||||
username = config.userOptions.username;
|
||||
hostName = config.userOptions.hostName;
|
||||
wallpaper = config.userOptions.wallpaper;
|
||||
in
|
||||
|
||||
# use global packages
|
||||
inherit pkgs;
|
||||
{
|
||||
|
||||
# use a separate json file to configure
|
||||
# nixify this.
|
||||
settings = (builtins.fromJSON (builtins.readFile ./noctalia.json)).settings;
|
||||
# for home manager functionality
|
||||
imports = [ inputs.home-manager.nixosModules.home-manager ];
|
||||
home-manager.users.${username} = {
|
||||
imports = [ inputs.noctalia.homeModules.default ];
|
||||
|
||||
programs.noctalia-shell = {
|
||||
|
||||
# enables noctalia
|
||||
enable = true;
|
||||
systemd.enable = true;
|
||||
|
||||
# noctalia settings
|
||||
settings = {
|
||||
|
||||
general = { };
|
||||
|
||||
location = { };
|
||||
|
||||
colorSchemes.predefinedscheme = "foobar";
|
||||
|
||||
dock = {
|
||||
enabled = false;
|
||||
};
|
||||
|
||||
bar = { };
|
||||
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue