Update common.nix
This commit is contained in:
parent
be7ee37c98
commit
61537e1ebb
1 changed files with 10 additions and 21 deletions
31
common.nix
31
common.nix
|
|
@ -7,12 +7,22 @@ imports = [
|
||||||
./settings/gnome.nix
|
./settings/gnome.nix
|
||||||
./settings/locale.nix
|
./settings/locale.nix
|
||||||
./settings/audio.nix
|
./settings/audio.nix
|
||||||
|
./settings/users.nix
|
||||||
# Add all your hosts here
|
# Add all your hosts here
|
||||||
];
|
];
|
||||||
|
|
||||||
# Use latest kernel
|
# Use latest kernel
|
||||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||||
|
|
||||||
|
# Allow unfree packages
|
||||||
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
|
# Services
|
||||||
|
services.flatpak.enable = true;
|
||||||
|
|
||||||
|
# Enable networking
|
||||||
|
networking.networkmanager.enable = true;
|
||||||
|
|
||||||
# Shell aliases
|
# Shell aliases
|
||||||
environment.shellAliases = {
|
environment.shellAliases = {
|
||||||
update = "sudo nixos-rebuild switch --upgrade --option tarball-ttl 0";
|
update = "sudo nixos-rebuild switch --upgrade --option tarball-ttl 0";
|
||||||
|
|
@ -25,27 +35,6 @@ environment.systemPackages = with pkgs; [
|
||||||
git
|
git
|
||||||
];
|
];
|
||||||
|
|
||||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
|
||||||
users.users.fred = {
|
|
||||||
isNormalUser = true;
|
|
||||||
description = "fred";
|
|
||||||
extraGroups = [ "networkmanager" "wheel" ];
|
|
||||||
packages = with pkgs; [
|
|
||||||
bazaar
|
|
||||||
fastfetch
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
# Allow unfree packages
|
|
||||||
nixpkgs.config.allowUnfree = true;
|
|
||||||
|
|
||||||
# Services
|
|
||||||
services.flatpak.enable = true;
|
|
||||||
|
|
||||||
######################
|
|
||||||
##BORING STUFF BELOW##
|
|
||||||
######################
|
|
||||||
# Enable networking
|
|
||||||
networking.networkmanager.enable = true;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue