Update nixpkgs, home-manager
Remove pass-audit for now as it's failing to build, to add back later Move jupyter config into separate file since I don't need it on my personal PC Move home/config directory contents to home/prog since it's (currently at least) all programming related things, attach to relevant files
This commit is contained in:
parent
9aea6a9b2c
commit
8312e0d328
18
flake.lock
18
flake.lock
|
@ -203,11 +203,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1710532761,
|
||||
"narHash": "sha256-SUXGZNrXX05YA9G6EmgupxhOr3swI1gcxLUeDMUhrEY=",
|
||||
"lastModified": 1711604890,
|
||||
"narHash": "sha256-vbI/gxRTq/gHW1Q8z6D/7JG/qGNl3JTimUDX+MwnC3A=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "206f457fffdb9a73596a4cb2211a471bd305243d",
|
||||
"rev": "3142bdcc470e1e291e1fbe942fd69e06bd00c5df",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -273,11 +273,11 @@
|
|||
},
|
||||
"nixpkgs_2": {
|
||||
"locked": {
|
||||
"lastModified": 1710631334,
|
||||
"narHash": "sha256-rL5LSYd85kplL5othxK5lmAtjyMOBg390sGBTb3LRMM=",
|
||||
"lastModified": 1711523803,
|
||||
"narHash": "sha256-UKcYiHWHQynzj6CN/vTcix4yd1eCu1uFdsuarupdCQQ=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "c75037bbf9093a2acb617804ee46320d6d1fea5a",
|
||||
"rev": "2726f127c15a4cc9810843b96cad73c7eb39e443",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -314,11 +314,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1710420453,
|
||||
"narHash": "sha256-F/JfpPRpIkFqvYEtt55lZyaFd+/vhn9SrcQrXIZCkOU=",
|
||||
"lastModified": 1711224130,
|
||||
"narHash": "sha256-RyOvyQASi5lvKLH5ISiGGkdX1eJxYF25aQALGfN9U0k=",
|
||||
"owner": "danth",
|
||||
"repo": "stylix",
|
||||
"rev": "eb64377e66122de7a36ca7a611aa97ddf4c8e5e8",
|
||||
"rev": "53d3e5d5b36a5227b906e00d7e884dcfb7852403",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
{...}: {
|
||||
xdg.configFile = {
|
||||
"pypoetry/config.toml".source = ./poetry-config.toml;
|
||||
"jupyter/jupyter_server_config.py".source = ./jupyter_server_config.py;
|
||||
"jupyter/jupyter_nbconvert_config.py".source =
|
||||
./jupyter_nbconvert_config.py;
|
||||
};
|
||||
}
|
|
@ -1,6 +1,5 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
|
@ -11,7 +10,6 @@
|
|||
./zsh/default.nix
|
||||
./starship/default.nix
|
||||
./bottom/default.nix
|
||||
./config/default.nix
|
||||
./scripts/default.nix
|
||||
];
|
||||
stylix.targets = {
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
enable = true;
|
||||
package =
|
||||
pkgs.pass-nodmenu.withExtensions
|
||||
(exts: with exts; [pass-otp pass-update pass-audit pass-import]);
|
||||
(exts: with exts; [pass-otp pass-update pass-import]); # pass-audit
|
||||
settings = {
|
||||
PASSWORD_STORE_DIR = "${config.home.homeDirectory}/.password-store";
|
||||
PASSWORD_STORE_ENABLE_EXTENSIONS = "true";
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
{pkgs, ...}: {
|
||||
xdg.configFile."ruff/pyproject.toml".source = ./ruff.toml;
|
||||
xdg.configFile = {
|
||||
"ruff/pyproject.toml".source = ./ruff.toml;
|
||||
"pypoetry/config.toml".source = ./pypoetry.toml;
|
||||
"ipython/profile_default/ipython_config.json".source = ./ipython_config.json;
|
||||
};
|
||||
home.packages = with pkgs; [
|
||||
# Nix
|
||||
nil
|
||||
|
@ -15,20 +19,11 @@
|
|||
lua-language-server
|
||||
stylua
|
||||
|
||||
# Fortran
|
||||
gfortran
|
||||
fortls
|
||||
|
||||
# Python
|
||||
ruff
|
||||
|
||||
## Python - JupyterLab
|
||||
(python3.withPackages
|
||||
(ps:
|
||||
with ps; [
|
||||
jupyterlab
|
||||
jupyterlab-git
|
||||
(callPackage ./catppuccin_jupyterlab/default.nix {})
|
||||
]))
|
||||
# Fortran
|
||||
gfortran
|
||||
fortls
|
||||
];
|
||||
}
|
||||
|
|
16
home/prog/jupyter/default.nix
Normal file
16
home/prog/jupyter/default.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
{pkgs, ...}: {
|
||||
xdg.configFile = {
|
||||
"jupyter/jupyter_server_config.py".source = ./jupyter_server_config.py;
|
||||
"jupyter/jupyter_nbconvert_config.py".source =
|
||||
./jupyter_nbconvert_config.py;
|
||||
};
|
||||
home.packages = with pkgs; [
|
||||
(python3.withPackages
|
||||
(ps:
|
||||
with ps; [
|
||||
jupyterlab
|
||||
jupyterlab-git
|
||||
(callPackage ./catppuccin_jupyterlab/default.nix {})
|
||||
]))
|
||||
];
|
||||
}
|
Loading…
Reference in a new issue