Move dev tools to a dedicated file

This commit is contained in:
Paul-Henri Froidmont 2020-03-16 15:01:59 +01:00
parent 52f2d25300
commit 1bf3431b47
4 changed files with 16 additions and 5 deletions

11
configs/dev.nix Normal file
View file

@ -0,0 +1,11 @@
{ config, lib, pkgs, ... }:
{
home-manager.users.froidmpa = {pkgs, config, ...}: {
nixpkgs.config.allowUnfree = true;
home.packages = with pkgs; [
jdk
jetbrains.idea-ultimate
maven
];
};
}

View file

@ -1,13 +1,12 @@
{ config, lib, pkgs, ... }: { config, lib, pkgs, ... }:
{ {
nixpkgs.config.allowUnfree = true;
nixpkgs.config.packageOverrides = pkgs: { nixpkgs.config.packageOverrides = pkgs: {
nur = import (builtins.fetchTarball "https://github.com/nix-community/NUR/archive/master.tar.gz") { nur = import (builtins.fetchTarball "https://github.com/nix-community/NUR/archive/master.tar.gz") {
inherit pkgs; inherit pkgs;
}; };
}; };
home.packages = with pkgs; [ home.packages = with pkgs; [
jetbrains.idea-ultimate
keepassxc keepassxc
krita krita
riot-desktop riot-desktop

View file

@ -5,6 +5,7 @@
../../configs/system.nix ../../configs/system.nix
../../configs/user.nix ../../configs/user.nix
../../configs/virtualisation.nix ../../configs/virtualisation.nix
../../configs/dev.nix
../../configs/games.nix ../../configs/games.nix
]; ];
@ -31,6 +32,7 @@
time.timeZone = "Europe/Amsterdam"; time.timeZone = "Europe/Amsterdam";
services.xserver.videoDrivers = ["amdgpu"]; services.xserver.videoDrivers = ["amdgpu"];
services.sshd.enable = true;
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
]; ];
} }

View file

@ -4,6 +4,7 @@
./hardware-configuration.nix ./hardware-configuration.nix
../../configs/system.nix ../../configs/system.nix
../../configs/user.nix ../../configs/user.nix
../../configs/dev.nix
../../configs/virtualisation.nix ../../configs/virtualisation.nix
]; ];
@ -54,8 +55,6 @@
home-manager.users.froidmpa = {pkgs, config, ...}: { home-manager.users.froidmpa = {pkgs, config, ...}: {
home.packages = with pkgs; [ home.packages = with pkgs; [
slack-dark slack-dark
maven
jdk
]; ];
services.network-manager-applet.enable = true; services.network-manager-applet.enable = true;
services.blueman-applet.enable = true; services.blueman-applet.enable = true;