chore: work on modularization of config

This commit is contained in:
DashieTM 2024-04-17 13:00:14 +02:00
parent ab897f750d
commit 850454a6c6
16 changed files with 300 additions and 94 deletions

View file

@ -0,0 +1,34 @@
{config, ...}:{
imports = [
../../modules/ironbar_config.nix
];
wayland.windowManager.hyprland.settings.monitor = [
# default
"DP-2,2560x1440@165,0x0,1"
"DP-1,3440x1440@180,2560x0,1"
"HDMI-A-1,1920x1200@60,6000x0,1"
"HDMI-A-1,transform,1"
# all others
",highrr,auto,1"
];
wayland.windowManager.hyprland.settings.workspace = [
# workspaces
# monitor middle
"2,monitor:DP-1, default:true"
"4,monitor:DP-1"
"6,monitor:DP-1"
"8,monitor:DP-1"
"9,monitor:DP-1"
"10,monitor:DP-1"
# monitor left
"1,monitor:DP-2, default:true"
"5,monitor:DP-2"
"7,monitor:DP-2"
# monitor right
"3,monitor:HDMI-A-1, default:true"
];
programs.monitor = "DP-1";
}

View file

@ -45,13 +45,13 @@
pulse.enable = true;
};
environment.variables = rec {
environment.variables = {
XDG_CACHE_HOME = "$HOME/.cache";
DIRENV_LOG_FORMAT = "";
};
# allows user change later on
users.mutableUsers=true;
users.mutableUsers = true;
users.users.dashie = {
isNormalUser = true;
description = "dashie";
@ -63,7 +63,7 @@
];
# this password will only last for the first login
# e.g. login, then change to whatever else, this also ensures no public hash is available
hashedPassword="firstlogin";
hashedPassword = "firstlogin";
};
nix.settings = {

View file

@ -1,4 +1,4 @@
{ config, lib, pkgs, modulesPath, ... }:
{ config, lib, modulesPath, ... }:
{
imports =
[