feat: Add python development services
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
let
|
||||
pythonPkgs = import ./python.nix { inherit pkgs; };
|
||||
in
|
||||
{
|
||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||
users.users = {
|
||||
@@ -10,7 +12,7 @@
|
||||
extraGroups = [ "networkmanager" "wheel" ];
|
||||
packages = with pkgs; [
|
||||
kdePackages.kate
|
||||
];
|
||||
] ++ pythonPkgs;
|
||||
hashedPassword = "$6$El6e2NhPrhVFjbFU$imlGZqUiizWw5fMP/ib0CeboOcFhYjIVb8oR1V1dP2NjDeri3jMoUm4ZABOB2uAF8UEDjAGHhFuZxhtbHg647/";
|
||||
};
|
||||
|
||||
@@ -20,11 +22,11 @@
|
||||
extraGroups = [ "networkmanager" "wheel" ];
|
||||
packages = with pkgs; [
|
||||
kdePackages.kate
|
||||
];
|
||||
] ++ pythonPkgs;
|
||||
shell = pkgs.zsh;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
# Home Manager configs per user
|
||||
home-manager = {
|
||||
useGlobalPkgs = true;
|
||||
|
||||
9
users/python.nix
Normal file
9
users/python.nix
Normal file
@@ -0,0 +1,9 @@
|
||||
{ pkgs, ... }:
|
||||
[
|
||||
(pkgs.buildFHSEnv {
|
||||
name = "pixi";
|
||||
runScript = "pixi";
|
||||
targetPkgs = pkgs: with pkgs; [ pixi ];
|
||||
})
|
||||
pkgs.uv
|
||||
]
|
||||
Reference in New Issue
Block a user