mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 07:13:55 -05:00
match nixos and home alyraffauf.desktop.enable state by default
This commit is contained in:
parent
17880c1460
commit
24efb8c72c
|
@ -14,24 +14,15 @@ inputs: self: {
|
|||
./theme.nix
|
||||
];
|
||||
|
||||
nixpkgs = {
|
||||
config = {
|
||||
allowUnfree = true;
|
||||
};
|
||||
};
|
||||
|
||||
xdg.userDirs = {
|
||||
config = lib.mkIf config.alyraffauf.desktop.enable {
|
||||
dconf = {
|
||||
enable = true;
|
||||
createDirectories = true;
|
||||
desktop = lib.mkDefault "${config.home.homeDirectory}/dsktp";
|
||||
documents = lib.mkDefault "${config.home.homeDirectory}/docs";
|
||||
download = lib.mkDefault "${config.home.homeDirectory}/dwnlds";
|
||||
extraConfig = {XDG_SRC_DIR = "${config.home.homeDirectory}/src";};
|
||||
music = lib.mkDefault "${config.home.homeDirectory}/music";
|
||||
pictures = lib.mkDefault "${config.home.homeDirectory}/pics";
|
||||
publicShare = lib.mkDefault "${config.home.homeDirectory}/pub";
|
||||
templates = lib.mkDefault "${config.home.homeDirectory}/tmplts";
|
||||
videos = lib.mkDefault "${config.home.homeDirectory}/vids";
|
||||
settings = {
|
||||
"org/virt-manager/virt-manager/connections" = {
|
||||
autoconnect = ["qemu:///system"];
|
||||
uris = ["qemu:///system"];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
gtk.gtk3.bookmarks = [
|
||||
|
@ -44,14 +35,20 @@ inputs: self: {
|
|||
"file://${config.home.homeDirectory}/sync"
|
||||
];
|
||||
|
||||
xdg.dataFile."backgrounds/".source = ../files/wallpapers;
|
||||
|
||||
dconf = {
|
||||
xdg = {
|
||||
dataFile."backgrounds/".source = ../files/wallpapers;
|
||||
userDirs = {
|
||||
enable = true;
|
||||
settings = {
|
||||
"org/virt-manager/virt-manager/connections" = {
|
||||
autoconnect = ["qemu:///system"];
|
||||
uris = ["qemu:///system"];
|
||||
createDirectories = true;
|
||||
desktop = lib.mkDefault "${config.home.homeDirectory}/dsktp";
|
||||
documents = lib.mkDefault "${config.home.homeDirectory}/docs";
|
||||
download = lib.mkDefault "${config.home.homeDirectory}/dwnlds";
|
||||
extraConfig = {XDG_SRC_DIR = "${config.home.homeDirectory}/src";};
|
||||
music = lib.mkDefault "${config.home.homeDirectory}/music";
|
||||
pictures = lib.mkDefault "${config.home.homeDirectory}/pics";
|
||||
publicShare = lib.mkDefault "${config.home.homeDirectory}/pub";
|
||||
templates = lib.mkDefault "${config.home.homeDirectory}/tmplts";
|
||||
videos = lib.mkDefault "${config.home.homeDirectory}/vids";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -184,6 +184,11 @@
|
|||
};
|
||||
};
|
||||
desktop = {
|
||||
enable = lib.mkOption {
|
||||
description = "Graphical desktop.";
|
||||
default = osConfig.alyraffauf.desktop.enable;
|
||||
type = lib.types.bool;
|
||||
};
|
||||
cinnamon.enable = lib.mkOption {
|
||||
description = "Cinnamon with sane defaults";
|
||||
default = osConfig.alyraffauf.desktop.cinnamon.enable;
|
||||
|
|
Loading…
Reference in a new issue