fixed displaying, the xdg variables were the problem

This commit is contained in:
vali 2024-04-12 02:06:05 +02:00
commit b2cbe307a1
5 changed files with 14 additions and 23 deletions

View file

@ -2,6 +2,7 @@
{ {
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
time.timeZone = "Europe/Zurich"; time.timeZone = "Europe/Zurich";
console.keyMap = "de";
security.sudo.package = pkgs.sudo.override { withInsults = true; }; security.sudo.package = pkgs.sudo.override { withInsults = true; };
security.polkit.enable = true; security.polkit.enable = true;
programs.kdeconnect.enable = true; programs.kdeconnect.enable = true;
@ -28,7 +29,7 @@
# enable = true; # enable = true;
# userName = "vali"; # userName = "vali";
# userEmail = "valentin@kaas.cc"; # userEmail = "valentin@kaas.cc";
# defaultBranch = "master"; # defaultBranch = "main";
#}; #};
starship.enable = true; starship.enable = true;
zsh = { zsh = {

View file

@ -1,6 +1,3 @@
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }: { config, lib, pkgs, modulesPath, ... }:
{ {
@ -27,7 +24,8 @@
}; };
swapDevices = swapDevices =
[ { device = "/dev/disk/by-uuid/bc68b3b5-1b58-4d8c-be8d-b06bbc4b6da7"; } [
# { device = "/dev/disk/by-uuid/bc68b3b5-1b58-4d8c-be8d-b06bbc4b6da7"; }
]; ];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking # Enables DHCP on each ethernet and wireless interface. In case of scripted networking

View file

@ -7,22 +7,14 @@ in {
config = mkIf cfg.enable { config = mkIf cfg.enable {
services.xserver = { services.xserver = {
enable = true; enable = true;
desktopManager = { layout = "de";
xterm.enable = false; windowManager = {
xfce = { bspwm.enable = true;
enable = true; i3.enable = true;
noDesktop = true;
enableXfwm = false;
};
}; };
displayManager.defaultSession="xfce+i3"; displayManager = {
windowManager.i3 = { gdm.enable = true;
enable = true; defaultSession = "none+i3";
extraPackages = with pkgs; [
dmenu
i3status
i3lock
];
}; };
}; };
}; };

View file

@ -4,8 +4,8 @@ _: {
../../options/desktop/fonts.nix ../../options/desktop/fonts.nix
../../options/common/networking.nix ../../options/common/networking.nix
../../options/common/gpu/nvidia.nix ../../options/common/gpu/nvidia.nix
../../options/common/pin-registry.nix # ../../options/common/pin-registry.nix
../../options/common/preserve-system.nix # ../../options/common/preserve-system.nix
#../../options/ #../../options/
]; ];
} }

View file

@ -2,6 +2,6 @@ _: {
imports = [ imports = [
./home-manager.nix ./home-manager.nix
./system.nix ./system.nix
./xdg.nix # ./xdg.nix
]; ];
} }