mirror of
https://gitlab.com/ahoneybun/nix-configs.git
synced 2025-05-12 11:14:02 -06:00
Update configuration.nix
This commit is contained in:
parent
876e468639
commit
807a30d49d
1 changed files with 1 additions and 45 deletions
|
@ -1,15 +1,9 @@
|
||||||
{ config, pkgs, ... }:
|
{ 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 =
|
imports =
|
||||||
[
|
[
|
||||||
./hardware-configuration.nix
|
# ./hardware-configuration.nix
|
||||||
"${builtins.fetchTarball "https://github.com/nix-community/disko/archive/master.tar.gz"}/module.nix"
|
|
||||||
./disko-config.nix
|
|
||||||
# ./programs.nix
|
|
||||||
];
|
];
|
||||||
|
|
||||||
# Latest kernel
|
# Latest kernel
|
||||||
|
@ -37,17 +31,6 @@
|
||||||
# Enter keyboard layout
|
# Enter keyboard layout
|
||||||
services.xserver.layout = "us";
|
services.xserver.layout = "us";
|
||||||
|
|
||||||
# Enable Flatpak
|
|
||||||
xdg = {
|
|
||||||
portal = {
|
|
||||||
enable = true;
|
|
||||||
extraPortals = with pkgs; [
|
|
||||||
xdg-desktop-portal-wlr
|
|
||||||
xdg-desktop-portal-kde
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
# Define user accounts
|
# Define user accounts
|
||||||
users.users.aaronh = {
|
users.users.aaronh = {
|
||||||
description = "Aaron Honeycutt";
|
description = "Aaron Honeycutt";
|
||||||
|
@ -60,33 +43,6 @@
|
||||||
neofetch
|
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
|
# Allow Unfree
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue