mirror of
https://github.com/Theaninova/TheaninovOS.git
synced 2025-12-12 19:46:20 +00:00
add intellij, add discord
This commit is contained in:
22
README.md
Normal file
22
README.md
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
# Home Manager Configuration
|
||||||
|
|
||||||
|
Rebuild the configuration
|
||||||
|
```sh
|
||||||
|
reload-home-manager-config
|
||||||
|
```
|
||||||
|
|
||||||
|
## Initial Setup on a new machine
|
||||||
|
|
||||||
|
Enable flakes
|
||||||
|
|
||||||
|
`configuration.nix`
|
||||||
|
```nix
|
||||||
|
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||||
|
```
|
||||||
|
|
||||||
|
```sh
|
||||||
|
git clone git@github.com:Theaninova/home-manager-config.git ~/.config/home-manager
|
||||||
|
nix build '.#homeConfigurations.theaninova.activationPackage'
|
||||||
|
./result/activate
|
||||||
|
```
|
||||||
|
After that reload the shell
|
||||||
18
packages.nix
18
packages.nix
@@ -1,8 +1,16 @@
|
|||||||
{ pkgs }:
|
{ pkgs }: with pkgs; [
|
||||||
|
|
||||||
let
|
|
||||||
nixTools = with pkgs; [
|
|
||||||
cachix
|
cachix
|
||||||
lorri
|
lorri
|
||||||
|
|
||||||
|
# chat apps
|
||||||
|
(discord.override {
|
||||||
|
withOpenASAR = true;
|
||||||
|
withVencord = true;
|
||||||
|
})
|
||||||
|
|
||||||
|
# development
|
||||||
|
(import ./packages/intellij.nix { inherit pkgs;
|
||||||
|
version = "2023.2.4";
|
||||||
|
build = "232.10203.10";
|
||||||
|
})
|
||||||
];
|
];
|
||||||
in nixTools
|
|
||||||
|
|||||||
7
packages/intellij.nix
Normal file
7
packages/intellij.nix
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
{ pkgs, version, build }: pkgs.jetbrains.idea-ultimate.overrideAttrs(prev: {
|
||||||
|
version = "${version}";
|
||||||
|
build_number = "${build}";
|
||||||
|
src = builtins.fetchurl {
|
||||||
|
url = "https://download.jetbrains.com/idea/ideaIU-${version}.tar.gz";
|
||||||
|
};
|
||||||
|
});
|
||||||
Reference in New Issue
Block a user