home-manager on mac nixos
This commit is contained in:
@@ -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
36
hosts/mac-nixos/home.nix
Normal 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
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user