home-manager on mac nixos

This commit is contained in:
mjallen18
2024-03-21 18:06:58 -05:00
parent 64cb797740
commit eada419fdf
4 changed files with 79 additions and 26 deletions

View File

@@ -36,14 +36,17 @@
xserver = {
enable = true;
desktopManager.gnome.enable = true;
# Enable the Plasma 6 Desktop Environment.
displayManager = {
sddm.enable = true;
defaultSession = "plasma";
sddm.enable = false;
# defaultSession = "plasma";
gdm.enable = true;
};
};
desktopManager.plasma6.enable = true;
desktopManager.plasma6.enable = false;
# enable auto discovery of printers
avahi = {

36
hosts/mac-nixos/home.nix Normal file
View File

@@ -0,0 +1,36 @@
{ pkgs, ... }:
{
home.username = "matt";
home.homeDirectory = "/home/matt";
home.stateVersion = "23.11";
programs.home-manager.enable = true;
programs = {
fish.enable = true;
java.enable = true;
};
programs.git = {
enable = true;
userName = "mjallen18";
userEmail = "matt.l.jallen@gmail.com";
aliases = {
co = "checkout";
ci = "commit";
cia = "commit --amend";
s = "status";
st = "status";
b = "branch";
# p = "pull --rebase";
pu = "push";
};
};
programs.command-not-found.enable = true;
home.packages = with pkgs; [
nixfmt
deadnix
];
}