aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/roots
diff options
context:
space:
mode:
authorMx Kookie <kookie@spacekookie.de>2020-12-21 13:17:20 +0100
committerMx Kookie <kookie@spacekookie.de>2020-12-22 20:42:17 +0100
commit9a10d19ced763cccf64aa662fd3bc0fa811ce3af (patch)
tree101d0ec1983f5b3730de7549fa7dc971f720f1a7 /infra/libkookie/roots
parenta3be97011845fefd94d0ec926448629f8f5e5cac (diff)
libkookie: i3: adding module, configurations, and tempest config
Diffstat (limited to 'infra/libkookie/roots')
-rw-r--r--infra/libkookie/roots/tempest.nix44
1 files changed, 31 insertions, 13 deletions
diff --git a/infra/libkookie/roots/tempest.nix b/infra/libkookie/roots/tempest.nix
index 7ace933c5d4b..e3ec2c312f72 100644
--- a/infra/libkookie/roots/tempest.nix
+++ b/infra/libkookie/roots/tempest.nix
@@ -9,22 +9,41 @@
* LIBKOOKIE is licensed under the GPL-3.0 (or later) -- see LICENSE
*/
-{ lib, config, pkgs, ... }:
+{ lib, config, pkgs, ... } @ args:
+let klib = (import <modules/harness/lib.nix>) args;
+in
{
- nixpkgs.config.allowUnfree = true;
-
- imports = [
- # ../modules/nix
- # ../modules/nix/home-manager.nix
-
- # ../modules/base
- # ../modules/docker
- # ../modules/workstation
- # ../modules/workstation/hardware/yubikey
- # ../modules/workstation/hardware/xkblayout
+
+
+ ###################################################################
+ # libkookie playground
+ #
+ #
+ #
+
+
+ imports = with klib; [
+ # Load base modules required to bootstrap libkookie
+ <home-manager/nixos> <modules>
+
+ # Import desired userspace modules
+ (loadModule <configuration/workstation/i3> "tempest")
];
+
+ libkookie.activeUsers = [ (klib.load <configuration/users/spacekookie>) ];
+
+ # Configure i3 with the amdgpu driver
+ libkookie.ui.i3 = { enable = true;
+ videoDrivers = [ "amdgpu" ]; };
+
+ #
+ #
+ #
+ #
+ ###################################################################
+
# Use the GRUB 2 boot loader.
boot.loader.grub = {
enable = true;
@@ -78,7 +97,6 @@
# Set your time zone.
time.timeZone = "Europe/Berlin";
- # libkookie.wallpaper = "/home/Pictures/Wallpapers/small-memory.webp";
programs.sway.enable = true;
programs.mtr.enable = true;