added the code module and like right optopn idrn

This commit is contained in:
joy 2024-10-18 10:21:53 +02:00
parent bd94372c51
commit 1ad690b5a7
6 changed files with 8 additions and 7 deletions

View file

@ -96,11 +96,11 @@
},
"locked": {
"dir": "pkgs/firefox-addons",
"lastModified": 1729198744,
"narHash": "sha256-sJXRhptdX5y77360VgcW2fYlZoazg/lOh4upx8nUiVo=",
"lastModified": 1729224206,
"narHash": "sha256-NL0uWIk+dQ9fByVZvErTjEK0nPBoMmoWUg9+tKmTVr8=",
"owner": "rycee",
"repo": "nur-expressions",
"rev": "fb7273920513b4c1ef70a79a83f87292b54ae91a",
"rev": "88d8432e88da24b9bc66807efaee04158c266573",
"type": "gitlab"
},
"original": {

View file

@ -4,7 +4,7 @@
hypridle.enable = true;
led.enable = true;
gnome.enable = true;
code.enable = true;
home-manager.users.joy.code.enable = true;
imports = [
./hardware.nix

View file

@ -8,7 +8,7 @@
code.enable = lib.mkEnableOption "";
};
config = lib.mkIf config.code.enable {
home-manager.users.joy.programs.vscode = {
programs.vscode = {
enable = true;
package = pkgs.vscodium;
extensions = with pkgs.vscode-extensions; [

View file

@ -14,6 +14,7 @@
./tmux
./mail
./yazi
./code
./misc
];
}

View file

@ -16,7 +16,7 @@
ip = "sh ~/nix/modules/programs/home/zsh/scripts/ip.sh";
rb = "sh ~/nix/modules/programs/home/zsh/scripts/rebuild.sh";
fr = "doas systemctl reboot --firmware";
up = "nix flake update ~/nix";
up = "nix flake update /home/joy/nix";
del = "doas nix-collect-garbage -d";
dn = "dotnet new console";
dr = "dotnet run";

View file

@ -2,6 +2,6 @@
users.users.joy = {
isNormalUser = true;
description = "joy";
extraGroups = ["wheel"];
extraGroups = ["wheel" "networkmanager"];
};
}