This commit is contained in:
Michael Thomson 2024-05-14 14:32:07 -04:00
parent ae97c6d6bc
commit 4ea241fad7
3 changed files with 24 additions and 9 deletions

View File

@ -27,6 +27,16 @@
# Select internationalisation properties.
i18n.defaultLocale = "en_CA.UTF-8";
hardware.opengl = {
enable = true;
driSupport = true;
driSupport32Bit = true;
};
hardware.nvidia = {
modesetting.enable = true;
};
# i3 relates stuff
environment.pathsToLink = [ "/libexec" ];
services.xserver = {
@ -71,6 +81,7 @@
# Define a user account. Don't forget to set a password with passwd.
users.users.mthomson = {
shell = pkgs.zsh;
isNormalUser = true;
description = "Michael Thomson";
extraGroups = [ "networkmanager" "wheel" ];
@ -104,6 +115,11 @@
environment.variables.EDITOR = "nvim";
programs = {
zsh.enable = true;
steam.enable = true;
};
home-manager = {
extraSpecialArgs = { inherit inputs; };
useGlobalPkgs = true;

View File

@ -2,7 +2,6 @@
{
imports = [
../../modules/home-manager/hyprland
../../modules/home-manager/i3
../../modules/home-manager/1password
../../modules/home-manager/git
@ -20,6 +19,14 @@
home.homeDirectory = "/home/mthomson";
home.stateVersion = "23.11";
programs = {
direnv = {
enable = true;
enableZshIntegration = true; # see note on other shells below
nix-direnv.enable = true;
};
};
home.packages = with pkgs; [
firefox
gcc

View File

@ -1,8 +0,0 @@
{ pkgs, config, inputs, ... }:
{
wayland.windowManager.hyprland = {
enable = true;
package = inputs.hyprland.packages."${pkgs.system}".hyprland;
};
}