Update configuration.nix

This commit is contained in:
Aaron Honeycutt 2024-01-16 18:39:15 +00:00
parent 876e468639
commit 807a30d49d

View file

@ -1,15 +1,9 @@
{ config, pkgs, ... }:
{
# Import other configuration modules
# (hardware-configuration.nix is autogenerated upon installation)
# paths in nix expressions are always relative the file which defines them
imports =
[
./hardware-configuration.nix
"${builtins.fetchTarball "https://github.com/nix-community/disko/archive/master.tar.gz"}/module.nix"
./disko-config.nix
# ./programs.nix
# ./hardware-configuration.nix
];
# Latest kernel
@ -37,17 +31,6 @@
# Enter keyboard layout
services.xserver.layout = "us";
# Enable Flatpak
xdg = {
portal = {
enable = true;
extraPortals = with pkgs; [
xdg-desktop-portal-wlr
xdg-desktop-portal-kde
];
};
};
# Define user accounts
users.users.aaronh = {
description = "Aaron Honeycutt";
@ -61,33 +44,6 @@
];
};
programs.bash = {
shellAliases = {
generations = "sudo nix-env -p /nix/var/nix/profiles/system --list-generations";
nix-upgrade = "sudo nixos-rebuild switch --upgrade";
};
};
programs.git = {
lfs.enable = true;
config = {
color = {
ui = "auto";
};
color.status = {
added = "green bold";
changed = "yellow bold";
untracked = "red bold";
};
push = {
autoSetupRemote = "true";
};
init = {
defaultBranch = "main";
};
};
};
# Allow Unfree
nixpkgs.config.allowUnfree = true;