This commit is contained in:
sadan 2024-11-26 17:01:58 -05:00
parent 59ee516926
commit 5a3af882ec
No known key found for this signature in database
61 changed files with 705 additions and 562 deletions

View file

@ -0,0 +1,33 @@
{ pkgs, inputs, ... }:
let
NAME = "meyer";
in
{
imports = [
(import ../../systemModules/sops.nix { inherit NAME; })
(import ../../systemModules/nixHelper.nix { inherit NAME; })
];
users = {
users = {
"${NAME}" = {
isNormalUser = true;
extraGroups = [
"wheel" # Enable sudo for the user.
"audio"
"sound"
"video"
"input"
"tty"
"plugdev"
];
shell = pkgs.zsh;
};
};
};
home-manager = {
extraSpecialArgs = { inherit inputs; };
users = {
"${NAME}" = import ./home.nix;
};
};
}

View file

@ -0,0 +1,44 @@
{
config,
pkgs,
inputs,
...
}:
{
nixpkgs.config.allowInsecurePredicate = (pkg: true);
nixpkgs.config.allowUnfreePredicate = (pkg: true);
imports = [
../homeModules/util.nix
../homeModules/dev
../homeModules/dev/cpp.nix
../homeModules/dev/javascript.nix
../homeModules/dev/python.nix
../homeModules/scripts
../homeModules/btop.nix
../homeModules/git.nix
../homeModules/nvim.nix
../homeModules/sops.nix
../homeModules/zsh.nix
];
home.username = "meyer";
home.homeDirectory = "/home/meyer";
home = {
packages = with pkgs; [
wslu
];
};
# This value determines the Home Manager release that your configuration is
# compatible with. This helps avoid breakage when a new Home Manager release
# introduces backwards incompatible changes.
#
# You should not change this value, even if you update Home Manager. If you do
# want to update the value, then make sure to first check the Home Manager
# release notes.
home.stateVersion = "23.11"; # Please read the comment before changing.
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;
}