reflopactor (#1)
This commit is contained in:
parent
4b0c887369
commit
243a9339f0
16 changed files with 140 additions and 283 deletions
19
homes/default.nix
Normal file
19
homes/default.nix
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
inputs,
|
||||
self,
|
||||
outputs,
|
||||
...
|
||||
}: {
|
||||
home-manager = {
|
||||
useUserPackages = true;
|
||||
useGlobalPkgs = true;
|
||||
extraSpecialArgs = {
|
||||
inherit inputs self outputs;
|
||||
};
|
||||
users = {
|
||||
# TODO: "base" user that will be used by default is there is no defined
|
||||
# home directory for the user
|
||||
floppydisk = ./floppydisk;
|
||||
};
|
||||
};
|
||||
}
|
||||
47
homes/floppydisk/default.nix
Normal file
47
homes/floppydisk/default.nix
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
# This is your home-manager configuration file
|
||||
# Use this to configure your home environment (it replaces ~/.config/nixpkgs/home.nix)
|
||||
{
|
||||
outputs,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
# You can import other home-manager modules here
|
||||
imports = [
|
||||
# If you want to use modules your own flake exports (from modules/home-manager):
|
||||
# outputs.homeManagerModules.example
|
||||
|
||||
# Or modules exported from other flakes (such as nix-colors):
|
||||
# inputs.nix-colors.homeManagerModules.default
|
||||
|
||||
# You can also split up your configuration and import pieces of it here:
|
||||
# ./nvim.nix
|
||||
];
|
||||
|
||||
home = {
|
||||
username = "floppydisk";
|
||||
homeDirectory = "/home/floppydisk";
|
||||
packages = with pkgs; [steam vscode _1password-gui _1password neofetch microsoft-edge webcord-vencord];
|
||||
};
|
||||
|
||||
# Add stuff for your user as you see fit:
|
||||
programs = {
|
||||
# Enable neovim
|
||||
neovim.enable = true;
|
||||
|
||||
# Enable home-manager
|
||||
home-manager.enable = true;
|
||||
|
||||
# enable git and configure users
|
||||
git = {
|
||||
enable = true;
|
||||
userName = "Frankie B.";
|
||||
userEmail = "git@diskfloppy.me";
|
||||
};
|
||||
};
|
||||
|
||||
# Nicely reload system units when changing configs
|
||||
systemd.user.startServices = "sd-switch";
|
||||
|
||||
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
|
||||
home.stateVersion = "22.11";
|
||||
}
|
||||
Reference in a new issue