about summary refs log tree commit diff
path: root/configuration.nix
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@gmail.com>2017-10-16T22·32+0200
committerVincent Ambo <tazjin@gmail.com>2017-10-16T22·34+0200
commit4327d0e0b982f8ab7ad43b3ddc784a9a8907a158 (patch)
tree9137b7a4079ffb807e6cc397d0db298ec5c91c36 /configuration.nix
parent296ae9f1fdd6ca499358e49901faeb985f5e926b (diff)
refactor(desktop): Split out desktop configuration
* move desktop configuration to own nix file
* remove old clone-wallpapers service
* use wallpapers nix package for randomly setting wallpaper
Diffstat (limited to 'configuration.nix')
-rw-r--r--configuration.nix24
1 files changed, 1 insertions, 23 deletions
diff --git a/configuration.nix b/configuration.nix
index 421b02549797..c03dc06ebbe1 100644
--- a/configuration.nix
+++ b/configuration.nix
@@ -10,7 +10,7 @@
     ./hardware-configuration.nix
     ./local-configuration.nix
     ./packages.nix
-    ./wallpapers.nix
+    ./desktop.nix
     ];
 
   # Use the systemd-boot EFI boot loader.
@@ -22,21 +22,6 @@
   # Set your time zone.
   time.timeZone = "Europe/Oslo";
 
-  # Enable the X11 windowing system.
-  services.xserver.enable = true;
-  services.xserver.layout = "us,no";
-  services.xserver.xkbOptions = "caps:super, grp:shifts_toggle";
-
-  # Configure i3 & compositor
-  services.xserver.windowManager.i3.enable = true;
-  services.compton.enable = true;
-  services.compton.backend = "xrender";
-
-  # Configure Redshift for Oslo
-  services.redshift.enable = true;
-  services.redshift.latitude = "59.911491";
-  services.redshift.longitude = "10.757933";
-
   # Configure shell environment
   programs.fish.enable = true;
   programs.ssh.startAgent = true;
@@ -46,13 +31,6 @@
   # Configure other random applications:
   programs.java.enable = true;
 
-  # Configure fonts
-  fonts = {
-    fonts = with pkgs; [
-      input-fonts
-    ];
-  };
-
   # Configure user account
   users.defaultUserShell = pkgs.fish;
   users.extraUsers.vincent = {