mirror of
https://github.com/sadan4/dotfiles.git
synced 2025-06-25 13:47:01 -04:00
pray
This commit is contained in:
parent
59ee516926
commit
5a3af882ec
61 changed files with 705 additions and 562 deletions
33
common/users/meyer-wsl/default.nix
Normal file
33
common/users/meyer-wsl/default.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
}
|
44
common/users/meyer-wsl/home.nix
Normal file
44
common/users/meyer-wsl/home.nix
Normal 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;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue