Compare commits
No commits in common. "03c62a86e8749229c74b0afb644062bb3cb66a4e" and "f9b130f312fe8bbc25f53b9afa30e642e948c473" have entirely different histories.
03c62a86e8
...
f9b130f312
6 changed files with 2 additions and 64 deletions
|
@ -23,7 +23,7 @@
|
||||||
inputs@{ self, nixpkgs, ... }:
|
inputs@{ self, nixpkgs, ... }:
|
||||||
let
|
let
|
||||||
hosts = {
|
hosts = {
|
||||||
"wenar-nix" = "x86_64-linux";
|
"work-ntb" = "x86_64-linux";
|
||||||
"lenar" = "x86_64-linux";
|
"lenar" = "x86_64-linux";
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
|
|
|
@ -1,22 +0,0 @@
|
||||||
{
|
|
||||||
lib,
|
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
let
|
|
||||||
cfg = config.krop.hm.desktop.plasma;
|
|
||||||
in
|
|
||||||
{
|
|
||||||
options.krop.hm.desktop.plasma = {
|
|
||||||
enable = lib.mkOption {
|
|
||||||
type = lib.types.bool;
|
|
||||||
default = false;
|
|
||||||
example = true;
|
|
||||||
description = "Enable my plasma configuration";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
config = lib.mkIf cfg.enable {
|
|
||||||
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -15,12 +15,6 @@ in
|
||||||
example = false;
|
example = false;
|
||||||
description = "Enable my misc applications";
|
description = "Enable my misc applications";
|
||||||
};
|
};
|
||||||
syncthing = lib.mkOption {
|
|
||||||
type = lib.types.bool;
|
|
||||||
default = true;
|
|
||||||
example = false;
|
|
||||||
description = "Enable syncthing";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
|
@ -33,11 +27,5 @@ in
|
||||||
joplin-desktop
|
joplin-desktop
|
||||||
wireshark
|
wireshark
|
||||||
];
|
];
|
||||||
services.syncthing = {
|
|
||||||
enable = true;
|
|
||||||
tray = lib.mkIf config.krop.hm.desktop.plasma.enable {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -37,7 +37,7 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
changeDefaultNetwork = true;
|
changeDefaultNetwork = true;
|
||||||
};
|
};
|
||||||
de.plasma = {
|
de.gnome = {
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -2,6 +2,5 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./gnome.nix
|
./gnome.nix
|
||||||
./plasma.nix
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,27 +0,0 @@
|
||||||
{
|
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
lib,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
let
|
|
||||||
cfg = config.krop.de.plasma;
|
|
||||||
in
|
|
||||||
{
|
|
||||||
options.krop.de.plasma = {
|
|
||||||
enable = lib.mkOption {
|
|
||||||
type = lib.types.bool;
|
|
||||||
default = false;
|
|
||||||
example = true;
|
|
||||||
description = "Enable KDE plasma";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
config = lib.mkIf cfg.enable {
|
|
||||||
services = {
|
|
||||||
xserver.enable = true;
|
|
||||||
displayManager.sddm.enable = true;
|
|
||||||
displayManager.sddm.wayland.enable = true;
|
|
||||||
desktopManager.plasma6.enable = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
Loading…
Reference in a new issue