Fixed nixvim, stylix version, add sudo users to the docker group
This commit is contained in:
parent
afcf41fbb5
commit
ba7c0b1d2a
|
@ -9,9 +9,15 @@ with lib;
|
||||||
let
|
let
|
||||||
# Nixvim
|
# Nixvim
|
||||||
nixvim = import (
|
nixvim = import (
|
||||||
builtins.fetchGit {
|
# builtins.fetchGit {
|
||||||
url = "https://github.com/nix-community/nixvim";
|
# url = "https://github.com/nix-community/nixvim";
|
||||||
# ref = "nixos-24.05";
|
# # ref = "nixos-24.05";
|
||||||
|
# }
|
||||||
|
pkgs.fetchFromGitHub {
|
||||||
|
owner = "nix-community";
|
||||||
|
repo = "nixvim";
|
||||||
|
rev = "master";
|
||||||
|
sha256 = "sha256-xPf3jjDBDA9oMVnWU5DJ8gINCq2EPiupvF/4rD/0eEI=";
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -20,8 +26,8 @@ let
|
||||||
pkgs.fetchFromGitHub {
|
pkgs.fetchFromGitHub {
|
||||||
owner = "danth";
|
owner = "danth";
|
||||||
repo = "stylix";
|
repo = "stylix";
|
||||||
rev = "1ff9d37d27377bfe8994c24a8d6c6c1734ffa116";
|
rev = "master";
|
||||||
sha256 = "0dz8h1ga8lnfvvmvsf6iqvnbvxrvx3qxi0y8s8b72066mqgvy8y5";
|
sha256 = "sha256-8uTKUHkaU980J5kRnLYrdwmjZYB88eBGUk1oVgIUHFE=";
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -84,7 +90,10 @@ in
|
||||||
users.users = attrsets.concatMapAttrs (name: value: {
|
users.users = attrsets.concatMapAttrs (name: value: {
|
||||||
${name} = {
|
${name} = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
extraGroups = mkIf value.sudo [ "wheel" ];
|
extraGroups = mkIf value.sudo [
|
||||||
|
"wheel"
|
||||||
|
"docker"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
}) config.machine.users;
|
}) config.machine.users;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue