Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kdeplasma #15

Merged
merged 26 commits into from
Jan 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
chosen coordinate system (**they work on every machine**), fundamental
laws of computing (**how to build my fancy flashy terminals**) ☁️

![img](parts/pkgs/docs/docs/assets/images/showcase_3.png)
![img](parts/pkgs/docs/docs/assets/images/showcase_1.png)
![img](parts/pkgs/docs/docs/assets/images/showcase_2.png)

For more info refer to the [documentation](https://tsandrini.github.io/tensorfiles/).
The project is also hosted on [FlakeHub](https://flakehub.com/flake/tsandrini/tensorfiles/).
Expand All @@ -37,17 +37,20 @@ The project is also hosted on [FlakeHub](https://flakehub.com/flake/tsandrini/te
will yield errors. This behaviour makes it hard to reason about the dependencies
of individual modules, which is why I opted for the behaviour --
import everything and enable only the parts that you need.
- Use **profiles** to define and share common configurations packs. Profiles
typically don't create and add any new functionality but instead preconfigure
stuff.
- Isolate home manager functionality in such a way so it can be used in non
NixOS environments 👥

## 3. Software 🖥️

TODO
I have a bunch of machines running some nix or directly NixOS with a variety
of setups. To discern between them but still use the same base I use nixos/hm
modules and their appropriate profiles.

### 3.1. Academia 👩🏽‍💼

TODO comment more?

1. [org-roam](https://www.orgroam.com/): This is the heart of everything that I
do, TODOs, daily journals, scratchpads, notetaking and personal research wiki.
The internal wiki is interlinked with zotero entries as well as anki cards.
Expand Down
2 changes: 1 addition & 1 deletion etc/dotfiles/config/wal/templates/xmobarrc
Binary file added etc/showcase_3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
102 changes: 101 additions & 1 deletion flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 22 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@
};

# Project specific dependencies
disko = {
url = "github:nix-community/disko";
inputs.nixpkgs.follows = "nixpkgs";
};

nh = {
url = "github:viperML/nh";
inputs.nixpkgs.follows = "nixpkgs";
Expand Down Expand Up @@ -85,6 +90,19 @@
url = "github:Exaltia/shadow-nix";
flake = false;
};

spicetify-nix = {
url = "github:the-argus/spicetify-nix";
inputs.nixpkgs.follows = "nixpkgs";
};

plasma-manager = {
url = "github:pjones/plasma-manager";
inputs.nixpkgs.follows = "nixpkgs";
inputs.home-manager.follows = "home-manager";
};

# kde2nix.url = "github:nix-community/kde2nix";
};

# Here you can add additional binary cache substituers that you trust.
Expand Down Expand Up @@ -156,6 +174,10 @@
# - mySimpleModule.nix
imports = flatten (mapModules ./parts (x: x));

# We use the default `systems` defined by the `nix-systems` flake, if you
# need any additional systems, simply add them in the following manner
#
# `systems = (import inputs.systems) ++ [ "armv7l-linux" ];`
systems = import inputs.systems;
flake.lib = lib.tensorfiles;
};
Expand Down
1 change: 0 additions & 1 deletion parts/homes/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
modules =
[
{
# nixpkgs.pkgs = lib.mkDefault args.pkgs;
nixpkgs.overlays = extraOverlays;
nixpkgs.config.allowUnfree = true;
}
Expand Down
7 changes: 6 additions & 1 deletion parts/homes/tsandrini@jetbundle/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,16 @@
# security.agenix.enable = true;
programs.pywal.enable = true;
programs.shadow-nix.enable = true;
programs.spicetify.enable = true;
services.pywalfox-native.enable = true;
services.keepassxc.enable = true;
};

programs.shadow-client.forceDriver = "iHD";
services.syncthing = {
enable = true;
tray.enable = true;
};

home.username = "tsandrini";
home.homeDirectory = "/home/tsandrini";
Expand All @@ -46,7 +51,7 @@
libreoffice
neofetch
pavucontrol
spotify
# spotify
texlive.combined.scheme-medium
zotero
lapack
Expand Down
11 changes: 11 additions & 0 deletions parts/hosts/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -86,5 +86,16 @@ in {
})
];
});
jetbundle = withSystem "x86_64-linux" (args:
mkHost args "jetbundle" {
withHomeManager = true;
extraOverlays = with inputs; [
emacs-overlay.overlay
neovim-nightly-overlay.overlay
(final: _prev: {
nur = import inputs.nur {pkgs = final;};
})
];
});
};
}
1 change: 1 addition & 0 deletions parts/hosts/jetbundle/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
!.gitignore
Loading
Loading