From f338ffd28de6af6b74ace1eb73c2ad9a542e6e98 Mon Sep 17 00:00:00 2001
From: Patrick Spek
Date: Mon, 24 Apr 2023 14:57:08 +0200
Subject: Expand nixos settings
---
data.d/etc-nixos/env/global.nix | 15 ++++++++++++++-
data.d/etc-nixos/env/workstation.nix | 17 +++++++++++++++++
2 files changed, 31 insertions(+), 1 deletion(-)
(limited to 'data.d/etc-nixos/env')
diff --git a/data.d/etc-nixos/env/global.nix b/data.d/etc-nixos/env/global.nix
index 6ea9db4..608630d 100644
--- a/data.d/etc-nixos/env/global.nix
+++ b/data.d/etc-nixos/env/global.nix
@@ -9,6 +9,12 @@
};
environment = {
+ binsh = "${pkgs.dash}/bin/dash";
+ shells = with pkgs; [
+ bash
+ dash
+ zsh
+ ];
systemPackages = with pkgs; [
borgbackup
git
@@ -29,6 +35,12 @@
domain = "tyil.net";
};
+ programs = {
+ zsh = {
+ enable = true;
+ };
+ };
+
services = {
openssh = {
enable = true;
@@ -46,8 +58,9 @@
users = {
users = {
tyil = {
- isNormalUser = true;
extraGroups = [ "wheel" ];
+ isNormalUser = true;
+ shell = pkgs.zsh;
};
};
};
diff --git a/data.d/etc-nixos/env/workstation.nix b/data.d/etc-nixos/env/workstation.nix
index c8dcb29..f33c42f 100644
--- a/data.d/etc-nixos/env/workstation.nix
+++ b/data.d/etc-nixos/env/workstation.nix
@@ -19,6 +19,7 @@
physlock
redshift
rofi
+ sxhkd
xclip
xcompmgr
xdotool
@@ -38,6 +39,22 @@
];
};
+ services = {
+ xserver = {
+ enable = true;
+ displayManager = {
+ startx = {
+ enabled = true;
+ };
+ };
+ windowManager = {
+ awesome = {
+ enable = true;
+ };
+ };
+ };
+ };
+
users = {
users = {
tyil = {
--
cgit v1.1