more WM
Some checks failed
Nix Build / build-nixos (push) Failing after 22s

This commit is contained in:
soraefir 2024-04-14 22:24:23 +02:00
parent e325d82f34
commit 52423ffdad
Signed by: sora
GPG Key ID: A362EA0491E2EEA0
7 changed files with 20 additions and 17 deletions

View File

@ -7,12 +7,12 @@
"nixos" = inputs.nixpkgs.lib.nixosSystem {
system = system;
modules = [
inputs.sops-nix.nixosModules.sops
./modules/shared/syscfg
./modules/shared/sops
./modules/nixos
syscfg
./systems/${host}
inputs.sops-nix.nixosModules.sops
inputs.home-manager.nixosModules.home-manager
{
home-manager.useGlobalPkgs = true;
@ -21,13 +21,13 @@
home-manager.users = builtins.listToAttrs (map (userConfig:
nameValuePair userConfig.username {
imports = [
inputs.nix-colors.homeManagerModule
inputs.hyprland.homeManagerModules.default
./modules/shared/syscfg
./modules/shared/colors
./modules/home
syscfg
{ usercfg = userConfig; }
inputs.nix-colors.homeManagerModule
inputs.hyprland.homeManagerModules
];
}) syscfg.syscfg.users);
}
@ -46,7 +46,7 @@
home-manager.users.sora = {
imports = [
inputs.nix-colors.homeManagerModule
inputs.hyprland.homeManagerModules.default
inputs.hyprland.homeManagerModules
./systems/${host}/home.nix
];
};

View File

@ -1,7 +1,6 @@
{ lib, config, pkgs, ... }:
let cfg = config.syscfg.make.gui;
in {
config = lib.mkIf cfg {
{
config = lib.mkIf (config.syscfg.make.gui) {
services.greetd = {
enable = true;

View File

@ -1,5 +1,6 @@
{ pkgs, ... }: {
config = lib.mkIf (config.syscfg.make.gui) {
xdg.portal = {
enable = true;
# wlr.enable = true;
@ -9,6 +10,7 @@
];
config.common.default = [ "hyprland" "gtk" ];
};
};
environment.sessionVariables = rec {
GBM_BACKEND = "amd-drm";

View File

@ -4,7 +4,7 @@ let
username = mkOption { type = types.str; };
wm = mkOption {
type = types.enum [ "Wayland" "X11" "-"];
default = "Wayland";
default = "-";
};
git = {
username = mkOption { type = types.str; };

View File

@ -4,6 +4,7 @@
defaultUser = "ci";
users = [{
username = "ci";
wm = "-";
git = {
email = "ci@ci";
username = "CI";

View File

@ -4,7 +4,7 @@
defaultUser = "sora";
users = [{
username = "sora";
wm = "-";
wm = "Wayland";
git = {
email = "soraefir+git@helcel";
username = "soraefir";

View File

@ -4,6 +4,7 @@
defaultUser = "sora";
users = [{
username = "sora";
wm = "Wayland";
git = {
email = "soraefir+git@helcel";
username = "soraefir";