[home][modules] split vscode out of develop
This commit is contained in:
@@ -0,0 +1,16 @@
|
|||||||
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
home.username = "origami";
|
||||||
|
home.homeDirectory = "/home/origami";
|
||||||
|
|
||||||
|
programs.home-manager.enable = true;
|
||||||
|
|
||||||
|
imports = [
|
||||||
|
(import ./modules/shell.nix)
|
||||||
|
(import ./modules/shell-develop.nix)
|
||||||
|
];
|
||||||
|
|
||||||
|
nixpkgs.config.allowUnfreePredicate = _: true;
|
||||||
|
home.stateVersion = "23.11";
|
||||||
|
}
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
{ pkgs, lib, config, ... }:
|
|
||||||
{
|
|
||||||
programs.gnupg = {
|
|
||||||
enable = true;
|
|
||||||
agent = {
|
|
||||||
enable = true;
|
|
||||||
enableSSHSupport = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -31,9 +31,4 @@
|
|||||||
"l" = "log --date-order --graph --pretty=\"format:%C(yellow)%h%Cblue%d%Creset %s %C(white) %an, %ar%Creset\"";
|
"l" = "log --date-order --graph --pretty=\"format:%C(yellow)%h%Cblue%d%Creset %s %C(white) %an, %ar%Creset\"";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.vscode = {
|
|
||||||
enable = true;
|
|
||||||
package = pkgs.vscode.fhs;
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
{ config, lib, pkgs, ... }:
|
||||||
|
{
|
||||||
|
programs.vscode = {
|
||||||
|
enable = true;
|
||||||
|
package = pkgs.vscode.fhs;
|
||||||
|
};
|
||||||
|
}
|
||||||
+2
-1
@@ -9,7 +9,8 @@
|
|||||||
imports = [
|
imports = [
|
||||||
(import ./modules/shell.nix)
|
(import ./modules/shell.nix)
|
||||||
(import ./modules/desktop.nix)
|
(import ./modules/desktop.nix)
|
||||||
(import ./modules/develop.nix)
|
(import ./modules/shell-develop.nix)
|
||||||
|
(import ./modules/vscode.nix)
|
||||||
(import ./modules/gnome-dconf.nix)
|
(import ./modules/gnome-dconf.nix)
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user