mirror of
https://github.com/willemml/dotfiles.nix.git
synced 2025-04-13 03:37:18 +00:00
Fixes home-manager stateVersion definition
This commit is contained in:
parent
4bd4ff23eb
commit
0f4f700ef1
4 changed files with 5 additions and 12 deletions
|
@ -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;};
|
||||||
};
|
};
|
||||||
|
|
|
@ -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";
|
||||||
|
|
|
@ -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; [
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Add table
Reference in a new issue