From 807a30d49da9558905a70035376ca02a9f0f8631 Mon Sep 17 00:00:00 2001 From: Aaron Honeycutt Date: Tue, 16 Jan 2024 18:39:15 +0000 Subject: [PATCH] Update configuration.nix --- configuration.nix | 46 +--------------------------------------------- 1 file changed, 1 insertion(+), 45 deletions(-) diff --git a/configuration.nix b/configuration.nix index 2f9d34b..a8bfccc 100644 --- a/configuration.nix +++ b/configuration.nix @@ -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"; @@ -60,33 +43,6 @@ neofetch ]; }; - - 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;