Merge Dev with main #21
1 changed files with 75 additions and 44 deletions
113
README.md
113
README.md
|
|
@ -25,19 +25,6 @@ This is a **NixOS configuration** designed to evoke the pixel-perfect charm of *
|
||||||
NixOS-95/
|
NixOS-95/
|
||||||
├── flake.nix
|
├── flake.nix
|
||||||
├── flake.lock
|
├── flake.lock
|
||||||
├── Configurations/
|
|
||||||
│ └── Hosts/
|
|
||||||
│ └── Default/
|
|
||||||
│ ├── configuration.nix
|
|
||||||
│ ├── hardware-configuration.nix
|
|
||||||
│ ├── user.nix
|
|
||||||
│ ├── home/
|
|
||||||
│ │ ├── home.nix
|
|
||||||
│ │ ├── desktop.nix
|
|
||||||
│ │ └── user-packages.nix
|
|
||||||
│ └── variables/
|
|
||||||
│ ├── system-vars.nix
|
|
||||||
│ └── user-vars.nix
|
|
||||||
├── Modules/
|
├── Modules/
|
||||||
│ ├── Applications/
|
│ ├── Applications/
|
||||||
│ └── System/
|
│ └── System/
|
||||||
|
|
@ -60,38 +47,87 @@ NixOS-95/
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
### Wallpaper and Aesthetics
|
|
||||||
|
|
||||||
Wallpapers are located in `./Resources/Images/Wallpapers`.
|
|
||||||
Some have been lightly edited. Originals were created by [aconfuseddragon](https://aconfuseddragon.itch.io/downloads).
|
|
||||||
|
|
||||||
> I **do not own** any of the icons or wallpapers.
|
|
||||||
> If you showcase or redistribute them, **please credit the original artists**.
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## Installation - BETA
|
## Installation - BETA
|
||||||
|
|
||||||
> Requires a NixOS install.
|
> Requirements:
|
||||||
|
nix.settings.experimental-features = ["nix-command" "flakes" "pipe-operators"];
|
||||||
|
Enabled
|
||||||
|
|
||||||
1. **Clone the repository**:
|
|
||||||
|
|
||||||
```bash
|
### 1. Add Nyx to your flake
|
||||||
git clone https://github.com/peritia-system/NixOS-95.git NixOS
|
|
||||||
cd NixOS
|
```nix
|
||||||
|
# flake.nix
|
||||||
|
{
|
||||||
|
inputs = {
|
||||||
|
nixos95.url = "github:Peritia-System/NixOS-95/Beta-import";
|
||||||
|
nixos95.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
}
|
||||||
|
outputs = inputs @ { nixpkgs, nixos95, ... }: {
|
||||||
|
nixosConfigurations.HOSTNAME = nixpkgs.lib.nixosSystem {
|
||||||
|
modules = [ ./configuration.nix ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
2. **Switch to Dev**:
|
### 2. Import in Configuration.nix
|
||||||
|
|
||||||
```bash
|
```nix
|
||||||
git switch Dev
|
# configuration.nix
|
||||||
|
{
|
||||||
|
imports = [ inputs.self.nixosModules.nixos95 ];
|
||||||
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
3. **Regenerate hardware configuration**:
|
### 3. Enable modules
|
||||||
|
|
||||||
```bash
|
```nix
|
||||||
sudo nixos-generate-config --dir Configurations/Hosts/Default
|
{
|
||||||
|
# configuration.nix / or sth imported by the main config
|
||||||
|
nixos95 = {
|
||||||
|
enable = true;
|
||||||
|
user = "alex";
|
||||||
|
|
||||||
|
taskbar = {
|
||||||
|
homeIcon = "whisker-menu-button";
|
||||||
|
battery-plugin.enable = false;
|
||||||
|
applications = [
|
||||||
|
{
|
||||||
|
name = "Brave";
|
||||||
|
description = "Browse the Web";
|
||||||
|
pkg = pkgs.brave;
|
||||||
|
icon = "world";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name = "Signal";
|
||||||
|
description = "Private Messenger";
|
||||||
|
pkg = pkgs.signal-desktop;
|
||||||
|
icon = "signal";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name = "Obsidian";
|
||||||
|
description = "Markdown Editor";
|
||||||
|
exe = "obsidian %u";
|
||||||
|
icon = "obsidian";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name = "Spotify";
|
||||||
|
description = "Spotify Music";
|
||||||
|
exe = "spotify %U";
|
||||||
|
icon = "spotify";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
keybinds = {
|
||||||
|
commands = [
|
||||||
|
{ key="<Super>l"; exe="xflock4"; }
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
4. **Build and switch to the system configuration**:
|
4. **Build and switch to the system configuration**:
|
||||||
|
|
@ -99,12 +135,7 @@ Some have been lightly edited. Originals were created by [aconfuseddragon](https
|
||||||
```bash
|
```bash
|
||||||
sudo NIX_CONFIG="experimental-features = nix-command flakes pipe-operators" nixos-rebuild switch --flake .#default
|
sudo NIX_CONFIG="experimental-features = nix-command flakes pipe-operators" nixos-rebuild switch --flake .#default
|
||||||
```
|
```
|
||||||
|
w
|
||||||
5. **Apply user settings with Home Manager**:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
home-manager switch
|
|
||||||
```
|
|
||||||
|
|
||||||
### Experimental Features
|
### Experimental Features
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue