mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-05 17:27:50 +00:00
fix(lint): nixfmt the whole tree
This commit is contained in:
parent
643b136863
commit
bf219a30c2
69 changed files with 2605 additions and 1726 deletions
|
|
@ -1,16 +1,23 @@
|
|||
{config, pkgs, nixpkgs-unstable, lib, ...}:
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
nixpkgs-unstable,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.aviallon.desktop;
|
||||
optimizeCfg = config.aviallon.optimizations;
|
||||
in {
|
||||
in
|
||||
{
|
||||
|
||||
imports = [
|
||||
./plasma6.nix
|
||||
];
|
||||
|
||||
config = mkIf (cfg.enable && (cfg.environment == "plasma" || cfg.environment == "plasma6" )) {
|
||||
programs.firefox.enable = true;
|
||||
config = mkIf (cfg.enable && (cfg.environment == "plasma" || cfg.environment == "plasma6")) {
|
||||
programs.firefox.enable = true;
|
||||
programs.firefox.policies.Extensions.Install = [ "plasma-browser-integration@kde.org" ];
|
||||
|
||||
programs.chromium.extensions = [
|
||||
|
|
@ -28,17 +35,17 @@ in {
|
|||
};
|
||||
|
||||
#environment.systemPackages = [
|
||||
#config.programs.gnupg.agent.pinentryPackage
|
||||
#config.programs.gnupg.agent.pinentryPackage
|
||||
#];
|
||||
|
||||
systemd.user.services.setup-xdg-cursors = mkIf config.xdg.icons.enable {
|
||||
script = ''
|
||||
[ -d "$HOME/.icons/default" ] || mkdir -p "$HOME/.icons/default"
|
||||
cat >"$HOME/.icons/default/index.theme" <<EOF
|
||||
[icon theme]
|
||||
Inherits=''${XCURSOR_THEME:-breeze_cursors}
|
||||
EOF
|
||||
'';
|
||||
[ -d "$HOME/.icons/default" ] || mkdir -p "$HOME/.icons/default"
|
||||
cat >"$HOME/.icons/default/index.theme" <<EOF
|
||||
[icon theme]
|
||||
Inherits=''${XCURSOR_THEME:-breeze_cursors}
|
||||
EOF
|
||||
'';
|
||||
serviceConfig = {
|
||||
Type = "oneshot";
|
||||
RemainAfterExit = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue