Compare commits

...

2 Commits

Author SHA1 Message Date
e32305803a
what in tarnation
why does NixOS make the users' primary group "users" instead of the
username like every other distro???
2024-02-20 08:39:30 +01:00
a0b0d8cab8
Update Hyprland input 2024-02-20 06:08:45 +01:00
3 changed files with 8 additions and 5 deletions

7
flake.lock generated
View File

@ -103,17 +103,16 @@
"xdph": "xdph" "xdph": "xdph"
}, },
"locked": { "locked": {
"lastModified": 1708270483, "lastModified": 1708399455,
"narHash": "sha256-zV84926bj/nDC3/eTXXCeOtKMYHogUGfyr+39fVqXfE=", "narHash": "sha256-6a1IK/djmOtEFe0wrcb2+lTibvYH1mFB+NxbDI2OZhQ=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "Hyprland", "repo": "Hyprland",
"rev": "fae47ef462d1d7969afe001070839391ba6dbaa8", "rev": "86be75dd97b5633b8c0aa6bdcb3346fa871a8480",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "hyprwm", "owner": "hyprwm",
"repo": "Hyprland", "repo": "Hyprland",
"rev": "fae47ef462d1d7969afe001070839391ba6dbaa8",
"type": "github" "type": "github"
} }
}, },

View File

@ -35,7 +35,7 @@
}; };
# no inputs.nixpkgs.follows so i can use cachix # no inputs.nixpkgs.follows so i can use cachix
hyprland.url = "github:hyprwm/Hyprland/fae47ef462d1d7969afe001070839391ba6dbaa8"; hyprland.url = "github:hyprwm/Hyprland";
hyprwm-contrib = { hyprwm-contrib = {
url = "github:hyprwm/contrib"; url = "github:hyprwm/contrib";

View File

@ -9,6 +9,8 @@ in
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
users.users.nullbite = { users.users.nullbite = {
uid = 1000;
group = "nullbite";
isNormalUser = true; isNormalUser = true;
extraGroups = [ "wheel" ] ++ lib.optional config.nixfiles.packageSets.fun.enable "input"; extraGroups = [ "wheel" ] ++ lib.optional config.nixfiles.packageSets.fun.enable "input";
packages = with pkgs; [ packages = with pkgs; [
@ -18,6 +20,8 @@ in
shell = pkgs.zsh; shell = pkgs.zsh;
}; };
users.groups.nullbite.gid = 1000;
# shell config # shell config
programs.zsh.enable = true; programs.zsh.enable = true;
programs.fzf = { programs.fzf = {