diff options
Diffstat (limited to '')
-rw-r--r-- | users/fcuny/desktop/browser.nix (renamed from users/common/desktop/browser.nix) | 0 | ||||
-rw-r--r-- | users/fcuny/desktop/default.nix | 20 | ||||
-rw-r--r-- | users/fcuny/desktop/gtk.nix (renamed from users/fcuny/desktop.nix) | 21 | ||||
-rw-r--r-- | users/fcuny/desktop/i3.nix (renamed from users/fcuny/i3.nix) | 0 | ||||
-rw-r--r-- | users/fcuny/desktop/media.nix (renamed from users/fcuny/media.nix) | 0 | ||||
-rw-r--r-- | users/fcuny/desktop/pass.nix (renamed from users/fcuny/pass.nix) | 0 | ||||
-rw-r--r-- | users/fcuny/desktop/terminal.nix (renamed from users/fcuny/terminal.nix) | 0 | ||||
-rw-r--r-- | users/fcuny/desktop/xdg.nix | 18 |
8 files changed, 38 insertions, 21 deletions
diff --git a/users/common/desktop/browser.nix b/users/fcuny/desktop/browser.nix index cbd8d29..cbd8d29 100644 --- a/users/common/desktop/browser.nix +++ b/users/fcuny/desktop/browser.nix diff --git a/users/fcuny/desktop/default.nix b/users/fcuny/desktop/default.nix new file mode 100644 index 0000000..9f0bcf3 --- /dev/null +++ b/users/fcuny/desktop/default.nix @@ -0,0 +1,20 @@ +{ config, lib, pkgs, ... }: + +{ + imports = [ + ./browser.nix + ./i3.nix + ./media.nix + ./pass.nix + ./terminal.nix + ./gtk.nix + ./xdg.nix + ]; + + home.packages = [ + pkgs.gnome3.eog + pkgs.gnome3.evince + pkgs.gnome3.nautilus + pkgs.transmission-remote-gtk + ]; +} diff --git a/users/fcuny/desktop.nix b/users/fcuny/desktop/gtk.nix index b1f4caa..492c331 100644 --- a/users/fcuny/desktop.nix +++ b/users/fcuny/desktop/gtk.nix @@ -1,21 +1,6 @@ { config, lib, pkgs, ... }: { - xdg.enable = true; - - xdg.userDirs = { - enable = true; - createDirectories = true; - desktop = "\$HOME/documents"; - documents = "\$HOME/documents"; - download = "\$HOME/downloads"; - music = "\$HOME/media/music"; - pictures = "\$HOME/media/pictures"; - publicShare = "\$HOME/documents/public"; - templates = "\$HOME/documents/templates"; - videos = "\$HOME/media/videos"; - }; - # This is required for the gtk configuration below home.packages = [ pkgs.gnome3.dconf @@ -48,10 +33,4 @@ }; }; }; - - imports = [ - ./i3.nix - ./media.nix - ./terminal.nix - ]; } diff --git a/users/fcuny/i3.nix b/users/fcuny/desktop/i3.nix index dd01348..dd01348 100644 --- a/users/fcuny/i3.nix +++ b/users/fcuny/desktop/i3.nix diff --git a/users/fcuny/media.nix b/users/fcuny/desktop/media.nix index 57d0dd2..57d0dd2 100644 --- a/users/fcuny/media.nix +++ b/users/fcuny/desktop/media.nix diff --git a/users/fcuny/pass.nix b/users/fcuny/desktop/pass.nix index d430ec8..d430ec8 100644 --- a/users/fcuny/pass.nix +++ b/users/fcuny/desktop/pass.nix diff --git a/users/fcuny/terminal.nix b/users/fcuny/desktop/terminal.nix index ca3b2e8..ca3b2e8 100644 --- a/users/fcuny/terminal.nix +++ b/users/fcuny/desktop/terminal.nix diff --git a/users/fcuny/desktop/xdg.nix b/users/fcuny/desktop/xdg.nix new file mode 100644 index 0000000..7390811 --- /dev/null +++ b/users/fcuny/desktop/xdg.nix @@ -0,0 +1,18 @@ +{ config, lib, pkgs, ... }: + +{ + xdg.enable = true; + + xdg.userDirs = { + enable = true; + createDirectories = true; + desktop = "\$HOME/documents"; + documents = "\$HOME/documents"; + download = "\$HOME/downloads"; + music = "\$HOME/media/music"; + pictures = "\$HOME/media/pictures"; + publicShare = "\$HOME/documents/public"; + templates = "\$HOME/documents/templates"; + videos = "\$HOME/media/videos"; + }; +} |