diff options
Diffstat (limited to 'homes')
-rw-r--r-- | homes/default.nix | 19 | ||||
-rw-r--r-- | homes/floppydisk/default.nix | 47 |
2 files changed, 66 insertions, 0 deletions
diff --git a/homes/default.nix b/homes/default.nix new file mode 100644 index 0000000..267a3d0 --- /dev/null +++ b/homes/default.nix @@ -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; + }; + }; +} diff --git a/homes/floppydisk/default.nix b/homes/floppydisk/default.nix new file mode 100644 index 0000000..89363cc --- /dev/null +++ b/homes/floppydisk/default.nix @@ -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"; +} |