Allow unfree packages in nix-shells and add steam
This commit is contained in:
13
nix/home.nix
13
nix/home.nix
@@ -16,12 +16,11 @@ in
|
|||||||
home.stateVersion = "24.05";
|
home.stateVersion = "24.05";
|
||||||
|
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
google-chrome
|
google-chrome
|
||||||
gh
|
gh unzip fastfetch
|
||||||
unzip
|
prismlauncher steam
|
||||||
fastfetch
|
|
||||||
prismlauncher
|
|
||||||
|
|
||||||
# Override nerdfont to install JetBrains only.
|
# Override nerdfont to install JetBrains only.
|
||||||
(nerdfonts.override { fonts = [ "JetBrainsMono" ]; })
|
(nerdfonts.override { fonts = [ "JetBrainsMono" ]; })
|
||||||
@@ -78,10 +77,12 @@ in
|
|||||||
# macOS-only apps
|
# macOS-only apps
|
||||||
++ optionals isDarwin [];
|
++ optionals isDarwin [];
|
||||||
|
|
||||||
|
home.file = {
|
||||||
|
".config/nixpkgs/config.nix".text = "{ allowUnfree = true; }";
|
||||||
|
} // (if isLinux then {
|
||||||
# Cursor theme fix (Linux)
|
# Cursor theme fix (Linux)
|
||||||
home.file = mkIf isLinux {
|
|
||||||
".icons/default".source = "${pkgs.bibata-cursors}/share/icons/Bibata-Modern-Classic"; # Set file content as another file
|
".icons/default".source = "${pkgs.bibata-cursors}/share/icons/Bibata-Modern-Classic"; # Set file content as another file
|
||||||
};
|
} else {});
|
||||||
|
|
||||||
home.sessionVariables = {
|
home.sessionVariables = {
|
||||||
EDITOR = "nvim";
|
EDITOR = "nvim";
|
||||||
|
|||||||
Reference in New Issue
Block a user