Fixes home-manager stateVersion definition

This commit is contained in:
willemml 2023-11-08 15:52:41 -08:00
parent 4bd4ff23eb
commit 0f4f700ef1
Signed by: willemml
GPG key ID: C3DE5DF6198DACBD
4 changed files with 5 additions and 12 deletions

View file

@ -28,14 +28,6 @@
home-manager.users.willem = self.homeManagerModules.user-willem-linux; home-manager.users.willem = self.homeManagerModules.user-willem-linux;
}; };
nixosModules.willem-hyprland = {...}: {
imports = [
inputs.home-manager.nixosModules.home-manager
self.nixosModules.homeManagerIntegration
];
home-manager.users.willem = self.homeManagerModules.user-willem-linux // self.homeManagerModules.hyprland;
};
darwinModules.base = {...}: { darwinModules.base = {...}: {
imports = [ imports = [
../../nixos/profiles/common.nix ../../nixos/profiles/common.nix
@ -51,10 +43,9 @@
system = "x86_64-linux"; system = "x86_64-linux";
modules = [ modules = [
self.nixosModules.base self.nixosModules.base
self.nixosModules.willem-hyprland self.nixosModules.willem-home
../../nixos/hosts/winbox.nix ../../nixos/hosts/winbox.nix
]; ];
home-manager.users.willem.home.stateVersion = "23.05";
specialArgs = {inherit inputs;}; specialArgs = {inherit inputs;};
}; };

View file

@ -7,6 +7,7 @@
emacsCommand = "emacsclient -c -nw"; emacsCommand = "emacsclient -c -nw";
in rec { in rec {
home = { home = {
stateVersion = "23.05";
keyboard = { keyboard = {
layout = "us"; layout = "us";
variant = "colemak"; variant = "colemak";

View file

@ -14,6 +14,9 @@
boot.kernelModules = ["amdgpu"]; boot.kernelModules = ["amdgpu"];
boot.extraModulePackages = []; boot.extraModulePackages = [];
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
hardware.opengl.driSupport = true; hardware.opengl.driSupport = true;
hardware.opengl.extraPackages = with pkgs; [ hardware.opengl.extraPackages = with pkgs; [

View file

@ -7,8 +7,6 @@
"${modulesPath}/virtualisation/qemu-vm.nix" "${modulesPath}/virtualisation/qemu-vm.nix"
]; ];
system.stateVersion = lib.mkDefault "23.05";
console.keyMap = lib.mkDefault "colemak"; console.keyMap = lib.mkDefault "colemak";
security.sudo.wheelNeedsPassword = false; security.sudo.wheelNeedsPassword = false;