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": { "locked": {
"dir": "pkgs/firefox-addons", "dir": "pkgs/firefox-addons",
"lastModified": 1729198744, "lastModified": 1729224206,
"narHash": "sha256-sJXRhptdX5y77360VgcW2fYlZoazg/lOh4upx8nUiVo=", "narHash": "sha256-NL0uWIk+dQ9fByVZvErTjEK0nPBoMmoWUg9+tKmTVr8=",
"owner": "rycee", "owner": "rycee",
"repo": "nur-expressions", "repo": "nur-expressions",
"rev": "fb7273920513b4c1ef70a79a83f87292b54ae91a", "rev": "88d8432e88da24b9bc66807efaee04158c266573",
"type": "gitlab" "type": "gitlab"
}, },
"original": { "original": {

View file

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

View file

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

View file

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

View file

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

View file

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