Compare commits
77 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 59f4b37a2c | |||
| 2e7d8fef40 | |||
| e193f075e2 | |||
| 34400702a8 | |||
| 01ac3de3ff | |||
| 6b5d28d12b | |||
| dd9d2ec9d3 | |||
| bb04a5d1fd | |||
| 861afe8e83 | |||
| 45639b77cf | |||
| 82ca6c1bf1 | |||
| ae8b9fde5d | |||
| d2e772a986 | |||
| e981f03e03 | |||
| fd30f8d1fd | |||
| 5b89c099c9 | |||
| bda8f85445 | |||
| bfbd2d8abe | |||
| ced9937c09 | |||
| a187fb5ebf | |||
| 1b74cf48d0 | |||
| 87f2adb3c9 | |||
| 0cdbf3dc00 | |||
| 64237058a2 | |||
| 5ffe2fe09f | |||
| 407b909aab | |||
| c819cb6c01 | |||
| e1d99a0279 | |||
| 3a1ce68ccf | |||
| 2574f4935f | |||
| c6aafcbcca | |||
| d33af4042e | |||
| 6492901dda | |||
| 1c9fee8aca | |||
| 79963a171b | |||
| bfb74c0f6e | |||
| 01589d2fb7 | |||
| db7066bb35 | |||
| a7a6593e40 | |||
| 4d979ce197 | |||
| 0a5a621c99 | |||
| d557938f1d | |||
| 28c1409053 | |||
| a6b08c1a98 | |||
| 2232374d24 | |||
| 4ed41b1279 | |||
| 2ec8cd6aaa | |||
| 697be1193f | |||
| 82e38f7cd6 | |||
| 97f24c894b | |||
| cc179c30a3 | |||
| 0f4d658121 | |||
| 836c18359f | |||
| a155d3fba1 | |||
| a549fafc72 | |||
| 47e6fcf96f | |||
| 35ca5c8bc0 | |||
| 923dac6f63 | |||
| 9423554aa4 | |||
| d9fc308a51 | |||
| eef4be887a | |||
| 2576eacb6b | |||
| 9290d27146 | |||
| b93b0a6dd5 | |||
| 387cc54577 | |||
| 1598b620b9 | |||
| 2ec607e5c0 | |||
| 61f9633006 | |||
| f3859db703 | |||
| 867847a059 | |||
| 467f7d47f0 | |||
| 5d7d8e4b4f | |||
| 94f91e9a6d | |||
| 904529022f | |||
| 6f6145f1c0 | |||
| e209ddd352 | |||
| 0c8d4ae178 |
@@ -1,46 +1,6 @@
|
|||||||
# Nix Sakamoto
|
# Getting Started
|
||||||
A rewrite of the original Sakamoto NixOS configuration.
|
|
||||||
|
|
||||||
## Installation
|
`nixos-rebuild switch --flake LOCATION#HOST_NAME`
|
||||||
Installing Sakamoto Nix configuration may vary on your current operating system.
|
`home-manager switch --flake LOCATION#HOST_NAME`
|
||||||
|
|
||||||
| Hosts | Description |
|
Change `LOCATION` and `HOST_NAME`.
|
||||||
|----------|--------------|
|
|
||||||
| hakase | gaming desktop (linux) |
|
|
||||||
| sakamoto | \[unavailable] server that uses containers (linux) |
|
|
||||||
| nano | \[unavailable] windows configuration |
|
|
||||||
| macos | macos configuration |
|
|
||||||
|
|
||||||
**Note: Replace `${Hosts}` with one of the options from the table above.**
|
|
||||||
|
|
||||||
### Linux Installation
|
|
||||||
|
|
||||||
1. Install [Nix](https://nixos.org).
|
|
||||||
2. Clone this directory.
|
|
||||||
```sh
|
|
||||||
$ git clone https://git.sakamoto.dev/kenji/nixos.git ~/.config/nixos
|
|
||||||
```
|
|
||||||
3. Create a hardware-configuration.conf
|
|
||||||
```sh
|
|
||||||
$ sudo nixos-generate-config --dir ~/.config/nixos/hosts/${Hosts}/
|
|
||||||
```
|
|
||||||
4. ⚠️ Modify `config.nix` that suits your configuration. **Be sure to edit `config.nix`! Most especially `myConfig.essentials.Username`. Otherwise, your OS could break!!!**
|
|
||||||
5. Rebuild.
|
|
||||||
```sh
|
|
||||||
$ sudo nixos-rebuild switch --flake ~/.config/nixos/hosts/#${Hosts}
|
|
||||||
```
|
|
||||||
6. Install unstable channel (fixes `pkgs.fish` misconfiguration).
|
|
||||||
```sh
|
|
||||||
$ nix-channel --add https://nixos.org/channels/nixos-unstable nixos nix-channel --update
|
|
||||||
```
|
|
||||||
### MacOS (Darwin) Installation
|
|
||||||
1. Install [Nix](https://nixos.org).
|
|
||||||
2. Clone this directory.
|
|
||||||
```sh
|
|
||||||
$ git clone https://git.sakamoto.dev/kenji/nixos.git ~/.config/nixos
|
|
||||||
```
|
|
||||||
3. ⚠️ Modify `config.nix` that suits your configuration. **Be sure to edit `config.nix`! Most especially `myConfig.essentials.Username`. Otherwise, configuration would not work!!!**
|
|
||||||
4. Rebuild.
|
|
||||||
```sh
|
|
||||||
$ sudo nix run nix-darwin --extra-experimental-features "nix-command flakes" -- switch --flake ~/.config/nixos#macos
|
|
||||||
```
|
|
||||||
|
|||||||
-76
@@ -1,76 +0,0 @@
|
|||||||
{
|
|
||||||
myConfig = {
|
|
||||||
essentials = {
|
|
||||||
# !!! replace it with your own, else system might malfunction.
|
|
||||||
Username = "kenji";
|
|
||||||
};
|
|
||||||
general = {
|
|
||||||
Terminal = {
|
|
||||||
font = "JetBrainsMono Nerd Font";
|
|
||||||
size = "18";
|
|
||||||
shell = "fish"; # or zsh
|
|
||||||
aliases = {
|
|
||||||
};
|
|
||||||
};
|
|
||||||
allowUnfree = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
nixos = {
|
|
||||||
Hostname = "hakase";
|
|
||||||
Timezone = "America/Chicago";
|
|
||||||
|
|
||||||
Boot = {
|
|
||||||
mode = "systemd"; # systemd or grub
|
|
||||||
};
|
|
||||||
Gaming = {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
Apps = {
|
|
||||||
packages = pkgs:
|
|
||||||
with pkgs; [
|
|
||||||
jellyfin-media-player
|
|
||||||
];
|
|
||||||
};
|
|
||||||
Hyprland = {
|
|
||||||
monitors = [
|
|
||||||
"DP-1, highres@165,0x1080,auto"
|
|
||||||
"DP-2, highres@highrr, 0x0,auto"
|
|
||||||
"HDMI-A-1, preferred, 20000x20000,1"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
Git = {
|
|
||||||
user = "";
|
|
||||||
email = "";
|
|
||||||
defaultBranch = "master";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
optionals = {
|
|
||||||
Builds = {
|
|
||||||
trustedUsers = [
|
|
||||||
"@groups"
|
|
||||||
];
|
|
||||||
buildMachines = [
|
|
||||||
{
|
|
||||||
hostName = "";
|
|
||||||
sshUser = "";
|
|
||||||
sshKey = "";
|
|
||||||
system = "";
|
|
||||||
supportedFeatures = ["big-parallel" "kvm" "nixos-test"];
|
|
||||||
}
|
|
||||||
];
|
|
||||||
};
|
|
||||||
Ssh = {
|
|
||||||
extraConfig = ''
|
|
||||||
Host macair
|
|
||||||
User biscuit
|
|
||||||
HostName 192.168.68.81
|
|
||||||
|
|
||||||
Host gitea.sakamoto.dev
|
|
||||||
User kenji
|
|
||||||
ProxyCommand cloudflared access ssh --hostname %h
|
|
||||||
HostName gitea.sakamoto.dev
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
Generated
+152
-592
@@ -1,5 +1,48 @@
|
|||||||
{
|
{
|
||||||
"nodes": {
|
"nodes": {
|
||||||
|
"ags": {
|
||||||
|
"inputs": {
|
||||||
|
"astal": "astal",
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1744557573,
|
||||||
|
"narHash": "sha256-XAyj0iDuI51BytJ1PwN53uLpzTDdznPDQFG4RwihlTQ=",
|
||||||
|
"owner": "aylur",
|
||||||
|
"repo": "ags",
|
||||||
|
"rev": "3ed9737bdbc8fc7a7c7ceef2165c9109f336bff6",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "aylur",
|
||||||
|
"repo": "ags",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"ags_2": {
|
||||||
|
"inputs": {
|
||||||
|
"astal": "astal_3",
|
||||||
|
"nixpkgs": [
|
||||||
|
"hyprpanel",
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1736090999,
|
||||||
|
"narHash": "sha256-B5CJuHqfJrzPa7tObK0H9669/EClSHpa/P7B9EuvElU=",
|
||||||
|
"owner": "aylur",
|
||||||
|
"repo": "ags",
|
||||||
|
"rev": "5527c3c07d92c11e04e7fd99d58429493dba7e3c",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "aylur",
|
||||||
|
"repo": "ags",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"aquamarine": {
|
"aquamarine": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"hyprutils": [
|
"hyprutils": [
|
||||||
@@ -20,11 +63,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1751740947,
|
"lastModified": 1745357003,
|
||||||
"narHash": "sha256-35040CHH7P3JGmhGVfEb2oJHL/A5mI2IXumhkxrBnao=",
|
"narHash": "sha256-jYwzQkv1r7HN/4qrAuKp+NR4YYNp2xDrOX5O9YVqkWo=",
|
||||||
"owner": "hyprwm",
|
"owner": "hyprwm",
|
||||||
"repo": "aquamarine",
|
"repo": "aquamarine",
|
||||||
"rev": "dfc1db15a08c4cd234288f66e1199c653495301f",
|
"rev": "a19cf76ee1a15c1c12083fa372747ce46387289f",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -33,45 +76,66 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"darwin": {
|
"astal": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
|
"ags",
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1751313918,
|
"lastModified": 1742571008,
|
||||||
"narHash": "sha256-HsJM3XLa43WpG+665aGEh8iS8AfEwOIQWk3Mke3e7nk=",
|
"narHash": "sha256-5WgfJAeBpxiKbTR/gJvxrGYfqQRge5aUDcGKmU1YZ1Q=",
|
||||||
"owner": "lnl7",
|
"owner": "aylur",
|
||||||
"repo": "nix-darwin",
|
"repo": "astal",
|
||||||
"rev": "e04a388232d9a6ba56967ce5b53a8a6f713cdfcf",
|
"rev": "dc0e5d37abe9424c53dcbd2506a4886ffee6296e",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "lnl7",
|
"owner": "aylur",
|
||||||
"repo": "nix-darwin",
|
"repo": "astal",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"devshell": {
|
"astal_2": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"nixovim",
|
|
||||||
"nixvim",
|
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1735644329,
|
"lastModified": 1747093850,
|
||||||
"narHash": "sha256-tO3HrHriyLvipc4xr+Ewtdlo7wM1OjXNjlWRgmM7peY=",
|
"narHash": "sha256-SaHAtzUyfm4urAcUEZlBFn7dWhoDqA6kaeFZ11CCTf8=",
|
||||||
"owner": "numtide",
|
"owner": "aylur",
|
||||||
"repo": "devshell",
|
"repo": "astal",
|
||||||
"rev": "f7795ede5b02664b57035b3b757876703e2c3eac",
|
"rev": "4820a3e37cc8eb81db6ed991528fb23472a8e4de",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "numtide",
|
"owner": "aylur",
|
||||||
"repo": "devshell",
|
"repo": "astal",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"astal_3": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"hyprpanel",
|
||||||
|
"ags",
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1735172721,
|
||||||
|
"narHash": "sha256-rtEAwGsHSppnkR3Qg3eRJ6Xh/F84IY9CrBBLzYabalY=",
|
||||||
|
"owner": "aylur",
|
||||||
|
"repo": "astal",
|
||||||
|
"rev": "6c84b64efc736e039a8a10774a4a1bf772c37aa2",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "aylur",
|
||||||
|
"repo": "astal",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -91,145 +155,6 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"flake-compat_2": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1733328505,
|
|
||||||
"narHash": "sha256-NeCCThCEP3eCl2l/+27kNNK7QrwZB1IJCrXfrbv5oqU=",
|
|
||||||
"rev": "ff81ac966bb2cae68946d5ed5fc4994f96d0ffec",
|
|
||||||
"revCount": 69,
|
|
||||||
"type": "tarball",
|
|
||||||
"url": "https://api.flakehub.com/f/pinned/edolstra/flake-compat/1.1.0/01948eb7-9cba-704f-bbf3-3fa956735b52/source.tar.gz"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"type": "tarball",
|
|
||||||
"url": "https://flakehub.com/f/edolstra/flake-compat/1.tar.gz"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"flake-parts": {
|
|
||||||
"inputs": {
|
|
||||||
"nixpkgs-lib": "nixpkgs-lib"
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1738453229,
|
|
||||||
"narHash": "sha256-7H9XgNiGLKN1G1CgRh0vUL4AheZSYzPm+zmZ7vxbJdo=",
|
|
||||||
"owner": "hercules-ci",
|
|
||||||
"repo": "flake-parts",
|
|
||||||
"rev": "32ea77a06711b758da0ad9bd6a844c5740a87abd",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "hercules-ci",
|
|
||||||
"repo": "flake-parts",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"flake-parts_2": {
|
|
||||||
"inputs": {
|
|
||||||
"nixpkgs-lib": [
|
|
||||||
"nixovim",
|
|
||||||
"nixvim",
|
|
||||||
"nixpkgs"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1738453229,
|
|
||||||
"narHash": "sha256-7H9XgNiGLKN1G1CgRh0vUL4AheZSYzPm+zmZ7vxbJdo=",
|
|
||||||
"owner": "hercules-ci",
|
|
||||||
"repo": "flake-parts",
|
|
||||||
"rev": "32ea77a06711b758da0ad9bd6a844c5740a87abd",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "hercules-ci",
|
|
||||||
"repo": "flake-parts",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"flake-parts_3": {
|
|
||||||
"inputs": {
|
|
||||||
"nixpkgs-lib": [
|
|
||||||
"nur",
|
|
||||||
"nixpkgs"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1733312601,
|
|
||||||
"narHash": "sha256-4pDvzqnegAfRkPwO3wmwBhVi/Sye1mzps0zHWYnP88c=",
|
|
||||||
"owner": "hercules-ci",
|
|
||||||
"repo": "flake-parts",
|
|
||||||
"rev": "205b12d8b7cd4802fbcb8e8ef6a0f1408781a4f9",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "hercules-ci",
|
|
||||||
"repo": "flake-parts",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"flake-utils": {
|
|
||||||
"inputs": {
|
|
||||||
"systems": "systems"
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1731533236,
|
|
||||||
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
|
|
||||||
"owner": "numtide",
|
|
||||||
"repo": "flake-utils",
|
|
||||||
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "numtide",
|
|
||||||
"repo": "flake-utils",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"flake-utils_2": {
|
|
||||||
"inputs": {
|
|
||||||
"systems": "systems_4"
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1731533236,
|
|
||||||
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
|
|
||||||
"owner": "numtide",
|
|
||||||
"repo": "flake-utils",
|
|
||||||
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "numtide",
|
|
||||||
"repo": "flake-utils",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"git-hooks": {
|
|
||||||
"inputs": {
|
|
||||||
"flake-compat": [
|
|
||||||
"nixovim",
|
|
||||||
"nixvim",
|
|
||||||
"flake-compat"
|
|
||||||
],
|
|
||||||
"gitignore": "gitignore_2",
|
|
||||||
"nixpkgs": [
|
|
||||||
"nixovim",
|
|
||||||
"nixvim",
|
|
||||||
"nixpkgs"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1737465171,
|
|
||||||
"narHash": "sha256-R10v2hoJRLq8jcL4syVFag7nIGE7m13qO48wRIukWNg=",
|
|
||||||
"owner": "cachix",
|
|
||||||
"repo": "git-hooks.nix",
|
|
||||||
"rev": "9364dc02281ce2d37a1f55b6e51f7c0f65a75f17",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "cachix",
|
|
||||||
"repo": "git-hooks.nix",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"gitignore": {
|
"gitignore": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
@@ -252,29 +177,6 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"gitignore_2": {
|
|
||||||
"inputs": {
|
|
||||||
"nixpkgs": [
|
|
||||||
"nixovim",
|
|
||||||
"nixvim",
|
|
||||||
"git-hooks",
|
|
||||||
"nixpkgs"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1709087332,
|
|
||||||
"narHash": "sha256-HG2cCnktfHsKV0s4XW83gU3F57gaTljL9KNSuG6bnQs=",
|
|
||||||
"owner": "hercules-ci",
|
|
||||||
"repo": "gitignore.nix",
|
|
||||||
"rev": "637db329424fd7e46cf4185293b9cc8c88c95394",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "hercules-ci",
|
|
||||||
"repo": "gitignore.nix",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"home-manager": {
|
"home-manager": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
@@ -282,33 +184,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1751578154,
|
"lastModified": 1747106332,
|
||||||
"narHash": "sha256-7zfDzmaidDESMZpdmzK/+APeKN432CJuphHHETX88Ls=",
|
"narHash": "sha256-mOdRWJzJAMp0hF8aSResyp8BeOO5VoSng1uqtEq+8xI=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "7044c3eced5319148c09fe9612659765b9297d4a",
|
"rev": "535a541b429c1e89f0955c160df1d6d2bfeaf802",
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "nix-community",
|
|
||||||
"repo": "home-manager",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"home-manager_2": {
|
|
||||||
"inputs": {
|
|
||||||
"nixpkgs": [
|
|
||||||
"nixovim",
|
|
||||||
"nixvim",
|
|
||||||
"nixpkgs"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1738878603,
|
|
||||||
"narHash": "sha256-fmhq8B3MvQLawLbMO+LWLcdC2ftLMmwSk+P29icJ3tE=",
|
|
||||||
"owner": "nix-community",
|
|
||||||
"repo": "home-manager",
|
|
||||||
"rev": "433799271274c9f2ab520a49527ebfe2992dcfbd",
|
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -333,11 +213,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1749155331,
|
"lastModified": 1745948457,
|
||||||
"narHash": "sha256-XR9fsI0zwLiFWfqi/pdS/VD+YNorKb3XIykgTg4l1nA=",
|
"narHash": "sha256-lzTV10FJTCGNtMdgW5YAhCAqezeAzKOd/97HbQK8GTU=",
|
||||||
"owner": "hyprwm",
|
"owner": "hyprwm",
|
||||||
"repo": "hyprcursor",
|
"repo": "hyprcursor",
|
||||||
"rev": "45fcc10b4c282746d93ec406a740c43b48b4ef80",
|
"rev": "ac903e80b33ba6a88df83d02232483d99f327573",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -362,11 +242,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1751808145,
|
"lastModified": 1745015490,
|
||||||
"narHash": "sha256-OXgL0XaKMmfX2rRQkt9SkJw+QNfv0jExlySt1D6O72g=",
|
"narHash": "sha256-apEJ9zoSzmslhJ2vOKFcXTMZLUFYzh1ghfB6Rbw3Low=",
|
||||||
"owner": "hyprwm",
|
"owner": "hyprwm",
|
||||||
"repo": "hyprgraphics",
|
"repo": "hyprgraphics",
|
||||||
"rev": "b841473a0bd4a1a74a0b64f1ec2ab199035c349f",
|
"rev": "60754910946b4e2dc1377b967b7156cb989c5873",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -389,15 +269,15 @@
|
|||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
],
|
],
|
||||||
"pre-commit-hooks": "pre-commit-hooks",
|
"pre-commit-hooks": "pre-commit-hooks",
|
||||||
"systems": "systems_2",
|
"systems": "systems",
|
||||||
"xdph": "xdph"
|
"xdph": "xdph"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1751995875,
|
"lastModified": 1747052147,
|
||||||
"narHash": "sha256-ud9sl1RjmzAzalH2ocmGPs182xvr7GktjVIYvzJamwo=",
|
"narHash": "sha256-c0e3V7Rqu2DZuix1lRBXedInzSskow8ssQSsmqkW38o=",
|
||||||
"owner": "hyprwm",
|
"owner": "hyprwm",
|
||||||
"repo": "Hyprland",
|
"repo": "Hyprland",
|
||||||
"rev": "9517d0eaa4ef93de67dc80fecca7a826f7ad556d",
|
"rev": "da3583fd5e86044d02af9fcfac84724e02545336",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -418,11 +298,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1749046714,
|
"lastModified": 1743714874,
|
||||||
"narHash": "sha256-kymV5FMnddYGI+UjwIw8ceDjdeg7ToDVjbHCvUlhn14=",
|
"narHash": "sha256-yt8F7NhMFCFHUHy/lNjH/pjZyIDFNk52Q4tivQ31WFo=",
|
||||||
"owner": "hyprwm",
|
"owner": "hyprwm",
|
||||||
"repo": "hyprland-protocols",
|
"repo": "hyprland-protocols",
|
||||||
"rev": "613878cb6f459c5e323aaafe1e6f388ac8a36330",
|
"rev": "3a5c2bda1c1a4e55cc1330c782547695a93f05b2",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -450,11 +330,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1749154592,
|
"lastModified": 1737634706,
|
||||||
"narHash": "sha256-DO7z5CeT/ddSGDEnK9mAXm1qlGL47L3VAHLlLXoCjhE=",
|
"narHash": "sha256-nGCibkfsXz7ARx5R+SnisRtMq21IQIhazp6viBU8I/A=",
|
||||||
"owner": "hyprwm",
|
"owner": "hyprwm",
|
||||||
"repo": "hyprland-qt-support",
|
"repo": "hyprland-qt-support",
|
||||||
"rev": "4c8053c3c888138a30c3a6c45c2e45f5484f2074",
|
"rev": "8810df502cdee755993cb803eba7b23f189db795",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -486,11 +366,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1750371812,
|
"lastModified": 1745951494,
|
||||||
"narHash": "sha256-D868K1dVEACw17elVxRgXC6hOxY+54wIEjURztDWLk8=",
|
"narHash": "sha256-2dModE32doiyQMmd6EDAQeZnz+5LOs6KXyE0qX76WIg=",
|
||||||
"owner": "hyprwm",
|
"owner": "hyprwm",
|
||||||
"repo": "hyprland-qtutils",
|
"repo": "hyprland-qtutils",
|
||||||
"rev": "b13c7481e37856f322177010bdf75fccacd1adc8",
|
"rev": "4be1d324faf8d6e82c2be9f8510d299984dfdd2e",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -515,11 +395,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1750371198,
|
"lastModified": 1746655412,
|
||||||
"narHash": "sha256-/iuJ1paQOBoSLqHflRNNGyroqfF/yvPNurxzcCT0cAE=",
|
"narHash": "sha256-kVQ0bHVtX6baYxRWWIh4u3LNJZb9Zcm2xBeDPOGz5BY=",
|
||||||
"owner": "hyprwm",
|
"owner": "hyprwm",
|
||||||
"repo": "hyprlang",
|
"repo": "hyprlang",
|
||||||
"rev": "cee01452bca58d6cadb3224e21e370de8bc20f0b",
|
"rev": "557241780c179cf7ef224df392f8e67dab6cef83",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -528,6 +408,27 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"hyprpanel": {
|
||||||
|
"inputs": {
|
||||||
|
"ags": "ags_2",
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1747029715,
|
||||||
|
"narHash": "sha256-F75IlhzUF+VTPOq+u2Exj+6PjHWPkLcBWDnhO+Vvch4=",
|
||||||
|
"owner": "Jas-SinghFSU",
|
||||||
|
"repo": "Hyprpanel",
|
||||||
|
"rev": "2bb1449fb6ad60a736ce6fb4de2037d7655545ed",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "Jas-SinghFSU",
|
||||||
|
"repo": "Hyprpanel",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"hyprutils": {
|
"hyprutils": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
@@ -540,11 +441,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1751888065,
|
"lastModified": 1746635225,
|
||||||
"narHash": "sha256-F2SV9WGqgtRsXIdUrl3sRe0wXlQD+kRRZcSfbepjPJY=",
|
"narHash": "sha256-W9G9bb0zRYDBRseHbVez0J8qVpD5QbizX67H/vsudhM=",
|
||||||
"owner": "hyprwm",
|
"owner": "hyprwm",
|
||||||
"repo": "hyprutils",
|
"repo": "hyprutils",
|
||||||
"rev": "a8229739cf36d159001cfc203871917b83fdf917",
|
"rev": "674ea57373f08b7609ce93baff131117a0dfe70d",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -565,11 +466,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1751881472,
|
"lastModified": 1739870480,
|
||||||
"narHash": "sha256-meB0SnXbwIe2trD041MLKEv6R7NZ759QwBcVIhlSBfE=",
|
"narHash": "sha256-SiDN5BGxa/1hAsqhgJsS03C3t2QrLgBT8u+ENJ0Qzwc=",
|
||||||
"owner": "hyprwm",
|
"owner": "hyprwm",
|
||||||
"repo": "hyprwayland-scanner",
|
"repo": "hyprwayland-scanner",
|
||||||
"rev": "8fb426b3e5452fd9169453fd6c10f8c14ca37120",
|
"rev": "206367a08dc5ac4ba7ad31bdca391d098082e64b",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -578,234 +479,22 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ixx": {
|
|
||||||
"inputs": {
|
|
||||||
"flake-utils": [
|
|
||||||
"nixovim",
|
|
||||||
"nixvim",
|
|
||||||
"nuschtosSearch",
|
|
||||||
"flake-utils"
|
|
||||||
],
|
|
||||||
"nixpkgs": [
|
|
||||||
"nixovim",
|
|
||||||
"nixvim",
|
|
||||||
"nuschtosSearch",
|
|
||||||
"nixpkgs"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1729958008,
|
|
||||||
"narHash": "sha256-EiOq8jF4Z/zQe0QYVc3+qSKxRK//CFHMB84aYrYGwEs=",
|
|
||||||
"owner": "NuschtOS",
|
|
||||||
"repo": "ixx",
|
|
||||||
"rev": "9fd01aad037f345350eab2cd45e1946cc66da4eb",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "NuschtOS",
|
|
||||||
"ref": "v0.0.6",
|
|
||||||
"repo": "ixx",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"matugen": {
|
|
||||||
"inputs": {
|
|
||||||
"nixpkgs": [
|
|
||||||
"nixpkgs"
|
|
||||||
],
|
|
||||||
"systems": "systems_3"
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1745334376,
|
|
||||||
"narHash": "sha256-GZAesQW51EwCEB9w5caxgi87LiAMhVfP6GqZmet9VZc=",
|
|
||||||
"owner": "InioX",
|
|
||||||
"repo": "Matugen",
|
|
||||||
"rev": "4619cca93513470dc2a1833d9a138297cbccaf2e",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "InioX",
|
|
||||||
"repo": "Matugen",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nix-darwin": {
|
|
||||||
"inputs": {
|
|
||||||
"nixpkgs": [
|
|
||||||
"nixovim",
|
|
||||||
"nixvim",
|
|
||||||
"nixpkgs"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1738743987,
|
|
||||||
"narHash": "sha256-O3bnAfsObto6l2tQOmQlrO6Z2kD6yKwOWfs7pA0CpOc=",
|
|
||||||
"owner": "lnl7",
|
|
||||||
"repo": "nix-darwin",
|
|
||||||
"rev": "ae406c04577ff9a64087018c79b4fdc02468c87c",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "lnl7",
|
|
||||||
"repo": "nix-darwin",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nixovim": {
|
|
||||||
"inputs": {
|
|
||||||
"flake-parts": "flake-parts",
|
|
||||||
"nixpkgs": [
|
|
||||||
"nixpkgs"
|
|
||||||
],
|
|
||||||
"nixvim": "nixvim",
|
|
||||||
"rust-overlay": "rust-overlay"
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1751734292,
|
|
||||||
"narHash": "sha256-AeW333kvHQPHyhF1MH4ogtAuQmReNeCOJmOcvD2IHcM=",
|
|
||||||
"ref": "refs/heads/master",
|
|
||||||
"rev": "13cd454fb30d75a204ed245ec094210635cc22a6",
|
|
||||||
"revCount": 67,
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://git.sakamoto.dev/kenji/nixovim.git"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://git.sakamoto.dev/kenji/nixovim.git"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1738797219,
|
"lastModified": 1746904237,
|
||||||
"narHash": "sha256-KRwX9Z1XavpgeSDVM/THdFd6uH8rNm/6R+7kIbGa+2s=",
|
"narHash": "sha256-3e+AVBczosP5dCLQmMoMEogM57gmZ2qrVSrmq9aResQ=",
|
||||||
"owner": "NixOS",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "1da52dd49a127ad74486b135898da2cef8c62665",
|
"rev": "d89fc19e405cb2d55ce7cc114356846a0ee5e956",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "NixOS",
|
"owner": "nixos",
|
||||||
"ref": "nixpkgs-unstable",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nixpkgs-lib": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1738452942,
|
|
||||||
"narHash": "sha256-vJzFZGaCpnmo7I6i416HaBLpC+hvcURh/BQwROcGIp8=",
|
|
||||||
"type": "tarball",
|
|
||||||
"url": "https://github.com/NixOS/nixpkgs/archive/072a6db25e947df2f31aab9eccd0ab75d5b2da11.tar.gz"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"type": "tarball",
|
|
||||||
"url": "https://github.com/NixOS/nixpkgs/archive/072a6db25e947df2f31aab9eccd0ab75d5b2da11.tar.gz"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nixpkgs_2": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1736320768,
|
|
||||||
"narHash": "sha256-nIYdTAiKIGnFNugbomgBJR+Xv5F1ZQU+HfaBqJKroC0=",
|
|
||||||
"owner": "NixOS",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"rev": "4bc9c909d9ac828a039f288cf872d16d38185db8",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "NixOS",
|
|
||||||
"ref": "nixpkgs-unstable",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nixpkgs_3": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1751271578,
|
|
||||||
"narHash": "sha256-P/SQmKDu06x8yv7i0s8bvnnuJYkxVGBWLWHaU+tt4YY=",
|
|
||||||
"owner": "NixOS",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"rev": "3016b4b15d13f3089db8a41ef937b13a9e33a8df",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "NixOS",
|
|
||||||
"ref": "nixos-unstable",
|
"ref": "nixos-unstable",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixvim": {
|
|
||||||
"inputs": {
|
|
||||||
"devshell": "devshell",
|
|
||||||
"flake-compat": "flake-compat_2",
|
|
||||||
"flake-parts": "flake-parts_2",
|
|
||||||
"git-hooks": "git-hooks",
|
|
||||||
"home-manager": "home-manager_2",
|
|
||||||
"nix-darwin": "nix-darwin",
|
|
||||||
"nixpkgs": "nixpkgs",
|
|
||||||
"nuschtosSearch": "nuschtosSearch",
|
|
||||||
"treefmt-nix": "treefmt-nix"
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1739353096,
|
|
||||||
"narHash": "sha256-w/T2uYCoq4k6K46GX2CMGWsKfMvcqnxC41LIgnvGifE=",
|
|
||||||
"owner": "nix-community",
|
|
||||||
"repo": "nixvim",
|
|
||||||
"rev": "78b6f8e1e5b37a7789216e17a96ebc117660f0e7",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "nix-community",
|
|
||||||
"repo": "nixvim",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nur": {
|
|
||||||
"inputs": {
|
|
||||||
"flake-parts": "flake-parts_3",
|
|
||||||
"nixpkgs": [
|
|
||||||
"nixpkgs"
|
|
||||||
],
|
|
||||||
"treefmt-nix": "treefmt-nix_2"
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1751596056,
|
|
||||||
"narHash": "sha256-YYSPbbr900ciunCWYPIvUbSnnchcMWH907w4LY7uyZs=",
|
|
||||||
"owner": "nix-community",
|
|
||||||
"repo": "NUR",
|
|
||||||
"rev": "8062772f4de4a7ce091bfdb88322e236cffcff30",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "nix-community",
|
|
||||||
"repo": "NUR",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nuschtosSearch": {
|
|
||||||
"inputs": {
|
|
||||||
"flake-utils": "flake-utils_2",
|
|
||||||
"ixx": "ixx",
|
|
||||||
"nixpkgs": [
|
|
||||||
"nixovim",
|
|
||||||
"nixvim",
|
|
||||||
"nixpkgs"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1738508923,
|
|
||||||
"narHash": "sha256-4DaDrQDAIxlWhTjH6h/+xfG05jt3qDZrZE/7zDLQaS4=",
|
|
||||||
"owner": "NuschtOS",
|
|
||||||
"repo": "search",
|
|
||||||
"rev": "86e2038290859006e05ca7201425ea5b5de4aecb",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "NuschtOS",
|
|
||||||
"repo": "search",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"pre-commit-hooks": {
|
"pre-commit-hooks": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-compat": "flake-compat",
|
"flake-compat": "flake-compat",
|
||||||
@@ -816,11 +505,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1750779888,
|
"lastModified": 1746537231,
|
||||||
"narHash": "sha256-wibppH3g/E2lxU43ZQHC5yA/7kIKLGxVEnsnVK1BtRg=",
|
"narHash": "sha256-Wb2xeSyOsCoTCTj7LOoD6cdKLEROyFAArnYoS+noCWo=",
|
||||||
"owner": "cachix",
|
"owner": "cachix",
|
||||||
"repo": "git-hooks.nix",
|
"repo": "git-hooks.nix",
|
||||||
"rev": "16ec914f6fb6f599ce988427d9d94efddf25fe6d",
|
"rev": "fa466640195d38ec97cf0493d6d6882bc4d14969",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -829,73 +518,17 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"quickshell": {
|
|
||||||
"inputs": {
|
|
||||||
"nixpkgs": [
|
|
||||||
"nixpkgs"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1751880110,
|
|
||||||
"narHash": "sha256-5fQ2cetL3rTHqXe2VM3puawL/8u5j6ujBr6Gdt7Iues=",
|
|
||||||
"ref": "refs/heads/master",
|
|
||||||
"rev": "5d7e07508ae3e5487edb1ac5a152120434f091d5",
|
|
||||||
"revCount": 607,
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://git.outfoxxed.me/outfoxxed/quickshell"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://git.outfoxxed.me/outfoxxed/quickshell"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"darwin": "darwin",
|
"ags": "ags",
|
||||||
"flake-utils": "flake-utils",
|
"astal": "astal_2",
|
||||||
"home-manager": "home-manager",
|
"home-manager": "home-manager",
|
||||||
"hyprland": "hyprland",
|
"hyprland": "hyprland",
|
||||||
"matugen": "matugen",
|
"hyprpanel": "hyprpanel",
|
||||||
"nixovim": "nixovim",
|
"nixpkgs": "nixpkgs"
|
||||||
"nixpkgs": "nixpkgs_3",
|
|
||||||
"nur": "nur",
|
|
||||||
"quickshell": "quickshell"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"rust-overlay": {
|
|
||||||
"inputs": {
|
|
||||||
"nixpkgs": "nixpkgs_2"
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1739327257,
|
|
||||||
"narHash": "sha256-rlGK8wxz/e50Z+PQRzuP+m03IrGkhcPGmgkBnkEZ9C8=",
|
|
||||||
"owner": "oxalica",
|
|
||||||
"repo": "rust-overlay",
|
|
||||||
"rev": "e01f2c035b7b8a428c119b183f4cbc55f2eef07c",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "oxalica",
|
|
||||||
"repo": "rust-overlay",
|
|
||||||
"type": "github"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"systems": {
|
"systems": {
|
||||||
"locked": {
|
|
||||||
"lastModified": 1681028828,
|
|
||||||
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
|
||||||
"owner": "nix-systems",
|
|
||||||
"repo": "default",
|
|
||||||
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "nix-systems",
|
|
||||||
"repo": "default",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"systems_2": {
|
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1689347949,
|
"lastModified": 1689347949,
|
||||||
"narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=",
|
"narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=",
|
||||||
@@ -910,79 +543,6 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"systems_3": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1689347949,
|
|
||||||
"narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=",
|
|
||||||
"owner": "nix-systems",
|
|
||||||
"repo": "default-linux",
|
|
||||||
"rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "nix-systems",
|
|
||||||
"repo": "default-linux",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"systems_4": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1681028828,
|
|
||||||
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
|
||||||
"owner": "nix-systems",
|
|
||||||
"repo": "default",
|
|
||||||
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "nix-systems",
|
|
||||||
"repo": "default",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"treefmt-nix": {
|
|
||||||
"inputs": {
|
|
||||||
"nixpkgs": [
|
|
||||||
"nixovim",
|
|
||||||
"nixvim",
|
|
||||||
"nixpkgs"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1738680491,
|
|
||||||
"narHash": "sha256-8X7tR3kFGkE7WEF5EXVkt4apgaN85oHZdoTGutCFs6I=",
|
|
||||||
"owner": "numtide",
|
|
||||||
"repo": "treefmt-nix",
|
|
||||||
"rev": "64dbb922d51a42c0ced6a7668ca008dded61c483",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "numtide",
|
|
||||||
"repo": "treefmt-nix",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"treefmt-nix_2": {
|
|
||||||
"inputs": {
|
|
||||||
"nixpkgs": [
|
|
||||||
"nur",
|
|
||||||
"nixpkgs"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1733222881,
|
|
||||||
"narHash": "sha256-JIPcz1PrpXUCbaccEnrcUS8jjEb/1vJbZz5KkobyFdM=",
|
|
||||||
"owner": "numtide",
|
|
||||||
"repo": "treefmt-nix",
|
|
||||||
"rev": "49717b5af6f80172275d47a418c9719a31a78b53",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "numtide",
|
|
||||||
"repo": "treefmt-nix",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"xdph": {
|
"xdph": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"hyprland-protocols": [
|
"hyprland-protocols": [
|
||||||
@@ -1011,11 +571,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1751300244,
|
"lastModified": 1745871725,
|
||||||
"narHash": "sha256-PFuv1TZVYvQhha0ac53E3YgdtmLShrN0t4T6xqHl0jE=",
|
"narHash": "sha256-M24SNc2flblWGXFkGQfqSlEOzAGZnMc9QG3GH4K/KbE=",
|
||||||
"owner": "hyprwm",
|
"owner": "hyprwm",
|
||||||
"repo": "xdg-desktop-portal-hyprland",
|
"repo": "xdg-desktop-portal-hyprland",
|
||||||
"rev": "6115f3fdcb2c1a57b4a80a69f3c797e47607b90a",
|
"rev": "76bbf1a6b1378e4ab5230bad00ad04bc287c969e",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|||||||
@@ -1,102 +1,102 @@
|
|||||||
{
|
{
|
||||||
description = "A rewrite of the original Sakamoto NixOS config.";
|
description = "A very basic flake";
|
||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
|
||||||
flake-utils.url = "github:numtide/flake-utils";
|
home-manager.url = "github:nix-community/home-manager";
|
||||||
|
home-manager.inputs.nixpkgs.follows = "nixpkgs"; # ensures version follows nixpkgs
|
||||||
nur = {
|
|
||||||
url = "github:nix-community/NUR";
|
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
|
||||||
};
|
|
||||||
|
|
||||||
hyprland.url = "github:hyprwm/Hyprland";
|
hyprland.url = "github:hyprwm/Hyprland";
|
||||||
hyprland.inputs.nixpkgs.follows = "nixpkgs";
|
hyprland.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
|
||||||
home-manager = {
|
astal.url = "github:aylur/astal";
|
||||||
url = "github:nix-community/home-manager";
|
astal.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
|
||||||
};
|
|
||||||
|
|
||||||
darwin = {
|
ags.url = "github:aylur/ags";
|
||||||
url = "github:lnl7/nix-darwin";
|
ags.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
|
||||||
};
|
|
||||||
|
|
||||||
nixovim = {
|
hyprpanel.url = "github:Jas-SinghFSU/Hyprpanel";
|
||||||
url = "git+https://git.sakamoto.dev/kenji/nixovim.git";
|
hyprpanel.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
|
||||||
};
|
|
||||||
|
|
||||||
matugen = {
|
|
||||||
url = "github:/InioX/Matugen";
|
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
|
||||||
};
|
|
||||||
|
|
||||||
quickshell = {
|
|
||||||
url = "git+https://git.outfoxxed.me/outfoxxed/quickshell";
|
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = {
|
outputs = {
|
||||||
self,
|
self,
|
||||||
nixpkgs,
|
nixpkgs,
|
||||||
flake-utils,
|
|
||||||
home-manager,
|
home-manager,
|
||||||
darwin,
|
ags,
|
||||||
|
astal,
|
||||||
|
hyprpanel,
|
||||||
...
|
...
|
||||||
} @ inputs: let
|
} @ inputs: let
|
||||||
config = import ./config.nix;
|
lib = nixpkgs.lib;
|
||||||
|
system = "x86_64-linux";
|
||||||
|
pkgs = nixpkgs.legacyPackages.${system};
|
||||||
|
in {
|
||||||
|
# TODO: migrate to another nix file.
|
||||||
|
# packages.${system}.default = pkgs.stdenv.mkDerivation {
|
||||||
|
# pname = "marble";
|
||||||
|
# src = ./marble;
|
||||||
|
# dontUnpack = true;
|
||||||
|
#
|
||||||
|
# nativeBuildInputs = with pkgs; [
|
||||||
|
# wrapGAppsHook
|
||||||
|
# gobject-introspection
|
||||||
|
# ];
|
||||||
|
#
|
||||||
|
# buildInputs =
|
||||||
|
# (with astal.packages.${system}; [
|
||||||
|
# astal3
|
||||||
|
# io
|
||||||
|
# apps
|
||||||
|
# battery
|
||||||
|
# bluetooth
|
||||||
|
# hyprland
|
||||||
|
# mpris
|
||||||
|
# network
|
||||||
|
# notifd
|
||||||
|
# powerprofiles
|
||||||
|
# tray
|
||||||
|
# wireplumber
|
||||||
|
# ])
|
||||||
|
# ++ (with pkgs; [
|
||||||
|
# gjs
|
||||||
|
# ]);
|
||||||
|
#
|
||||||
|
# preFixup = ''
|
||||||
|
# gappsWrapperArgs+=(
|
||||||
|
# --prefix PATH : ${with pkgs;
|
||||||
|
# lib.makeBinPath [
|
||||||
|
# dart-sass
|
||||||
|
# fzf
|
||||||
|
# ]}
|
||||||
|
# )
|
||||||
|
# '';
|
||||||
|
#
|
||||||
|
# installPhase = ''
|
||||||
|
# mkdir -p $out/bin
|
||||||
|
# install $src $out/bin/marble
|
||||||
|
# '';
|
||||||
|
# }; # END TODO
|
||||||
|
|
||||||
mkArgs = system:
|
nixosConfigurations = {
|
||||||
{
|
biscuit = lib.nixosSystem {
|
||||||
inherit inputs system;
|
specialArgs = {inherit inputs system;};
|
||||||
}
|
|
||||||
// config;
|
|
||||||
|
|
||||||
systems = ["x86_64-linux" "aarch64-linux"];
|
|
||||||
in
|
|
||||||
flake-utils.lib.eachSystem systems (system: let
|
|
||||||
pkgs = import nixpkgs {
|
|
||||||
inherit system;
|
inherit system;
|
||||||
config.allowUnfree = true;
|
modules = [
|
||||||
};
|
./nixos/configuration.nix
|
||||||
args = mkArgs system;
|
];
|
||||||
in {
|
|
||||||
})
|
|
||||||
// {
|
|
||||||
nixosConfigurations = {
|
|
||||||
hakase = nixpkgs.lib.nixosSystem {
|
|
||||||
system = "x86_64-linux";
|
|
||||||
specialArgs = mkArgs "x86_64-linux";
|
|
||||||
modules = [
|
|
||||||
./hosts/hakase/configuration.nix
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
homeConfigurations = {
|
|
||||||
hakase = home-manager.lib.homeManagerConfiguration {
|
|
||||||
pkgs = import nixpkgs {
|
|
||||||
system = "x86_64-linux";
|
|
||||||
config.allowUnfree = true;
|
|
||||||
extraSpecialArgs = mkArgs "x86_64-linux";
|
|
||||||
};
|
|
||||||
modules = [
|
|
||||||
./home/hakase.nix
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
darwinConfigurations = {
|
|
||||||
macos = darwin.lib.darwinSystem {
|
|
||||||
system = "aarch64-darwin";
|
|
||||||
specialArgs = mkArgs "aarch64-darwin";
|
|
||||||
modules = [
|
|
||||||
./hosts/macos/darwin.nix
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
homeConfigurations = {
|
||||||
|
biscuit = home-manager.lib.homeManagerConfiguration {
|
||||||
|
pkgs = import nixpkgs {
|
||||||
|
inherit system;
|
||||||
|
overlays = [inputs.hyprpanel.overlay];
|
||||||
|
};
|
||||||
|
# inherit pkgs;
|
||||||
|
extraSpecialArgs = {inherit inputs system;};
|
||||||
|
modules = [./home-manager/home.nix];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,26 @@
|
|||||||
|
{
|
||||||
|
inputs, outputs, lib, config, pkgs, ...
|
||||||
|
}: {
|
||||||
|
imports = [
|
||||||
|
../modules/editor.nix
|
||||||
|
../modules/terminal.nix
|
||||||
|
../modules/wayland.nix
|
||||||
|
];
|
||||||
|
|
||||||
|
home = {
|
||||||
|
username = "biscuit";
|
||||||
|
homeDirectory = "/home/biscuit";
|
||||||
|
};
|
||||||
|
|
||||||
|
home.packages = [];
|
||||||
|
home.sessionVariables = {};
|
||||||
|
|
||||||
|
programs.git.enable = true;
|
||||||
|
programs.neovim.enable = true;
|
||||||
|
|
||||||
|
systemd.user.startServices = "sd-switch";
|
||||||
|
|
||||||
|
programs.home-manager.enable = true;
|
||||||
|
home.stateVersion = "23.05";
|
||||||
|
}
|
||||||
|
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
{
|
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
inputs,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
imports = [
|
|
||||||
../modules/home/terminal.nix
|
|
||||||
];
|
|
||||||
|
|
||||||
programs.home-manager.enable = true;
|
|
||||||
|
|
||||||
home.packages = [];
|
|
||||||
home.stateVersion = "25.11";
|
|
||||||
}
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
{pkgs, ...}: let
|
|
||||||
info = import ../config.nix;
|
|
||||||
in {
|
|
||||||
imports = [
|
|
||||||
../modules/home/desktop.nix
|
|
||||||
../modules/home/terminal.nix
|
|
||||||
];
|
|
||||||
home.packages = info.myConfig.nixos.Apps.packages pkgs;
|
|
||||||
home.stateVersion = "25.05";
|
|
||||||
}
|
|
||||||
@@ -1,139 +0,0 @@
|
|||||||
{
|
|
||||||
pkgs,
|
|
||||||
myConfig,
|
|
||||||
inputs,
|
|
||||||
lib,
|
|
||||||
specialArgs,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
imports = [
|
|
||||||
inputs.home-manager.nixosModules.home-manager
|
|
||||||
./hardware-configuration.nix
|
|
||||||
../../modules/default/desktop.nix
|
|
||||||
];
|
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
pavucontrol
|
|
||||||
wl-clipboard
|
|
||||||
];
|
|
||||||
|
|
||||||
users = {
|
|
||||||
defaultUserShell = pkgs.${myConfig.general.Terminal.shell};
|
|
||||||
users = {
|
|
||||||
${myConfig.essentials.Username} = {
|
|
||||||
isNormalUser = true;
|
|
||||||
extraGroups = ["wheel" "networkmanager" "input" "video"];
|
|
||||||
initialHashedPassword = "$y$j9T$NHFtSwF4NJtEmgMjy4Xdg.$9WQltjEx3eEfZ7GbpGLW8lBhJtiXPOeIawrxdmx0.vB";
|
|
||||||
useDefaultShell = true;
|
|
||||||
packages = [];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
home-manager = {
|
|
||||||
backupFileExtension = "backup";
|
|
||||||
useGlobalPkgs = true;
|
|
||||||
useUserPackages = true;
|
|
||||||
extraSpecialArgs = specialArgs;
|
|
||||||
users.${myConfig.essentials.Username} = import ../../home/hakase.nix;
|
|
||||||
};
|
|
||||||
|
|
||||||
nixpkgs.config.allowUnfree = myConfig.general.allowUnfree;
|
|
||||||
|
|
||||||
hardware.graphics = {
|
|
||||||
enable = true;
|
|
||||||
enable32Bit = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
i18n.defaultLocale = "en_US.UTF-8";
|
|
||||||
time.timeZone = "${myConfig.nixos.Timezone}";
|
|
||||||
|
|
||||||
boot.loader = {
|
|
||||||
systemd-boot = lib.mkIf (myConfig.nixos.Boot.mode == "systemd") {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
grub = lib.mkIf (myConfig.nixos.Boot.mode == "grub") {
|
|
||||||
efiSupport = true;
|
|
||||||
enable = true;
|
|
||||||
device = "nodev";
|
|
||||||
useOSProber = true;
|
|
||||||
};
|
|
||||||
efi = {
|
|
||||||
canTouchEfiVariables = true;
|
|
||||||
efiSysMountPoint = "/boot";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
programs.ssh.extraConfig = myConfig.optionals.Ssh.extraConfig;
|
|
||||||
|
|
||||||
programs.bash = {
|
|
||||||
interactiveShellInit = ''
|
|
||||||
if [[ $(${pkgs.procps}/bin/ps --no-header --pid=$PPID --format=comm) != "fish" && -z ''${BASH_EXECUTION_STRING} ]]
|
|
||||||
then
|
|
||||||
shopt -q login_shell && LOGIN_OPTION='--login' || LOGIN_OPTION=""
|
|
||||||
exec ${pkgs.fish}/bin/fish $LOGIN_OPTION
|
|
||||||
fi
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
programs = {
|
|
||||||
zsh.enable = true;
|
|
||||||
fish.enable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
services = {
|
|
||||||
displayManager.gdm.enable = true;
|
|
||||||
libinput.enable = true;
|
|
||||||
blueman.enable = true;
|
|
||||||
printing.enable = true;
|
|
||||||
openssh.enable = true;
|
|
||||||
pipewire = {
|
|
||||||
enable = true;
|
|
||||||
alsa.enable = true;
|
|
||||||
alsa.support32Bit = true;
|
|
||||||
pulse.enable = true;
|
|
||||||
|
|
||||||
# lowLatency = {
|
|
||||||
# enable = true;
|
|
||||||
# quantum = 64;
|
|
||||||
# rate = 48000;
|
|
||||||
# };
|
|
||||||
};
|
|
||||||
};
|
|
||||||
# make pipewire realtime-capable
|
|
||||||
security.rtkit.enable = true;
|
|
||||||
|
|
||||||
nix = {
|
|
||||||
distributedBuilds = true;
|
|
||||||
settings = {
|
|
||||||
builders-use-substitutes = true;
|
|
||||||
trusted-users = myConfig.optionals.Builds.trustedUsers;
|
|
||||||
experimental-features = ["nix-command" "flakes"];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
console = {
|
|
||||||
earlySetup = true;
|
|
||||||
font = "${pkgs.terminus_font}/share/consolefonts/ter-132n.psf.gz";
|
|
||||||
packages = with pkgs; [terminus_font];
|
|
||||||
useXkbConfig = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
networking = {
|
|
||||||
networkmanager.enable = true;
|
|
||||||
firewall = {
|
|
||||||
enable = false;
|
|
||||||
allowedTCPPorts = [22 80];
|
|
||||||
allowedUDPPorts = [53];
|
|
||||||
};
|
|
||||||
proxy.default = null;
|
|
||||||
proxy.noProxy = null;
|
|
||||||
};
|
|
||||||
# networking.firewall.allowedTCPPorts = [ ... ];
|
|
||||||
# networking.firewall.allowedUDPPorts = [ ... ];
|
|
||||||
# Or disable the firewall altogether.
|
|
||||||
# networking.firewall.enable = false;
|
|
||||||
|
|
||||||
# networking.proxy.default = "http://user:password@proxy:port/";
|
|
||||||
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
|
|
||||||
system.stateVersion = "25.05";
|
|
||||||
}
|
|
||||||
@@ -1,47 +0,0 @@
|
|||||||
{
|
|
||||||
pkgs,
|
|
||||||
myConfig,
|
|
||||||
inputs,
|
|
||||||
system,
|
|
||||||
mkArgs,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
imports = [
|
|
||||||
../../modules/default/darwin.nix
|
|
||||||
inputs.home-manager.darwinModules.home-manager
|
|
||||||
];
|
|
||||||
# List packages installed in system profile. To search by name, run:
|
|
||||||
# $ nix-env -qaP | grep wget
|
|
||||||
environment.systemPackages = [];
|
|
||||||
|
|
||||||
# Auto upgrade nix package and the daemon service.
|
|
||||||
# services.nix-daemon.enable = true;
|
|
||||||
# services.karabiner-elements.enable = true;
|
|
||||||
# nix.package = pkgs.nix;
|
|
||||||
|
|
||||||
# Necessary for using flakes on this system.
|
|
||||||
nix.settings.experimental-features = "nix-command flakes";
|
|
||||||
nix.settings.trusted-users = myConfig.optionals.Builds.trustedUsers;
|
|
||||||
|
|
||||||
# Create /etc/zshrc that loads the nix-darwin environment.
|
|
||||||
programs.zsh.enable = true; # default shell on catalina
|
|
||||||
programs.fish.enable = true;
|
|
||||||
|
|
||||||
# $ darwin-rebuild changelog
|
|
||||||
system.stateVersion = 5;
|
|
||||||
|
|
||||||
# The platform the configuration will be used on.
|
|
||||||
nixpkgs.hostPlatform = "aarch64-darwin";
|
|
||||||
security.pam.services.sudo_local.touchIdAuth = true;
|
|
||||||
|
|
||||||
users.users.${myConfig.essentials.Username} = {
|
|
||||||
name = "${myConfig.essentials.Username}";
|
|
||||||
home = "/Users/${myConfig.essentials.Username}";
|
|
||||||
# shell = pkgs.${myConfig.general.terminal.Shell}; # no support for nix-darwin, but can be changed via chsh.
|
|
||||||
};
|
|
||||||
|
|
||||||
home-manager.useGlobalPkgs = true;
|
|
||||||
home-manager.useUserPackages = true;
|
|
||||||
home-manager.extraSpecialArgs = mkArgs system;
|
|
||||||
home-manager.users.${myConfig.essentials.Username} = import ../../home/darwin.nix;
|
|
||||||
}
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
{
|
|
||||||
imports = [
|
|
||||||
../../packages/python/default.nix
|
|
||||||
];
|
|
||||||
}
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
{
|
|
||||||
imports = [
|
|
||||||
../../packages/steam/default.nix
|
|
||||||
../../packages/hyprland/default.nix
|
|
||||||
];
|
|
||||||
}
|
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
|
||||||
|
{ ... }: {
|
||||||
|
imports = [
|
||||||
|
../packages/nvim/default.nix
|
||||||
|
];
|
||||||
|
}
|
||||||
@@ -1,17 +0,0 @@
|
|||||||
{
|
|
||||||
imports = [
|
|
||||||
../../packages/fonts/home.nix
|
|
||||||
|
|
||||||
../../packages/firefox/home.nix
|
|
||||||
|
|
||||||
../../packages/hyprland/home.nix
|
|
||||||
../../packages/hyprlock/home.nix
|
|
||||||
../../packages/hypridle/home.nix
|
|
||||||
../../packages/rofi/home.nix
|
|
||||||
../../packages/quickshell/home.nix
|
|
||||||
|
|
||||||
../../packages/mangohud/home.nix
|
|
||||||
|
|
||||||
../../packages/matugen/home.nix
|
|
||||||
];
|
|
||||||
}
|
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
{
|
|
||||||
imports = [
|
|
||||||
../../packages/fish/home.nix
|
|
||||||
../../packages/kitty/home.nix
|
|
||||||
../../packages/neovim/home.nix
|
|
||||||
../../packages/starship/home.nix
|
|
||||||
../../packages/fastfetch/home.nix
|
|
||||||
../../packages/zsh/home.nix
|
|
||||||
../../packages/zoxide/home.nix
|
|
||||||
../../packages/fonts/home.nix
|
|
||||||
|
|
||||||
../../packages/git/home.nix
|
|
||||||
|
|
||||||
../../packages/btop/home.nix
|
|
||||||
../../packages/eza/home.nix
|
|
||||||
|
|
||||||
../../packages/cloudflared/home.nix
|
|
||||||
];
|
|
||||||
}
|
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
{ ... }: {
|
||||||
|
imports = [
|
||||||
|
../system/firefox/default.nix
|
||||||
|
../system/astal/default.nix
|
||||||
|
../system/hyprland/default.nix
|
||||||
|
../system/fonts/default.nix
|
||||||
|
../system/cursor/default.nix
|
||||||
|
../system/development/default.nix
|
||||||
|
../system/theme/default.nix
|
||||||
|
];
|
||||||
|
}
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
{ pkgs, ... }: {
|
||||||
|
imports = [
|
||||||
|
../packages/zsh/default.nix
|
||||||
|
../packages/kitty/default.nix
|
||||||
|
../packages/fastfetch/default.nix
|
||||||
|
];
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
|
||||||
|
{ ... }: {
|
||||||
|
imports = [
|
||||||
|
../packages/hyprland/default.nix
|
||||||
|
../packages/waybar/default.nix
|
||||||
|
../packages/ags/default.nix
|
||||||
|
];
|
||||||
|
}
|
||||||
@@ -0,0 +1,105 @@
|
|||||||
|
{ config, pkgs, inputs, ... }: {
|
||||||
|
imports =
|
||||||
|
[ # Include the results of the hardware scan.
|
||||||
|
./hardware-configuration.nix
|
||||||
|
../modules/system.nix
|
||||||
|
];
|
||||||
|
|
||||||
|
# Bootloader.
|
||||||
|
boot.loader.systemd-boot.enable = true;
|
||||||
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
|
|
||||||
|
networking.hostName = "nixos"; # Define your hostname.
|
||||||
|
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
||||||
|
|
||||||
|
# Enable networking
|
||||||
|
networking.networkmanager.enable = true;
|
||||||
|
|
||||||
|
# Enable bluetooth
|
||||||
|
hardware.bluetooth.enable = true;
|
||||||
|
services.blueman.enable = true;
|
||||||
|
|
||||||
|
# Set your time zone.
|
||||||
|
time.timeZone = "America/Chicago";
|
||||||
|
|
||||||
|
# Select internationalisation properties.
|
||||||
|
i18n.defaultLocale = "en_US.UTF-8";
|
||||||
|
|
||||||
|
i18n.extraLocaleSettings = {
|
||||||
|
LC_ADDRESS = "en_US.UTF-8";
|
||||||
|
LC_IDENTIFICATION = "en_US.UTF-8";
|
||||||
|
LC_MEASUREMENT = "en_US.UTF-8";
|
||||||
|
LC_MONETARY = "en_US.UTF-8";
|
||||||
|
LC_NAME = "en_US.UTF-8";
|
||||||
|
LC_NUMERIC = "en_US.UTF-8";
|
||||||
|
LC_PAPER = "en_US.UTF-8";
|
||||||
|
LC_TELEPHONE = "en_US.UTF-8"; LC_TIME = "en_US.UTF-8";
|
||||||
|
};
|
||||||
|
|
||||||
|
# Configure keymap in X11
|
||||||
|
services.xserver.xkb = {
|
||||||
|
layout = "us";
|
||||||
|
variant = "";
|
||||||
|
};
|
||||||
|
|
||||||
|
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||||
|
users = {
|
||||||
|
defaultUserShell = pkgs.bash;
|
||||||
|
users.biscuit = {
|
||||||
|
isNormalUser = true;
|
||||||
|
description = "Biscuit";
|
||||||
|
extraGroups = [ "networkmanager" "wheel" ];
|
||||||
|
shell = pkgs.zsh;
|
||||||
|
packages = with pkgs; [];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
# List packages installed in system profile.
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
wl-clipboard
|
||||||
|
vim # Default editor
|
||||||
|
wget
|
||||||
|
git
|
||||||
|
home-manager
|
||||||
|
zsh
|
||||||
|
p7zip
|
||||||
|
btop
|
||||||
|
libnotify
|
||||||
|
astal.apps
|
||||||
|
];
|
||||||
|
|
||||||
|
environment.sessionVariables = {
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
# Enable the OpenSSH daemon.
|
||||||
|
services.openssh.enable = true;
|
||||||
|
|
||||||
|
# Enable non-bash shell
|
||||||
|
programs.zsh.enable = true;
|
||||||
|
|
||||||
|
### ----------------------------------------
|
||||||
|
### DESKTOP START
|
||||||
|
services.xserver.displayManager.gdm.enable = true;
|
||||||
|
hardware = {
|
||||||
|
# pulseaudio.enable = true;
|
||||||
|
graphics.enable = true;
|
||||||
|
nvidia.modesetting.enable = false;
|
||||||
|
};
|
||||||
|
|
||||||
|
### DESKTOP END
|
||||||
|
### ----------------------------------------
|
||||||
|
|
||||||
|
# Enable experimental features
|
||||||
|
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||||
|
#nixpkgs = {
|
||||||
|
# overlays = [
|
||||||
|
# (final: prev: {
|
||||||
|
# nvchad = inputs.nvchad4nix.packages.${pkgs.system}.nvchad;
|
||||||
|
#})
|
||||||
|
#];
|
||||||
|
#};
|
||||||
|
# System state version
|
||||||
|
system.stateVersion = "24.11"; # Ensure this matches your NixOS version
|
||||||
|
}
|
||||||
|
|
||||||
@@ -8,30 +8,24 @@
|
|||||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "sd_mod" ];
|
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
|
||||||
boot.initrd.kernelModules = [ ];
|
boot.initrd.kernelModules = [ ];
|
||||||
boot.kernelModules = [ "kvm-amd" ];
|
boot.kernelModules = [ "kvm-intel" ];
|
||||||
boot.extraModulePackages = [ ];
|
boot.extraModulePackages = [ ];
|
||||||
|
|
||||||
fileSystems."/" =
|
fileSystems."/" =
|
||||||
{ device = "/dev/disk/by-uuid/532ac73e-1370-4e4d-9d5a-15033de0b96d";
|
{ device = "/dev/disk/by-uuid/8552e23a-af9f-4af8-947f-9ea6ff1e7195";
|
||||||
fsType = "btrfs";
|
fsType = "ext4";
|
||||||
options = [ "subvol=@" ];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/boot" =
|
fileSystems."/boot" =
|
||||||
{ device = "/dev/disk/by-uuid/1368-D3F3";
|
{ device = "/dev/disk/by-uuid/00BB-80E9";
|
||||||
fsType = "vfat";
|
fsType = "vfat";
|
||||||
options = [ "fmask=0077" "dmask=0077" ];
|
options = [ "fmask=0077" "dmask=0077" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/home" =
|
|
||||||
{ device = "/dev/disk/by-uuid/780aa81f-c4d6-478b-9c51-2d60362fdb07";
|
|
||||||
fsType = "ext4";
|
|
||||||
};
|
|
||||||
|
|
||||||
swapDevices =
|
swapDevices =
|
||||||
[ { device = "/dev/disk/by-uuid/b02ef55c-4caf-4a24-a6a2-fb8001eafe22"; }
|
[ { device = "/dev/disk/by-uuid/2a916b88-8039-481b-9c30-4edd0f329eb3"; }
|
||||||
];
|
];
|
||||||
|
|
||||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||||
@@ -39,9 +33,9 @@
|
|||||||
# still possible to use this option, but it's recommended to use it in conjunction
|
# still possible to use this option, but it's recommended to use it in conjunction
|
||||||
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
|
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
|
||||||
networking.useDHCP = lib.mkDefault true;
|
networking.useDHCP = lib.mkDefault true;
|
||||||
# networking.interfaces.enp11s0.useDHCP = lib.mkDefault true;
|
# networking.interfaces.eno1.useDHCP = lib.mkDefault true;
|
||||||
# networking.interfaces.wlp10s0.useDHCP = lib.mkDefault true;
|
# networking.interfaces.wlp1s0.useDHCP = lib.mkDefault true;
|
||||||
|
|
||||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||||
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||||
}
|
}
|
||||||
@@ -9,9 +9,5 @@ App.start({
|
|||||||
print(request)
|
print(request)
|
||||||
res("ok")
|
res("ok")
|
||||||
},
|
},
|
||||||
main: () => {
|
main: () => App.get_monitors().map(Bar),
|
||||||
const monitors = App.get_monitors()
|
|
||||||
const primary = monitors.find(m => m.primary) || monitors[0]
|
|
||||||
return Bar(primary)
|
|
||||||
}
|
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -1,3 +0,0 @@
|
|||||||
$background: #131318;
|
|
||||||
$foreground: #e4e1e9;
|
|
||||||
$primary: #bec2ff;
|
|
||||||
@@ -1,27 +1,8 @@
|
|||||||
@use "sass:color";
|
@use "sass:color";
|
||||||
@use "./colors" as *;
|
|
||||||
|
|
||||||
// default
|
$bg: #212223;
|
||||||
// $bg: #212223;
|
$fg: #f1f1f1;
|
||||||
// $fg: #f1f1f1;
|
$accent: #378DF7;
|
||||||
// $accent: #378DF7;
|
|
||||||
// $radius: 7px;
|
|
||||||
|
|
||||||
// Kanagawa Theme
|
|
||||||
// $bg: #1F1F28;
|
|
||||||
// $fg: #DCD7BA;
|
|
||||||
// $accent: #C0A36E;
|
|
||||||
// $radius: 7px;
|
|
||||||
|
|
||||||
// mstcl
|
|
||||||
// $bg: #121212;
|
|
||||||
// $fg: #f1f1f1;
|
|
||||||
// $accent: #C0A36E;
|
|
||||||
// $radius: 7px;
|
|
||||||
|
|
||||||
$bg: $background;
|
|
||||||
$fg: $foreground;
|
|
||||||
$accent: $primary;
|
|
||||||
$radius: 7px;
|
$radius: 7px;
|
||||||
|
|
||||||
window.Bar {
|
window.Bar {
|
||||||
@@ -31,7 +12,6 @@ window.Bar {
|
|||||||
color: $fg;
|
color: $fg;
|
||||||
font-size: 1.1em;
|
font-size: 1.1em;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-family: "JetBrainsMono Nerd Font";
|
|
||||||
|
|
||||||
label {
|
label {
|
||||||
margin: 0 8px;
|
margin: 0 8px;
|
||||||
@@ -74,24 +54,8 @@ window.Bar {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.Time {
|
|
||||||
.TimeHM {
|
|
||||||
font-weight: bold;
|
|
||||||
color: $accent;
|
|
||||||
}
|
|
||||||
|
|
||||||
.TimeDate {
|
|
||||||
// color: color.adjust($fg, $lightness: -10%);
|
|
||||||
color: $fg;
|
|
||||||
opacity: 0.85;
|
|
||||||
font-weight: normal;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
.FocusedClient {
|
.FocusedClient {
|
||||||
color: color.adjust($fg, $lightness: -30%);
|
color: $accent;
|
||||||
opacity: 0.7;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.Media .Cover {
|
.Media .Cover {
|
||||||
|
|||||||
@@ -124,42 +124,27 @@ function Workspaces() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function FocusedClient() {
|
function FocusedClient() {
|
||||||
const hypr = Hyprland.get_default();
|
const hypr = Hyprland.get_default()
|
||||||
const focused = bind(hypr, "focusedClient");
|
const focused = bind(hypr, "focusedClient")
|
||||||
|
|
||||||
return (
|
return <box
|
||||||
<box className="FocusedClient" visible={focused.as(Boolean)}>
|
className="Focused"
|
||||||
{focused.as(client => {
|
visible={focused.as(Boolean)}>
|
||||||
if (!client) return null;
|
{focused.as(client => (
|
||||||
|
client && <label label={bind(client, "title").as(String)} />
|
||||||
return (
|
))}
|
||||||
<label
|
</box>
|
||||||
label={bind(client, "title").as(title => {
|
|
||||||
return title.length > 40
|
|
||||||
? title.slice(0, 37) + "..."
|
|
||||||
: title;
|
|
||||||
})}
|
|
||||||
/>
|
|
||||||
);
|
|
||||||
})}
|
|
||||||
</box>
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
function Time({ format = "%H:%M|%a %b %d" }) {
|
|
||||||
|
function Time({ format = "%H:%M %a %b %e" }) {
|
||||||
const time = Variable<string>("").poll(1000, () =>
|
const time = Variable<string>("").poll(1000, () =>
|
||||||
GLib.DateTime.new_now_local().format(format)!
|
GLib.DateTime.new_now_local().format(format)!)
|
||||||
);
|
|
||||||
|
|
||||||
return bind(time).as(str => {
|
return <label
|
||||||
const [hm, date] = str.split("|");
|
className="Time"
|
||||||
|
onDestroy={() => time.drop()}
|
||||||
return (
|
label={time()}
|
||||||
<box className="Time">
|
/>
|
||||||
<label className="TimeHM" label={hm} />
|
|
||||||
<label className="TimeDate" label={date} />
|
|
||||||
</box>
|
|
||||||
);
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export default function Bar(monitor: Gdk.Monitor) {
|
export default function Bar(monitor: Gdk.Monitor) {
|
||||||
@@ -172,11 +157,10 @@ export default function Bar(monitor: Gdk.Monitor) {
|
|||||||
anchor={TOP | LEFT | RIGHT}>
|
anchor={TOP | LEFT | RIGHT}>
|
||||||
<centerbox>
|
<centerbox>
|
||||||
<box hexpand halign={Gtk.Align.START}>
|
<box hexpand halign={Gtk.Align.START}>
|
||||||
<Workspaces />
|
<Time />
|
||||||
<FocusedClient />
|
|
||||||
</box>
|
</box>
|
||||||
<box>
|
<box>
|
||||||
<Time />
|
<Workspaces />
|
||||||
</box>
|
</box>
|
||||||
<box hexpand halign={Gtk.Align.END} >
|
<box hexpand halign={Gtk.Align.END} >
|
||||||
<SysTray />
|
<SysTray />
|
||||||
|
|||||||
@@ -0,0 +1,45 @@
|
|||||||
|
{
|
||||||
|
inputs,
|
||||||
|
pkgs,
|
||||||
|
system,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
# add the home manager module
|
||||||
|
imports = [
|
||||||
|
inputs.ags.homeManagerModules.default
|
||||||
|
# inputs.astal.homeManagerModules.default
|
||||||
|
];
|
||||||
|
|
||||||
|
home.packages = [
|
||||||
|
# inputs.astal.packages.${system}.default
|
||||||
|
];
|
||||||
|
|
||||||
|
programs.ags = {
|
||||||
|
enable = true;
|
||||||
|
|
||||||
|
# symlink to ~/.config/ags
|
||||||
|
configDir = ./custom;
|
||||||
|
|
||||||
|
# additional packages to add to gjs's runtime
|
||||||
|
extraPackages = with inputs.ags.packages.${pkgs.system}; [
|
||||||
|
apps
|
||||||
|
auth
|
||||||
|
battery
|
||||||
|
bluetooth
|
||||||
|
hyprland
|
||||||
|
mpris
|
||||||
|
network
|
||||||
|
notifd
|
||||||
|
powerprofiles
|
||||||
|
tray
|
||||||
|
wireplumber
|
||||||
|
|
||||||
|
pkgs.fzf
|
||||||
|
pkgs.dart-sass
|
||||||
|
pkgs.esbuild
|
||||||
|
];
|
||||||
|
};
|
||||||
|
# programs.astal = {
|
||||||
|
# enable = true;
|
||||||
|
# };
|
||||||
|
}
|
||||||
Submodule
+1
Submodule packages/ags/epik-shell added at 9002206c8b
@@ -1,28 +0,0 @@
|
|||||||
{
|
|
||||||
inputs,
|
|
||||||
pkgs,
|
|
||||||
system,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
imports = [inputs.ags.homeManagerModules.default];
|
|
||||||
|
|
||||||
programs.ags = {
|
|
||||||
enable = true;
|
|
||||||
configDir = ./custom;
|
|
||||||
|
|
||||||
extraPackages = let
|
|
||||||
agsPkgs = inputs.ags.packages.${system};
|
|
||||||
in
|
|
||||||
with pkgs; [
|
|
||||||
agsPkgs.battery
|
|
||||||
agsPkgs.hyprland
|
|
||||||
agsPkgs.mpris
|
|
||||||
agsPkgs.wireplumber
|
|
||||||
agsPkgs.notifd
|
|
||||||
agsPkgs.apps
|
|
||||||
agsPkgs.network
|
|
||||||
agsPkgs.tray
|
|
||||||
fzf
|
|
||||||
];
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
{
|
|
||||||
programs.btop = {
|
|
||||||
enable = true;
|
|
||||||
settings = {
|
|
||||||
vim_keys = true;
|
|
||||||
theme_background = false;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
{pkgs, ...}: {
|
|
||||||
home.packages = with pkgs; [
|
|
||||||
cloudflared
|
|
||||||
];
|
|
||||||
}
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
{pkgs, ...}: {
|
|
||||||
programs.eza = {
|
|
||||||
enable = true;
|
|
||||||
git = true;
|
|
||||||
colors = "auto";
|
|
||||||
icons = "auto";
|
|
||||||
|
|
||||||
enableZshIntegration = true;
|
|
||||||
enableFishIntegration = true;
|
|
||||||
enableBashIntegration = true;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
{ ... }: {
|
||||||
|
programs.fastfetch.enable = true;
|
||||||
|
}
|
||||||
@@ -1,131 +0,0 @@
|
|||||||
{
|
|
||||||
programs.fastfetch = {
|
|
||||||
enable = true;
|
|
||||||
|
|
||||||
settings = {
|
|
||||||
logo = {
|
|
||||||
padding = {
|
|
||||||
top = 2;
|
|
||||||
left = 1;
|
|
||||||
right = 2;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
display = {
|
|
||||||
separator = " ";
|
|
||||||
};
|
|
||||||
|
|
||||||
modules = [
|
|
||||||
# Title
|
|
||||||
{
|
|
||||||
type = "title";
|
|
||||||
format = "{#1}╭───────────── {#}{user-name-colored}";
|
|
||||||
}
|
|
||||||
|
|
||||||
# System Information Header
|
|
||||||
{
|
|
||||||
type = "custom";
|
|
||||||
format = "{#1}│ {#}System Information";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
type = "os";
|
|
||||||
key = "│ {#keys} OS";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
type = "kernel";
|
|
||||||
key = "│ {#keys} Kernel";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
type = "uptime";
|
|
||||||
key = "│ {#keys} Uptime";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
type = "packages";
|
|
||||||
key = "│ {#keys} Packages";
|
|
||||||
format = "{all}";
|
|
||||||
}
|
|
||||||
|
|
||||||
{
|
|
||||||
type = "custom";
|
|
||||||
format = "{#1}│";
|
|
||||||
}
|
|
||||||
|
|
||||||
# Desktop Environment
|
|
||||||
{
|
|
||||||
type = "custom";
|
|
||||||
format = "{#1}│ {#}Desktop Environment";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
type = "de";
|
|
||||||
key = "│ {#keys} DE";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
type = "wm";
|
|
||||||
key = "│ {#keys} WM";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
type = "wmtheme";
|
|
||||||
key = "│ {#keys} Theme";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
type = "display";
|
|
||||||
key = "│ {#keys} Resolution";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
type = "shell";
|
|
||||||
key = "│ {#keys} Shell";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
type = "terminalfont";
|
|
||||||
key = "│ {#keys} Font";
|
|
||||||
}
|
|
||||||
|
|
||||||
{
|
|
||||||
type = "custom";
|
|
||||||
format = "{#1}│";
|
|
||||||
}
|
|
||||||
|
|
||||||
# Hardware Information
|
|
||||||
{
|
|
||||||
type = "custom";
|
|
||||||
format = "{#1}│ {#}Hardware Information";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
type = "cpu";
|
|
||||||
key = "│ {#keys} CPU";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
type = "gpu";
|
|
||||||
key = "│ {#keys} GPU";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
type = "memory";
|
|
||||||
key = "│ {#keys} Memory";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
type = "disk";
|
|
||||||
key = "│ {#keys} Disk (/)";
|
|
||||||
folders = "/";
|
|
||||||
}
|
|
||||||
|
|
||||||
{
|
|
||||||
type = "custom";
|
|
||||||
format = "{#1}│";
|
|
||||||
}
|
|
||||||
|
|
||||||
# Colors
|
|
||||||
{
|
|
||||||
type = "colors";
|
|
||||||
key = "│";
|
|
||||||
symbol = "circle";
|
|
||||||
}
|
|
||||||
|
|
||||||
# Footer
|
|
||||||
{
|
|
||||||
type = "custom";
|
|
||||||
format = "{#1}╰───────────────────────────────╯";
|
|
||||||
}
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -1,109 +0,0 @@
|
|||||||
{
|
|
||||||
programs.firefox = {
|
|
||||||
enable = true;
|
|
||||||
languagePacks = [
|
|
||||||
"en-US"
|
|
||||||
];
|
|
||||||
profiles = {
|
|
||||||
hakase = {
|
|
||||||
search.force = true;
|
|
||||||
isDefault = true;
|
|
||||||
search.default = "ddg";
|
|
||||||
settings = {
|
|
||||||
"browser.contentblocking.category" = "strict";
|
|
||||||
"extensions.pocket.enabled" = false;
|
|
||||||
"extensions.screenshots.disabled" = true;
|
|
||||||
"browser.topsites.contile.enabled" = false;
|
|
||||||
"browser.formfill.enable" = false;
|
|
||||||
"browser.search.suggest.enabled" = false;
|
|
||||||
"browser.search.suggest.enabled.private" = false;
|
|
||||||
"browser.urlbar.suggest.searches" = false;
|
|
||||||
"browser.urlbar.showSearchSuggestionsFirst" = false;
|
|
||||||
"browser.newtabpage.activity-stream.feeds.section.topstories" = false;
|
|
||||||
"browser.newtabpage.activity-stream.feeds.snippets" = false;
|
|
||||||
"browser.newtabpage.activity-stream.section.highlights.includePocket" = false;
|
|
||||||
"browser.newtabpage.activity-stream.section.highlights.includeBookmarks" = false;
|
|
||||||
"browser.newtabpage.activity-stream.section.highlights.includeDownloads" = false;
|
|
||||||
"browser.newtabpage.activity-stream.section.highlights.includeVisited" = false;
|
|
||||||
"browser.newtabpage.activity-stream.showSponsored" = false;
|
|
||||||
"browser.newtabpage.activity-stream.system.showSponsored" = false;
|
|
||||||
"browser.newtabpage.activity-stream.showSponsoredTopSites" = false;
|
|
||||||
"browser.startup.homepage" = "https://dash.sakamoto.dev";
|
|
||||||
"browser.newtabpage.pinned" = [
|
|
||||||
{
|
|
||||||
title = "Dashboard";
|
|
||||||
url = "https://dash.sakamoto.dev";
|
|
||||||
}
|
|
||||||
];
|
|
||||||
};
|
|
||||||
bookmarks = {
|
|
||||||
force = true;
|
|
||||||
settings = [
|
|
||||||
{
|
|
||||||
toolbar = true;
|
|
||||||
bookmarks = [
|
|
||||||
{
|
|
||||||
name = "Home-manager";
|
|
||||||
url = "https://mynixos.com/home-manager/options/programs";
|
|
||||||
}
|
|
||||||
];
|
|
||||||
}
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
policies = {
|
|
||||||
DisableTelemetry = true;
|
|
||||||
DisableFirefoxStudies = true;
|
|
||||||
EnableTrackingProtection = {
|
|
||||||
Value = true;
|
|
||||||
Locked = true;
|
|
||||||
Cryptomining = true;
|
|
||||||
Fingerprinting = true;
|
|
||||||
};
|
|
||||||
DisablePocket = true;
|
|
||||||
DisableFirefoxAccounts = true;
|
|
||||||
DisableAccounts = true;
|
|
||||||
DisableFirefoxScreenshots = true;
|
|
||||||
OverrideFirstRunPage = "";
|
|
||||||
OverridePostUpdatePage = "";
|
|
||||||
DontCheckDefaultBrowser = true;
|
|
||||||
DisplayBookmarksToolbar = "always"; # alternatives: "always" or "newtab"
|
|
||||||
DisplayMenuBar = "default-off"; # alternatives: "always", "never" or "default-on"
|
|
||||||
SearchBar = "unified"; # alternative: "separate"
|
|
||||||
|
|
||||||
/*
|
|
||||||
---- EXTENSIONS ----
|
|
||||||
*/
|
|
||||||
# Check about:support for extension/add-on ID strings.
|
|
||||||
# Valid strings for installation_mode are "allowed", "blocked",
|
|
||||||
# "force_installed" and "normal_installed".
|
|
||||||
ExtensionSettings = {
|
|
||||||
"*".installation_mode = "blocked";
|
|
||||||
"uBlock0@raymondhill.net" = {
|
|
||||||
install_url = "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi";
|
|
||||||
installation_mode = "force_installed";
|
|
||||||
};
|
|
||||||
"{446900e4-71c2-419f-a6a7-df9c091e268b}" = {
|
|
||||||
install_url = "https://addons.mozilla.org/firefox/downloads/file/4493940/bitwarden_password_manager-2025.5.0.xpi";
|
|
||||||
installation_mode = "force_installed";
|
|
||||||
};
|
|
||||||
"tridactyl.vim@cmcaine.co.uk" = {
|
|
||||||
install_url = "https://addons.mozilla.org/firefox/downloads/file/4405615/tridactyl_vim-1.24.2.xpi";
|
|
||||||
installation_mode = "force_installed";
|
|
||||||
};
|
|
||||||
# Privacy Badger:
|
|
||||||
# "jid1-MnnxcxisBPnSXQ@jetpack" = {
|
|
||||||
# install_url = "https://addons.mozilla.org/firefox/downloads/latest/privacy-badger17/latest.xpi";
|
|
||||||
# installation_mode = "force_installed";
|
|
||||||
# };
|
|
||||||
# 1Password:
|
|
||||||
# "{d634138d-c276-4fc8-924b-40a0ea21d284}" = {
|
|
||||||
# install_url = "https://addons.mozilla.org/firefox/downloads/latest/1password-x-password-manager/latest.xpi";
|
|
||||||
# installation_mode = "force_installed";
|
|
||||||
# };
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
{
|
|
||||||
pkgs,
|
|
||||||
myConfig,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
programs.fish = {
|
|
||||||
enable = true;
|
|
||||||
interactiveShellInit = ''
|
|
||||||
set fish_greeting
|
|
||||||
fish_vi_key_bindings
|
|
||||||
zoxide init fish | source
|
|
||||||
|
|
||||||
'';
|
|
||||||
shellAliases = myConfig.general.Terminal.aliases;
|
|
||||||
|
|
||||||
plugins = with pkgs.fishPlugins; [
|
|
||||||
];
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
{pkgs, ...}: {
|
|
||||||
fonts = {
|
|
||||||
fontconfig.enable = true;
|
|
||||||
};
|
|
||||||
home.packages = with pkgs; [
|
|
||||||
nerd-fonts.jetbrains-mono
|
|
||||||
];
|
|
||||||
}
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
{myConfig, ...}: {
|
|
||||||
programs.git = {
|
|
||||||
enable = true;
|
|
||||||
extraConfig = {
|
|
||||||
user.name = "${myConfig.nixos.Git.user}";
|
|
||||||
user.email = "${myConfig.nixos.Git.email}";
|
|
||||||
init.defaultBranch = "${myConfig.nixos.Git.defaultBranch}";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -1,38 +0,0 @@
|
|||||||
{...}: {
|
|
||||||
services.hypridle = {
|
|
||||||
enable = true;
|
|
||||||
settings = {
|
|
||||||
general = {
|
|
||||||
lock_cmd = "pidof hyprlock || hyprlock"; # avoid starting multiple hyprlock instances.
|
|
||||||
before_sleep_cmd = "loginctl lock-session"; # lock before suspend.
|
|
||||||
after_sleep_cmd = "hyprctl dispatch dpms on && agu"; # avoid needing to press a key twice to turn on the display.
|
|
||||||
};
|
|
||||||
|
|
||||||
listener = [
|
|
||||||
{
|
|
||||||
timeout = 150;
|
|
||||||
on-timeout = "brightnessctl -s set 10"; # set monitor backlight to minimum, avoid 0 on OLED monitor.
|
|
||||||
on-resume = "brightnessctl -r"; # restore monitor backlight.
|
|
||||||
}
|
|
||||||
{
|
|
||||||
timeout = 150;
|
|
||||||
on-timeout = "brightnessctl -sd rgb:kbd_backlight set 0"; # turn off keyboard backlight.
|
|
||||||
on-resume = "brightnessctl -rd rgb:kbd_backlight"; # turn on keyboard backlight.
|
|
||||||
}
|
|
||||||
{
|
|
||||||
timeout = 300;
|
|
||||||
on-timeout = "loginctl lock-session"; # lock screen when timeout has passed.
|
|
||||||
}
|
|
||||||
{
|
|
||||||
timeout = 330;
|
|
||||||
on-timeout = "hyprctl dispatch dpms off"; # screen off after 5.5min.
|
|
||||||
on-resume = "hyprctl dispatch dpms on && brightnessctl -r"; # screen on and restore brightness on resume.
|
|
||||||
}
|
|
||||||
{
|
|
||||||
timeout = 500;
|
|
||||||
on-timeout = "systemctl suspend"; # suspend PC after 30min.
|
|
||||||
}
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
#################
|
||||||
|
### AUTOSTART ###
|
||||||
|
#################
|
||||||
|
|
||||||
|
# Autostart necessary processes (like notifications daemons, status bars, etc.)
|
||||||
|
# Or execute your favorite apps at launch like this:
|
||||||
|
$terminal = kitty
|
||||||
|
$bar = ags run
|
||||||
|
$cursor = Bibata-Modern-Ice
|
||||||
|
|
||||||
|
exec-once = hyprctl setcursor $cursor 24
|
||||||
|
exec-once = $bar
|
||||||
|
exec-once = [workspace 20 silent] kitty --single-instance --hold fastfetch
|
||||||
|
exec-once = [workspace 20 silent] firefox
|
||||||
|
exec-once = [workspace 1] kitty --single-instance --hold fastfetch
|
||||||
|
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
env = XCURSOR_SIZE,24
|
||||||
|
env = HYPRCURSOR_SIZE,24
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -0,0 +1,191 @@
|
|||||||
|
|
||||||
|
################
|
||||||
|
### MONITORS ###
|
||||||
|
################
|
||||||
|
|
||||||
|
# See https://wiki.hyprland.org/Configuring/Monitors/
|
||||||
|
monitor=,highres@highrr,auto,auto
|
||||||
|
|
||||||
|
|
||||||
|
#####################
|
||||||
|
### LOOK AND FEEL ###
|
||||||
|
#####################
|
||||||
|
|
||||||
|
# Refer to https://wiki.hyprland.org/Configuring/Variables/
|
||||||
|
|
||||||
|
# https://wiki.hyprland.org/Configuring/Variables/#general
|
||||||
|
general {
|
||||||
|
gaps_in = 2
|
||||||
|
gaps_out = 5
|
||||||
|
|
||||||
|
border_size = 2
|
||||||
|
|
||||||
|
# https://wiki.hyprland.org/Configuring/Variables/#variable-types for info about colors
|
||||||
|
col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
|
||||||
|
col.inactive_border = rgba(595959aa)
|
||||||
|
|
||||||
|
# Set to true enable resizing windows by clicking and dragging on borders and gaps
|
||||||
|
resize_on_border = false
|
||||||
|
|
||||||
|
# Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on
|
||||||
|
allow_tearing = false
|
||||||
|
|
||||||
|
layout = dwindle
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
# https://wiki.hyprland.org/Configuring/Variables/#decoration
|
||||||
|
decoration {
|
||||||
|
rounding = 0
|
||||||
|
rounding_power = 2
|
||||||
|
|
||||||
|
# Change transparency of focused and unfocused windows
|
||||||
|
active_opacity = 1.0
|
||||||
|
inactive_opacity = 1.0
|
||||||
|
|
||||||
|
shadow {
|
||||||
|
enabled = true
|
||||||
|
range = 4
|
||||||
|
render_power = 3
|
||||||
|
color = rgba(1a1a1aee)
|
||||||
|
}
|
||||||
|
|
||||||
|
# https://wiki.hyprland.org/Configuring/Variables/#blur
|
||||||
|
blur {
|
||||||
|
enabled = true
|
||||||
|
size = 3
|
||||||
|
passes = 1
|
||||||
|
|
||||||
|
vibrancy = 0.1696
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
# https://wiki.hyprland.org/Configuring/Variables/#animations
|
||||||
|
# animations {
|
||||||
|
# enabled = yes, please :)
|
||||||
|
#
|
||||||
|
# # Default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
|
||||||
|
#
|
||||||
|
# bezier = easeOutQuint,0.23,1,0.32,1
|
||||||
|
# bezier = easeInOutCubic,0.65,0.05,0.36,1
|
||||||
|
# bezier = linear,0,0,1,1
|
||||||
|
# bezier = almostLinear,0.5,0.5,0.75,1.0
|
||||||
|
# bezier = quick,0.15,0,0.1,1
|
||||||
|
#
|
||||||
|
# animation = global, 1, 10, default
|
||||||
|
# animation = border, 1, 5.39, easeOutQuint
|
||||||
|
# animation = windows, 1, 4.79, easeOutQuint
|
||||||
|
# animation = windowsIn, 1, 4.1, easeOutQuint, popin 87%
|
||||||
|
# animation = windowsOut, 1, 1.49, linear, popin 87%
|
||||||
|
# animation = fadeIn, 1, 1.73, almostLinear
|
||||||
|
# animation = fadeOut, 1, 1.46, almostLinear
|
||||||
|
# animation = fade, 1, 3.03, quick
|
||||||
|
# animation = layers, 1, 3.81, easeOutQuint
|
||||||
|
# animation = layersIn, 1, 4, easeOutQuint, fade
|
||||||
|
# animation = layersOut, 1, 1.5, linear, fade
|
||||||
|
# animation = fadeLayersIn, 1, 1.79, almostLinear
|
||||||
|
# animation = fadeLayersOut, 1, 1.39, almostLinear
|
||||||
|
# animation = workspaces, 1, 1.94, almostLinear, fade
|
||||||
|
# animation = workspacesIn, 1, 1.21, almostLinear, fade
|
||||||
|
# animation = workspacesOut, 1, 1.94, almostLinear, fade
|
||||||
|
# }
|
||||||
|
|
||||||
|
animations {
|
||||||
|
enabled = true
|
||||||
|
# Animation curves
|
||||||
|
|
||||||
|
bezier = linear, 0, 0, 1, 1
|
||||||
|
bezier = md3_standard, 0.2, 0, 0, 1
|
||||||
|
bezier = md3_decel, 0.05, 0.7, 0.1, 1
|
||||||
|
bezier = md3_accel, 0.3, 0, 0.8, 0.15
|
||||||
|
bezier = overshot, 0.05, 0.9, 0.1, 1.1
|
||||||
|
bezier = crazyshot, 0.1, 1.5, 0.76, 0.92
|
||||||
|
bezier = hyprnostretch, 0.05, 0.9, 0.1, 1.0
|
||||||
|
bezier = menu_decel, 0.1, 1, 0, 1
|
||||||
|
bezier = menu_accel, 0.38, 0.04, 1, 0.07
|
||||||
|
bezier = easeInOutCirc, 0.85, 0, 0.15, 1
|
||||||
|
bezier = easeOutCirc, 0, 0.55, 0.45, 1
|
||||||
|
bezier = easeOutExpo, 0.16, 1, 0.3, 1
|
||||||
|
bezier = softAcDecel, 0.26, 0.26, 0.15, 1
|
||||||
|
bezier = md2, 0.4, 0, 0.2, 1 # use with .2s duration
|
||||||
|
# Animation configs
|
||||||
|
animation = windows, 1, 3, md3_decel, popin 60%
|
||||||
|
animation = windowsIn, 1, 3, md3_decel, popin 60%
|
||||||
|
animation = windowsOut, 1, 3, md3_accel, popin 60%
|
||||||
|
animation = border, 1, 10, default
|
||||||
|
animation = fade, 1, 3, md3_decel
|
||||||
|
# animation = layers, 1, 2, md3_decel, slide
|
||||||
|
animation = layersIn, 1, 3, menu_decel, slide
|
||||||
|
animation = layersOut, 1, 1.6, menu_accel
|
||||||
|
animation = fadeLayersIn, 1, 2, menu_decel
|
||||||
|
animation = fadeLayersOut, 1, 0.5, menu_accel
|
||||||
|
animation = workspaces, 1, 7, menu_decel, slide
|
||||||
|
# animation = workspaces, 1, 2.5, softAcDecel, slide
|
||||||
|
# animation = workspaces, 1, 7, menu_decel, slidefade 15%
|
||||||
|
# animation = specialWorkspace, 1, 3, md3_decel, slidefadevert 15%
|
||||||
|
animation = specialWorkspace, 1, 3, md3_decel, slidevert
|
||||||
|
}
|
||||||
|
|
||||||
|
# Ref https://wiki.hyprland.org/Configuring/Workspace-Rules/
|
||||||
|
# "Smart gaps" / "No gaps when only"
|
||||||
|
# uncomment all if you wish to use that.
|
||||||
|
# workspace = w[tv1], gapsout:0, gapsin:0
|
||||||
|
# workspace = f[1], gapsout:0, gapsin:0
|
||||||
|
# windowrule = bordersize 0, floating:0, onworkspace:w[tv1]
|
||||||
|
# windowrule = rounding 0, floating:0, onworkspace:w[tv1]
|
||||||
|
# windowrule = bordersize 0, floating:0, onworkspace:f[1]
|
||||||
|
# windowrule = rounding 0, floating:0, onworkspace:f[1]
|
||||||
|
|
||||||
|
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
|
||||||
|
dwindle {
|
||||||
|
pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
|
||||||
|
preserve_split = true # You probably want this
|
||||||
|
}
|
||||||
|
|
||||||
|
# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
|
||||||
|
master {
|
||||||
|
new_status = master
|
||||||
|
}
|
||||||
|
|
||||||
|
# https://wiki.hyprland.org/Configuring/Variables/#misc
|
||||||
|
misc {
|
||||||
|
force_default_wallpaper = -1 # Set to 0 or 1 to disable the anime mascot wallpapers
|
||||||
|
disable_hyprland_logo = true # If true disables the random hyprland logo / anime girl background. :(
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#############
|
||||||
|
### INPUT ###
|
||||||
|
#############
|
||||||
|
|
||||||
|
# https://wiki.hyprland.org/Configuring/Variables/#input
|
||||||
|
input {
|
||||||
|
kb_layout = us
|
||||||
|
kb_variant =
|
||||||
|
kb_model =
|
||||||
|
kb_options =
|
||||||
|
kb_rules =
|
||||||
|
|
||||||
|
follow_mouse = 1
|
||||||
|
|
||||||
|
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
|
||||||
|
|
||||||
|
touchpad {
|
||||||
|
natural_scroll = false
|
||||||
|
}
|
||||||
|
|
||||||
|
numlock_by_default = true
|
||||||
|
}
|
||||||
|
|
||||||
|
# https://wiki.hyprland.org/Configuring/Variables/#gestures
|
||||||
|
gestures {
|
||||||
|
workspace_swipe = false
|
||||||
|
}
|
||||||
|
|
||||||
|
# Example per-device config
|
||||||
|
# See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more
|
||||||
|
device {
|
||||||
|
name = epic-mouse-v1
|
||||||
|
sensitivity = -0.5
|
||||||
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,76 @@
|
|||||||
|
###################
|
||||||
|
### KEYBINDINGS ###
|
||||||
|
###################
|
||||||
|
|
||||||
|
# See https://wiki.hyprland.org/Configuring/Keywords/
|
||||||
|
$mainMod = SUPER # Sets "Windows" key as main modifier
|
||||||
|
$terminal = kitty --single-instance
|
||||||
|
$browser = firefox
|
||||||
|
|
||||||
|
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
||||||
|
bind = $mainMod, Return, exec, $terminal
|
||||||
|
bind = $mainMod, Q, killactive,
|
||||||
|
bind = $mainMod, M, exit,
|
||||||
|
bind = $mainMod, E, exec, $fileManager
|
||||||
|
bind = $mainMod, V, togglefloating,
|
||||||
|
bind = $mainMod, R, exec, $menu
|
||||||
|
bind = $mainMod, P, pseudo, # dwindle
|
||||||
|
bind = $mainMod, B, togglesplit, # dwindle
|
||||||
|
bind = $mainMod, W, exec, $browser
|
||||||
|
|
||||||
|
# Move focus with mainMod + arrow keys
|
||||||
|
bind = $mainMod, H, movefocus, l
|
||||||
|
bind = $mainMod, L, movefocus, r
|
||||||
|
bind = $mainMod, K, movefocus, u
|
||||||
|
bind = $mainMod, J, movefocus, d
|
||||||
|
|
||||||
|
# Switch workspaces with mainMod + [0-9]
|
||||||
|
bind = $mainMod, 1, workspace, 1
|
||||||
|
bind = $mainMod, 2, workspace, 2
|
||||||
|
bind = $mainMod, 3, workspace, 3
|
||||||
|
bind = $mainMod, 4, workspace, 4
|
||||||
|
bind = $mainMod, 5, workspace, 5
|
||||||
|
bind = $mainMod, 6, workspace, 6
|
||||||
|
bind = $mainMod, 7, workspace, 7
|
||||||
|
bind = $mainMod, 8, workspace, 8
|
||||||
|
bind = $mainMod, 9, workspace, 9
|
||||||
|
bind = $mainMod, 0, workspace, 10
|
||||||
|
|
||||||
|
# Move active window to a workspace with mainMod + SHIFT + [0-9]
|
||||||
|
bind = $mainMod SHIFT, 1, movetoworkspace, 1
|
||||||
|
bind = $mainMod SHIFT, 2, movetoworkspace, 2
|
||||||
|
bind = $mainMod SHIFT, 3, movetoworkspace, 3
|
||||||
|
bind = $mainMod SHIFT, 4, movetoworkspace, 4
|
||||||
|
bind = $mainMod SHIFT, 5, movetoworkspace, 5
|
||||||
|
bind = $mainMod SHIFT, 6, movetoworkspace, 6
|
||||||
|
bind = $mainMod SHIFT, 7, movetoworkspace, 7
|
||||||
|
bind = $mainMod SHIFT, 8, movetoworkspace, 8
|
||||||
|
bind = $mainMod SHIFT, 9, movetoworkspace, 9
|
||||||
|
bind = $mainMod SHIFT, 0, movetoworkspace, 10
|
||||||
|
|
||||||
|
# Example special workspace (scratchpad)
|
||||||
|
bind = $mainMod, S, togglespecialworkspace, magic
|
||||||
|
bind = $mainMod SHIFT, S, movetoworkspace, special:magic
|
||||||
|
|
||||||
|
# Scroll through existing workspaces with mainMod + scroll
|
||||||
|
bind = $mainMod, mouse_down, workspace, e+1
|
||||||
|
bind = $mainMod, mouse_up, workspace, e-1
|
||||||
|
|
||||||
|
# Move/resize windows with mainMod + LMB/RMB and dragging
|
||||||
|
bindm = $mainMod, mouse:272, movewindow
|
||||||
|
bindm = $mainMod, mouse:273, resizewindow
|
||||||
|
|
||||||
|
# Laptop multimedia keys for volume and LCD brightness
|
||||||
|
bindel = ,XF86AudioRaiseVolume, exec, wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+
|
||||||
|
bindel = ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
|
||||||
|
bindel = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
|
||||||
|
bindel = ,XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
|
||||||
|
bindel = ,XF86MonBrightnessUp, exec, brightnessctl s 10%+
|
||||||
|
bindel = ,XF86MonBrightnessDown, exec, brightnessctl s 10%-
|
||||||
|
|
||||||
|
# Requires playerctl
|
||||||
|
bindl = , XF86AudioNext, exec, playerctl next
|
||||||
|
bindl = , XF86AudioPause, exec, playerctl play-pause
|
||||||
|
bindl = , XF86AudioPlay, exec, playerctl play-pause
|
||||||
|
bindl = , XF86AudioPrev, exec, playerctl previous
|
||||||
|
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
##############################
|
||||||
|
### WINDOWS AND WORKSPACES ###
|
||||||
|
##############################
|
||||||
|
|
||||||
|
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
|
||||||
|
# See https://wiki.hyprland.org/Configuring/Workspace-Rules/ for workspace rules
|
||||||
|
|
||||||
|
# Example windowrule
|
||||||
|
# windowrule = float,class:^(kitty)$,title:^(kitty)$
|
||||||
|
|
||||||
|
# Ignore maximize requests from apps. You'll probably like this.
|
||||||
|
windowrule = suppressevent maximize, class:.*
|
||||||
|
|
||||||
|
# Fix some dragging issues with XWayland
|
||||||
|
windowrule = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0
|
||||||
@@ -1,11 +1,13 @@
|
|||||||
{
|
{ pkgs, ... }: {
|
||||||
pkgs,
|
|
||||||
inputs,
|
home.file.".config/hypr/hyprland.conf" = {
|
||||||
...
|
source = builtins.toPath ./hyprland.conf;
|
||||||
}: {
|
force = true;
|
||||||
programs.hyprland = {
|
};
|
||||||
enable = true;
|
|
||||||
package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
|
home.file.".config/hypr/hyprland" = {
|
||||||
portalPackage = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland;
|
source = builtins.toPath ./custom;
|
||||||
|
recursive = true;
|
||||||
|
force = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,355 +0,0 @@
|
|||||||
{myConfig, ...}: {
|
|
||||||
home.file.".config/hypr/scripts/wsaction.fish" = {
|
|
||||||
source = builtins.toPath ./scripts/wsaction.fish;
|
|
||||||
executable = true;
|
|
||||||
};
|
|
||||||
wayland.windowManager.hyprland = {
|
|
||||||
enable = true;
|
|
||||||
xwayland.enable = true;
|
|
||||||
systemd.enable = true;
|
|
||||||
settings = {
|
|
||||||
"$mod" = "SUPER";
|
|
||||||
"$term" = "kitty --single-instance";
|
|
||||||
"$browser" = "firefox";
|
|
||||||
# "$bar" = "qs -c caelestia";
|
|
||||||
"$wsaction" = "fish -c ./scripts/wsaction.fish";
|
|
||||||
|
|
||||||
monitor = myConfig.nixos.Hyprland.monitors;
|
|
||||||
|
|
||||||
exec = [
|
|
||||||
"hyprctl dispatch submap global"
|
|
||||||
];
|
|
||||||
submap = [
|
|
||||||
"global"
|
|
||||||
];
|
|
||||||
|
|
||||||
exec-once = [
|
|
||||||
"[workspace 20 silent] kitty --single-insance --hold fastfetch"
|
|
||||||
"[workspace 20 silent] firefox"
|
|
||||||
"[workspace 1] kitty --single-instance --hold fastfetch"
|
|
||||||
"$bar"
|
|
||||||
"matugen image /home/${myConfig.essentials.Username}/.config/nixos/assets/wallpapers/ultrawide-nixos-default.png"
|
|
||||||
"hyprctl setcursor Bibata-Original-Classic 24"
|
|
||||||
"solaar -w hide"
|
|
||||||
];
|
|
||||||
|
|
||||||
general = {
|
|
||||||
gaps_in = 2;
|
|
||||||
gaps_out = 5;
|
|
||||||
border_size = 2;
|
|
||||||
# col.active_border = "#0DB7D4FF";
|
|
||||||
# col.inactive_border = "#31313600";
|
|
||||||
# col = {
|
|
||||||
# "inactive_border" = "rgba(595959aa)";
|
|
||||||
# "active_border" = "rgba(33ccffee) rgba(00ff99ee) 45deg";
|
|
||||||
# };
|
|
||||||
resize_on_border = false;
|
|
||||||
allow_tearing = false;
|
|
||||||
layout = "dwindle";
|
|
||||||
};
|
|
||||||
decoration = {
|
|
||||||
rounding = 10;
|
|
||||||
rounding_power = 2;
|
|
||||||
active_opacity = 1.0;
|
|
||||||
inactive_opacity = 1.0;
|
|
||||||
|
|
||||||
dim_inactive = true;
|
|
||||||
dim_strength = 0.1;
|
|
||||||
dim_special = 0.8;
|
|
||||||
|
|
||||||
shadow = {
|
|
||||||
enabled = true;
|
|
||||||
range = 4;
|
|
||||||
render_power = 3;
|
|
||||||
color = "rgba(1a1a1aee)";
|
|
||||||
};
|
|
||||||
|
|
||||||
blur = {
|
|
||||||
enabled = true;
|
|
||||||
size = 3;
|
|
||||||
passes = 1;
|
|
||||||
vibrancy = 0.1696;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
animations = {
|
|
||||||
enabled = true;
|
|
||||||
bezier = [
|
|
||||||
"linear, 0, 0, 1, 1"
|
|
||||||
"md3_standard, 0.2, 0, 0, 1"
|
|
||||||
"md3_decel, 0.05, 0.7, 0.1, 1"
|
|
||||||
"md3_accel, 0.3, 0, 0.8, 0.15"
|
|
||||||
"overshot, 0.05, 0.9, 0.1, 1.1"
|
|
||||||
"crazyshot, 0.1, 1.5, 0.76, 0.92"
|
|
||||||
"hyprnostretch, 0.05, 0.9, 0.1, 1.0"
|
|
||||||
"menu_decel, 0.1, 1, 0, 1"
|
|
||||||
"menu_accel, 0.38, 0.04, 1, 0.07"
|
|
||||||
"easeInOutCirc, 0.85, 0, 0.15, 1"
|
|
||||||
"easeOutCirc, 0, 0.55, 0.45, 1"
|
|
||||||
"easeOutExpo, 0.16, 1, 0.3, 1"
|
|
||||||
"softAcDecel, 0.26, 0.26, 0.15, 1"
|
|
||||||
"md2, 0.4, 0, 0.2, 1"
|
|
||||||
];
|
|
||||||
|
|
||||||
animation = [
|
|
||||||
"windows, 1, 3, md3_decel, popin 60%"
|
|
||||||
"windowsIn, 1, 3, md3_decel, popin 60%"
|
|
||||||
"windowsOut, 1, 3, md3_accel, popin 60%"
|
|
||||||
"border, 1, 10, default"
|
|
||||||
"fade, 1, 3, md3_decel"
|
|
||||||
"layersIn, 1, 3, menu_decel, slide"
|
|
||||||
"layersOut, 1, 1.6, menu_accel"
|
|
||||||
"fadeLayersIn, 1, 2, menu_decel"
|
|
||||||
"fadeLayersOut, 1, 0.5, menu_accel"
|
|
||||||
"workspaces, 1, 7, menu_decel, slide"
|
|
||||||
"specialWorkspace, 1, 3, md3_decel, slidevert"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
dwindle = {
|
|
||||||
pseudotile = true;
|
|
||||||
preserve_split = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
master = {
|
|
||||||
new_status = "master";
|
|
||||||
};
|
|
||||||
|
|
||||||
misc = {
|
|
||||||
force_default_wallpaper = -1;
|
|
||||||
disable_hyprland_logo = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
input = {
|
|
||||||
kb_layout = "us";
|
|
||||||
follow_mouse = 1;
|
|
||||||
sensitivity = 0;
|
|
||||||
force_no_accel = true;
|
|
||||||
repeat_delay = 250;
|
|
||||||
repeat_rate = 35;
|
|
||||||
|
|
||||||
touchpad = {
|
|
||||||
natural_scroll = false;
|
|
||||||
};
|
|
||||||
|
|
||||||
numlock_by_default = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
gestures = {
|
|
||||||
workspace_swipe = false;
|
|
||||||
};
|
|
||||||
|
|
||||||
binds = {
|
|
||||||
workspace_back_and_forth = true;
|
|
||||||
scroll_event_delay = 0;
|
|
||||||
};
|
|
||||||
|
|
||||||
device = [
|
|
||||||
{
|
|
||||||
name = "epic-mouse-v1";
|
|
||||||
sensitivity = -0.5;
|
|
||||||
}
|
|
||||||
];
|
|
||||||
|
|
||||||
bind =
|
|
||||||
[
|
|
||||||
"$mod, Return, exec, $term"
|
|
||||||
"$mod, Q, killactive,"
|
|
||||||
"$mod, E, exec, $fileManager"
|
|
||||||
"$mod, V, togglefloating,"
|
|
||||||
"$mod, R, exec, $menu"
|
|
||||||
"$mod, P, pseudo,"
|
|
||||||
"$mod, B, togglesplit,"
|
|
||||||
"$mod, W, exec, $browser"
|
|
||||||
|
|
||||||
"$mod, H, movefocus, l"
|
|
||||||
"$mod, L, movefocus, r"
|
|
||||||
"$mod, K, movefocus, u"
|
|
||||||
"$mod, J, movefocus, d"
|
|
||||||
|
|
||||||
"$mod Shift, M, exit,"
|
|
||||||
"$mod SHIFT, K, movewindow, u"
|
|
||||||
"$mod SHIFT, J, movewindow, d"
|
|
||||||
"$mod SHIFT, H, movewindow, l"
|
|
||||||
"$mod SHIFT, L, movewindow, r"
|
|
||||||
|
|
||||||
"$mod CTRL, K, resizeactive, 0 -50"
|
|
||||||
"$mod CTRL, J, resizeactive, 0 50"
|
|
||||||
"$mod CTRL, H, resizeactive, -50 0"
|
|
||||||
"$mod CTRL, L, resizeactive, 50 0"
|
|
||||||
|
|
||||||
"$mod, S, togglespecialworkspace, magic"
|
|
||||||
"$mod SHIFT, S, movetoworkspace, special:magic"
|
|
||||||
|
|
||||||
"$mod, mouse_down, workspace, e+1"
|
|
||||||
"$mod, mouse_up, workspace, e-1"
|
|
||||||
|
|
||||||
"$mod, F, fullscreen, 0"
|
|
||||||
|
|
||||||
"$mod, Space, exec, pkill rofi || rofi -show drun"
|
|
||||||
"$mod, C, exec, pkill rofi || rofi -show calc -modi calc -no-show-match -no-sort"
|
|
||||||
]
|
|
||||||
++ (
|
|
||||||
# workspaces
|
|
||||||
builtins.concatLists (builtins.genList (
|
|
||||||
i: let
|
|
||||||
ws = i + 1;
|
|
||||||
in [
|
|
||||||
"$mod, ${toString ws}, workspace, ${toString ws}"
|
|
||||||
# "$mod, ${toString ws}, exec, $wsaction workspace, ${toString ws}"
|
|
||||||
"$mod SHIFT, ${toString ws}, movetoworkspace, ${toString ws}"
|
|
||||||
]
|
|
||||||
)
|
|
||||||
9)
|
|
||||||
)
|
|
||||||
++ [
|
|
||||||
"$mod, 0, workspace, 10"
|
|
||||||
"$mod, 0, movetoworkspace, 10"
|
|
||||||
];
|
|
||||||
|
|
||||||
bindm = [
|
|
||||||
"$mod, mouse:272, movewindow"
|
|
||||||
"$mod, mouse:273, resizewindow"
|
|
||||||
];
|
|
||||||
|
|
||||||
bindel = [
|
|
||||||
",XF86AudioRaiseVolume, exec, wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+"
|
|
||||||
",XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-"
|
|
||||||
",XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"
|
|
||||||
",XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle"
|
|
||||||
",XF86MonBrightnessUp, exec, brightnessctl s 10%+"
|
|
||||||
",XF86MonBrightnessDown, exec, brightnessctl s 10%-"
|
|
||||||
];
|
|
||||||
|
|
||||||
bindl = [
|
|
||||||
",XF86AudioNext, exec, playerctl next"
|
|
||||||
",XF86AudioPause, exec, playerctl play-pause"
|
|
||||||
",XF86AudioPlay, exec, playerctl play-pause"
|
|
||||||
",XF86AudioPrev, exec, playerctl previous"
|
|
||||||
];
|
|
||||||
|
|
||||||
bindi = [
|
|
||||||
"Super, Super_L, global, caelestia:launcher"
|
|
||||||
# "$mod, Space, global, caelestia:launcher"
|
|
||||||
];
|
|
||||||
|
|
||||||
bindin = [
|
|
||||||
"Super, catchall, global, caelestia:launcherInterrupt"
|
|
||||||
"Super, mouse:272, global, caelestia:launcherInterrupt"
|
|
||||||
"Super, mouse:273, global, caelestia:launcherInterrupt"
|
|
||||||
"Super, mouse:274, global, caelestia:launcherInterrupt"
|
|
||||||
"Super, mouse:275, global, caelestia:launcherInterrupt"
|
|
||||||
"Super, mouse:276, global, caelestia:launcherInterrupt"
|
|
||||||
"Super, mouse:277, global, caelestia:launcherInterrupt"
|
|
||||||
"Super, mouse_up, global, caelestia:launcherInterrupt"
|
|
||||||
"Super, mouse_down, global, caelestia:launcherInterrupt"
|
|
||||||
];
|
|
||||||
|
|
||||||
env = [
|
|
||||||
"HYPRCURSOR_THEME, Bibata-Original-Classic"
|
|
||||||
"HYPRCURSOR_SIZE, 24"
|
|
||||||
];
|
|
||||||
# ######## Window rules ########
|
|
||||||
windowrule = [
|
|
||||||
"opaque, class:foot|equibop"
|
|
||||||
"center 1, floating:1, xwayland:0"
|
|
||||||
|
|
||||||
# Float
|
|
||||||
"float, class:guifetch"
|
|
||||||
"float, class:yad"
|
|
||||||
"float, class:zenity"
|
|
||||||
"float, class:wev"
|
|
||||||
"float, class:org\\.gnome\\.FileRoller" # Escaped backslash
|
|
||||||
"float, class:file-roller"
|
|
||||||
"float, class:blueman-manager"
|
|
||||||
"float, class:com\\.github\\.GradienceTeam\\.Gradience" # Escaped backslash
|
|
||||||
"float, class:feh"
|
|
||||||
"float, class:imv"
|
|
||||||
"float, class:system-config-printer"
|
|
||||||
"float, class:quickshell"
|
|
||||||
|
|
||||||
# Float, resize and center
|
|
||||||
"float, class:foot, title:nmtui"
|
|
||||||
"size 60% 70%, class:foot, title:nmtui"
|
|
||||||
"center 1, class:foot, title:nmtui"
|
|
||||||
"float, class:org\\.gnome\\.Settings"
|
|
||||||
"size 70% 80%, class:org\\.gnome\\.Settings"
|
|
||||||
"center 1, class:org\\.gnome\\.Settings"
|
|
||||||
"float, class:org\\.pulseaudio\\.pavucontrol|yad-icon-browser"
|
|
||||||
"size 60% 70%, class:org\\.pulseaudio\\.pavucontrol|yad-icon-browser"
|
|
||||||
"center 1, class:org\\.pulseaudio\\.pavucontrol|yad-icon-browser"
|
|
||||||
"float, class:nwg-look"
|
|
||||||
"size 50% 60%, class:nwg-look"
|
|
||||||
"center 1, class:nwg-look"
|
|
||||||
|
|
||||||
# Special workspaces
|
|
||||||
"workspace special:sysmon, class:btop"
|
|
||||||
"workspace special:music, class:feishin|Spotify|Supersonic"
|
|
||||||
"workspace special:music, initialTitle:Spotify( Free)?"
|
|
||||||
"workspace special:communication, class:discord|equibop|vesktop|whatsapp"
|
|
||||||
"workspace special:todo, class:Todoist"
|
|
||||||
|
|
||||||
# Dialogs
|
|
||||||
"float, title:(Select|Open)( a)? (File|Folder)(s)?"
|
|
||||||
"float, title:File (Operation|Upload)( Progress)?"
|
|
||||||
"float, title:.* Properties"
|
|
||||||
"float, title:Export Image as PNG"
|
|
||||||
"float, title:GIMP Crash Debug"
|
|
||||||
"float, title:Save As"
|
|
||||||
"float, title:Library"
|
|
||||||
|
|
||||||
# Picture in picture (resize and move done via script)
|
|
||||||
"move 100%-w-2% 100%-w-3%, title:Picture(-| )in(-| )[Pp]icture"
|
|
||||||
"keepaspectratio, title:Picture(-| )in(-| )[Pp]icture"
|
|
||||||
"float, title:Picture(-| )in(-| )[Pp]icture"
|
|
||||||
"pin, title:Picture(-| )in(-| )[Pp]icture"
|
|
||||||
|
|
||||||
# Steam
|
|
||||||
"rounding 10, title:, class:steam"
|
|
||||||
"float, title:Friends List, class:steam"
|
|
||||||
"immediate, class:steam_app_[0-9]+"
|
|
||||||
"idleinhibit always, class:steam_app_[0-9]+"
|
|
||||||
|
|
||||||
# ATLauncher console
|
|
||||||
"float, class:com-atlauncher-App, title:ATLauncher Console"
|
|
||||||
|
|
||||||
# Autodesk Fusion 360
|
|
||||||
"noblur, title:Fusion360|(Marking Menu), class:fusion360\\.exe" # Escaped backslash
|
|
||||||
|
|
||||||
# Ugh xwayland popups
|
|
||||||
"nodim, xwayland:1, title:win[0-9]+"
|
|
||||||
"noshadow, xwayland:1, title:win[0-9]+"
|
|
||||||
"rounding 10, xwayland:1, title:win[0-9]+"
|
|
||||||
];
|
|
||||||
|
|
||||||
# ######## Workspace rules ########
|
|
||||||
workspace = [
|
|
||||||
"w[tv1]s[false], gapsout:20, gapsin:20"
|
|
||||||
"f[1]s[false], gapsout:20, gapsin:20"
|
|
||||||
];
|
|
||||||
|
|
||||||
# ######## Layer rules ########
|
|
||||||
layerrule = [
|
|
||||||
"animation fade, hyprpicker"
|
|
||||||
"animation fade, logout_dialog"
|
|
||||||
"animation fade, selection"
|
|
||||||
"animation fade, wayfreeze"
|
|
||||||
|
|
||||||
# Fuzzel
|
|
||||||
"animation popin 80%, launcher"
|
|
||||||
"blur, launcher"
|
|
||||||
|
|
||||||
# Shell
|
|
||||||
"noanim, caelestia-(launcher|osd|notifications|border-exclusion|area-picker)"
|
|
||||||
"animation fade, caelestia-(drawers|background)"
|
|
||||||
"order 1, caelestia-border-exclusion"
|
|
||||||
"order 2, caelestia-bar"
|
|
||||||
# The commented out lines below need to remain commented if you don't want them active
|
|
||||||
#"xray 1, caelestia-(border|launcher|bar|sidebar|navbar|mediadisplay|screencorners)"
|
|
||||||
#"blur, caelestia-.*"
|
|
||||||
#"blurpopups, caelestia-.*"
|
|
||||||
#"ignorealpha 0.57, caelestia-.*"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
source=./hyprland/keybinds.conf
|
||||||
|
source=./hyprland/autostart.conf
|
||||||
|
source=./hyprland/env.conf
|
||||||
|
source=./hyprland/general.conf
|
||||||
|
source=./hyprland/rules.conf
|
||||||
|
|
||||||
@@ -1,21 +0,0 @@
|
|||||||
#!/usr/bin/env fish
|
|
||||||
|
|
||||||
if test "$argv[1]" = '-g'
|
|
||||||
set group
|
|
||||||
set -e $argv[1]
|
|
||||||
end
|
|
||||||
|
|
||||||
if test (count $argv) -ne 2
|
|
||||||
echo 'Wrong number of arguments. Usage: ./wsaction.fish [-g] <dispatcher> <workspace>'
|
|
||||||
exit 1
|
|
||||||
end
|
|
||||||
|
|
||||||
set -l active_ws (hyprctl activeworkspace -j | jq -r '.id')
|
|
||||||
|
|
||||||
if set -q group
|
|
||||||
# Move to group
|
|
||||||
hyprctl dispatch $argv[1] (math "($argv[2] - 1) * 10 + $active_ws % 10")
|
|
||||||
else
|
|
||||||
# Move to ws in group
|
|
||||||
hyprctl dispatch $argv[1] (math "floor(($active_ws - 1) / 10) * 10 + $argv[2]")
|
|
||||||
end
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
{...}: {
|
|
||||||
programs.hyprlock = {
|
|
||||||
enable = true;
|
|
||||||
settings = {
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
{ pkgs, ... }:
|
||||||
|
{
|
||||||
|
home.packages = [
|
||||||
|
pkgs.kitty
|
||||||
|
];
|
||||||
|
|
||||||
|
programs.kitty.enable = true;
|
||||||
|
programs.kitty.settings = {
|
||||||
|
confirm_os_window_close = 0;
|
||||||
|
window_padding_width = 10;
|
||||||
|
font_size = 12.0;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
@@ -1,30 +0,0 @@
|
|||||||
{
|
|
||||||
myConfig,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
programs.kitty = {
|
|
||||||
enable = true;
|
|
||||||
|
|
||||||
themeFile = "kanagawa";
|
|
||||||
settings = {
|
|
||||||
confirm_os_window_close = 0;
|
|
||||||
window_padding_width = 10;
|
|
||||||
|
|
||||||
font_size = myConfig.general.Terminal.size;
|
|
||||||
font_family = myConfig.general.Terminal.font;
|
|
||||||
bold_font = "auto";
|
|
||||||
italic_font = "auto";
|
|
||||||
bold_italic_font = "auto";
|
|
||||||
shell = "${pkgs.${myConfig.general.Terminal.shell}}/bin/${myConfig.general.Terminal.shell}";
|
|
||||||
|
|
||||||
# optimization
|
|
||||||
input_delay = 0;
|
|
||||||
repaint_delay = 2;
|
|
||||||
sync_to_monitor = false;
|
|
||||||
wayland_enable_ime = false;
|
|
||||||
allow_remote_control = true;
|
|
||||||
};
|
|
||||||
extraConfig = "include colors.conf";
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -1,23 +0,0 @@
|
|||||||
{...}: {
|
|
||||||
programs.mangohud = {
|
|
||||||
enable = true;
|
|
||||||
enableSessionWide = true;
|
|
||||||
settings = {
|
|
||||||
toggle_hud = "Shift_R+F12";
|
|
||||||
|
|
||||||
full = true;
|
|
||||||
gpu_temp = true;
|
|
||||||
cpu_temp = true;
|
|
||||||
fps_only = false;
|
|
||||||
|
|
||||||
blacklist = [
|
|
||||||
"pamac-manager"
|
|
||||||
"lact"
|
|
||||||
"ghb"
|
|
||||||
"bitwig-studio"
|
|
||||||
"ptyxis"
|
|
||||||
"yumex"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -1,70 +0,0 @@
|
|||||||
[config]
|
|
||||||
# If set to enabled, it will check for updates when you run the matugen command, notifying you that an update is avaiable.
|
|
||||||
# WARNING: Matugen needs to be compiled with the `update-informer` feature for this to work.
|
|
||||||
version_check = false
|
|
||||||
|
|
||||||
[config.wallpaper]
|
|
||||||
# The base command to run for applying the wallpaper, shouldn't have spaces in it.
|
|
||||||
command = "swww"
|
|
||||||
|
|
||||||
# The arguments that will be provided to the command.
|
|
||||||
# Keywords like {{ mode }} or anything that works inside of hooks doesn't work here.
|
|
||||||
# The last argument will be the image path.
|
|
||||||
arguments = ["img", "--transition-type", "center", "--transition-fps", "120"]
|
|
||||||
|
|
||||||
# For example, killing the wallpaper daemon. Usage is like a normal hook.
|
|
||||||
# pre_hook = ""
|
|
||||||
|
|
||||||
[config.custom_keywords]
|
|
||||||
test = "aaaa"
|
|
||||||
|
|
||||||
[templates.name1]
|
|
||||||
# Relative paths will be resolved from the path `config.toml` is in.
|
|
||||||
input_path = "./colors.whatever-extension"
|
|
||||||
output_path = "./a/colors-generated.whatever-extension"
|
|
||||||
|
|
||||||
# This will use a different input path depending on what mode you use.
|
|
||||||
# input_path_modes = { dark = "./colors.whatever-extension", light = "./colors.whatever-extension" }
|
|
||||||
|
|
||||||
# This will compare all of the colors inside the array with the color you set as `compare_to`, and returns the closest color to it.
|
|
||||||
# You can then use `{{closest_color}}` inside templates and hooks.
|
|
||||||
colors_to_compare = [
|
|
||||||
{ name = "black", color = "#000000" },
|
|
||||||
{ name = "red", color = "#ff0000" },
|
|
||||||
{ name = "maroon", color = "#800000" },
|
|
||||||
{ name = "yellow", color = "#ffff00" },
|
|
||||||
{ name = "olive", color = "#808000" },
|
|
||||||
{ name = "lime", color = "#00ff00" },
|
|
||||||
{ name = "green", color = "#008000" },
|
|
||||||
{ name = "aqua", color = "#00ffff" },
|
|
||||||
{ name = "teal", color = "#008080" },
|
|
||||||
{ name = "blue", color = "#0000ff" },
|
|
||||||
{ name = "navy", color = "#000080" },
|
|
||||||
{ name = "fuchsia", color = "#ff00ff" },
|
|
||||||
{ name = "purple", color = "#800080" },
|
|
||||||
]
|
|
||||||
compare_to = "{{colors.primary.default.hex}}"
|
|
||||||
|
|
||||||
# Runs before the template is exported. You can use keywords here,
|
|
||||||
pre_hook = 'echo "source color {{colors.source_color.default.hex}}, source image {{image}}, closest color {{closest_color}}"'
|
|
||||||
# Runs after the template is exported. You can use keywords here.
|
|
||||||
post_hook = 'echo "after gen"'
|
|
||||||
|
|
||||||
# Only hex values
|
|
||||||
# https://m3.material.io/styles/color/advanced/adjust-existing-colors#1cc12e43-237b-45b9-8fe0-9a3549c1f61e
|
|
||||||
# Blend is set to true by default.
|
|
||||||
[config.custom_colors]
|
|
||||||
green = "#00ff00"
|
|
||||||
red = "#ff0000"
|
|
||||||
blue = { color = "#0000ff", blend = false }
|
|
||||||
|
|
||||||
### --- my config
|
|
||||||
[templates.kitty]
|
|
||||||
input_path = '~/.config/nixos/pkgs/matugen/custom/templates/kitty.conf'
|
|
||||||
output_path = '~/.config/kitty/colors.conf'
|
|
||||||
post_hook = "kitty @ set-colors -a -c ~/.config/kitty/colors.conf"
|
|
||||||
|
|
||||||
[templates.ags]
|
|
||||||
input_path = '~/.config/nixos/pkgs/matugen/custom/templates/ags.scss'
|
|
||||||
output_path = '~/.config/nixos/pkgs/ags/biscuit/colors.scss'
|
|
||||||
post_hook = "pkill gjs & ags run ~/.config/nixos/pkgs/ags/biscuit/app.ts & disown (jobs -p) &"
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
$background: {{colors.surface.dark.hex}};
|
|
||||||
$foreground: {{colors.on_surface.dark.hex}};
|
|
||||||
$primary: {{colors.primary.dark.hex}};
|
|
||||||
@@ -1,41 +0,0 @@
|
|||||||
cursor {{colors.on_surface.default.hex}}
|
|
||||||
cursor_text_color {{colors.on_surface_variant.default.hex}}
|
|
||||||
|
|
||||||
foreground {{colors.on_surface.default.hex}}
|
|
||||||
background {{colors.surface.default.hex}}
|
|
||||||
selection_foreground {{colors.on_secondary.default.hex}}
|
|
||||||
selection_background {{colors.secondary_fixed_dim.default.hex}}
|
|
||||||
url_color {{colors.primary.default.hex}}
|
|
||||||
|
|
||||||
# black
|
|
||||||
color8 #262626
|
|
||||||
color0 #4c4c4c
|
|
||||||
|
|
||||||
# red
|
|
||||||
color1 #ac8a8c
|
|
||||||
color9 #c49ea0
|
|
||||||
|
|
||||||
# green
|
|
||||||
color2 #8aac8b
|
|
||||||
color10 #9ec49f
|
|
||||||
|
|
||||||
# yellow
|
|
||||||
color3 #aca98a
|
|
||||||
color11 #c4c19e
|
|
||||||
|
|
||||||
# blue
|
|
||||||
/* color4 #8f8aac */
|
|
||||||
color4 {{colors.primary.default.hex}}
|
|
||||||
color12 #a39ec4
|
|
||||||
|
|
||||||
# magenta
|
|
||||||
color5 #ac8aac
|
|
||||||
color13 #c49ec4
|
|
||||||
|
|
||||||
# cyan
|
|
||||||
color6 #8aacab
|
|
||||||
color14 #9ec3c4
|
|
||||||
|
|
||||||
# white
|
|
||||||
color15 #e7e7e7
|
|
||||||
color7 #f0f0f0
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
{
|
|
||||||
pkgs,
|
|
||||||
inputs,
|
|
||||||
system,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
imports = [inputs.matugen.nixosModules.default];
|
|
||||||
home.file.".config/matugen/config.toml" = {
|
|
||||||
source = builtins.toPath ./custom/config.toml;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
{
|
|
||||||
pkgs,
|
|
||||||
inputs,
|
|
||||||
system,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
home.packages = [
|
|
||||||
inputs.nixovim.packages.${system}.default
|
|
||||||
];
|
|
||||||
}
|
|
||||||
@@ -0,0 +1,26 @@
|
|||||||
|
{ pkgs, ... }:
|
||||||
|
|
||||||
|
let
|
||||||
|
nvimSource = pkgs.fetchFromGitea {
|
||||||
|
domain = "git.sakamoto.dev";
|
||||||
|
owner = "kenji";
|
||||||
|
repo = "nvim";
|
||||||
|
rev = "5fc3341ac43b35fd4032c07925927d7f1e82886c";
|
||||||
|
sha256 = "sha256-YbP814fKOFuCWBRwlccd4nx/h8sdMgiJQu54thRLsK8=";
|
||||||
|
};
|
||||||
|
in {
|
||||||
|
home.packages = [
|
||||||
|
pkgs.lazygit
|
||||||
|
pkgs.ripgrep
|
||||||
|
];
|
||||||
|
home.file.".config/nvim" = {
|
||||||
|
# BUG requires --impure
|
||||||
|
source = /home/biscuit/Nixos/packages/nvim/nvchad;
|
||||||
|
# source = nvimSource;
|
||||||
|
recursive = true;
|
||||||
|
force = true;
|
||||||
|
};
|
||||||
|
# Example use: provide it as a source
|
||||||
|
# You could pass `nvimSource` to a program, or maybe use it in home.file, etc.
|
||||||
|
}
|
||||||
|
|
||||||
Submodule
+1
Submodule packages/nvim/nvchad added at 2b4293a4c1
@@ -1,8 +0,0 @@
|
|||||||
{inputs, ...}: {
|
|
||||||
imports = [
|
|
||||||
inputs.caelestia.nixosModules.default
|
|
||||||
{
|
|
||||||
services.caelestia-shell.enable = true;
|
|
||||||
}
|
|
||||||
];
|
|
||||||
}
|
|
||||||
@@ -1,41 +0,0 @@
|
|||||||
{
|
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
lib,
|
|
||||||
system,
|
|
||||||
inputs,
|
|
||||||
...
|
|
||||||
}: let
|
|
||||||
# Fetch the entire repository from Gitea
|
|
||||||
# This creates a path in the Nix store containing the repo's contents
|
|
||||||
caelestia = pkgs.fetchFromGitHub {
|
|
||||||
owner = "liperium"; # The repository owner
|
|
||||||
repo = "caelestia-shell"; # The repository name
|
|
||||||
rev = "main"; # Or a specific commit hash/tag like "v1.0"
|
|
||||||
hash = "sha256-s7UodKNURqtFYARD+qjhxnm17uocuz0A3znPneZMDxM="; # Set this to "" or a dummy value first
|
|
||||||
};
|
|
||||||
in {
|
|
||||||
imports = [
|
|
||||||
];
|
|
||||||
home.packages = with pkgs; [
|
|
||||||
inputs.quickshell.packages.${system}.default
|
|
||||||
fish
|
|
||||||
jq
|
|
||||||
fd
|
|
||||||
(pkgs.python3.withPackages (python-pkgs:
|
|
||||||
with python-pkgs; [
|
|
||||||
aubio
|
|
||||||
pyaudio
|
|
||||||
numpy
|
|
||||||
]))
|
|
||||||
cava
|
|
||||||
bluez
|
|
||||||
ddcutil
|
|
||||||
brightnessctl
|
|
||||||
curl
|
|
||||||
material-symbols
|
|
||||||
];
|
|
||||||
home.file.".config/quickshell/caelestia" = {
|
|
||||||
source = caelestia;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
{pkgs, ...}: {
|
|
||||||
programs.rofi = {
|
|
||||||
enable = true;
|
|
||||||
plugins = with pkgs; [
|
|
||||||
rofi-calc
|
|
||||||
];
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -1,62 +0,0 @@
|
|||||||
{lib, ...}: {
|
|
||||||
programs.starship = {
|
|
||||||
enable = true;
|
|
||||||
settings = {
|
|
||||||
format = lib.concatStrings [
|
|
||||||
"$username"
|
|
||||||
"$hostname"
|
|
||||||
"$directory"
|
|
||||||
"$git_branch"
|
|
||||||
"$git_state"
|
|
||||||
"$git_status"
|
|
||||||
"$cmd_duration"
|
|
||||||
"$line_break"
|
|
||||||
"$python"
|
|
||||||
"$character"
|
|
||||||
];
|
|
||||||
|
|
||||||
directory = {
|
|
||||||
style = "blue";
|
|
||||||
};
|
|
||||||
|
|
||||||
character = {
|
|
||||||
success_symbol = "[→](purple)";
|
|
||||||
error_symbol = "[→](red)";
|
|
||||||
vimcmd_symbol = "[←](green)";
|
|
||||||
};
|
|
||||||
|
|
||||||
git_branch = {
|
|
||||||
format = "[$branch]($style)";
|
|
||||||
style = "bright-black";
|
|
||||||
};
|
|
||||||
git_status = {
|
|
||||||
format = "[(*$conflicted$untracked$modified$staged$renamed$deleted) $ahead_behind$stashed]($style)";
|
|
||||||
style = "cyan";
|
|
||||||
conflicted = "";
|
|
||||||
untracked = "";
|
|
||||||
modified = "";
|
|
||||||
staged = "";
|
|
||||||
renamed = "";
|
|
||||||
deleted = "";
|
|
||||||
stashed = "≡";
|
|
||||||
};
|
|
||||||
git_state = {
|
|
||||||
format = "([$state( $progress_current/$progress_total)]($style)) ";
|
|
||||||
style = "bright-black";
|
|
||||||
};
|
|
||||||
|
|
||||||
cmd_duration = {
|
|
||||||
format = "[$duration]($style) ";
|
|
||||||
style = "yellow";
|
|
||||||
};
|
|
||||||
|
|
||||||
python = {
|
|
||||||
format = "[$virtualenv]($style) ";
|
|
||||||
style = "bright-black";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
# home.file.".config/starship.toml" = {
|
|
||||||
# source = builtins.toPath ./pure.toml;
|
|
||||||
# };
|
|
||||||
}
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
{
|
|
||||||
programs.steam = {
|
|
||||||
enable = true;
|
|
||||||
gamescopeSession.enable = true;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
{...}: {
|
|
||||||
services.swww.enable = true;
|
|
||||||
}
|
|
||||||
@@ -0,0 +1,152 @@
|
|||||||
|
{
|
||||||
|
"layer": "top",
|
||||||
|
"position": "top",
|
||||||
|
"height": 45,
|
||||||
|
"spacing": 0,
|
||||||
|
"modules-left": [
|
||||||
|
"hyprland/workspaces",
|
||||||
|
"tray",
|
||||||
|
"custom/lock",
|
||||||
|
"custom/reboot",
|
||||||
|
"custom/power",
|
||||||
|
"clock"
|
||||||
|
],
|
||||||
|
"modules-center": ["hyprland/window"],
|
||||||
|
"modules-right": [
|
||||||
|
"network",
|
||||||
|
"battery",
|
||||||
|
"bluetooth",
|
||||||
|
"pulseaudio",
|
||||||
|
"backlight",
|
||||||
|
"custom/temperature",
|
||||||
|
"memory",
|
||||||
|
"cpu"
|
||||||
|
],
|
||||||
|
"hyprland/workspaces": {
|
||||||
|
"disable-scroll": false,
|
||||||
|
"all-outputs": true,
|
||||||
|
"format": "{icon}",
|
||||||
|
"on-click": "activate",
|
||||||
|
"persistent-workspaces": {
|
||||||
|
"*":[1,2,3,4,5,6,7]
|
||||||
|
},
|
||||||
|
"format-icons":{
|
||||||
|
"1": "",
|
||||||
|
"2": "",
|
||||||
|
"3": "",
|
||||||
|
"4": "",
|
||||||
|
"5": "",
|
||||||
|
"6": "",
|
||||||
|
"7": "",
|
||||||
|
"active": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"custom/lock": {
|
||||||
|
"format": " ",
|
||||||
|
"on-click": "hyprlock",
|
||||||
|
"tooltip": true,
|
||||||
|
"tooltip-format": "锁屏"
|
||||||
|
},
|
||||||
|
"custom/reboot": {
|
||||||
|
"format": " ",
|
||||||
|
"on-click": "systemctl reboot",
|
||||||
|
"tooltip": true,
|
||||||
|
"tooltip-format": "重启"
|
||||||
|
},
|
||||||
|
"custom/power": {
|
||||||
|
"format": " ",
|
||||||
|
"on-click": "systemctl poweroff",
|
||||||
|
"tooltip": true,
|
||||||
|
"tooltip-format": "关机"
|
||||||
|
},
|
||||||
|
"network": {
|
||||||
|
"format-wifi": " {essid} ",
|
||||||
|
"format-ethernet": " Wired ",
|
||||||
|
"tooltip-format": "<span color='#FF1493'> </span>{bandwidthUpBytes} <span color='#00BFFF'> </span>{bandwidthDownBytes}",
|
||||||
|
"format-linked": " {ifname} (No IP) ",
|
||||||
|
"format-disconnected": " Disconnected ",
|
||||||
|
"format-alt": " {signalStrength}% ",
|
||||||
|
"interval": 1
|
||||||
|
},
|
||||||
|
"battery": {
|
||||||
|
"states": {
|
||||||
|
"warning": 30,
|
||||||
|
"critical": 15
|
||||||
|
},
|
||||||
|
"format": " {icon} {capacity}% ",
|
||||||
|
"format-charging": " {capacity}%",
|
||||||
|
"interval": 1,
|
||||||
|
"format-icons": ["", "", "", "", ""],
|
||||||
|
"tooltip": true
|
||||||
|
},
|
||||||
|
"pulseaudio": {
|
||||||
|
"format": "{icon}{volume}% ",
|
||||||
|
"format-muted": " 0% ",
|
||||||
|
"format-icons": {
|
||||||
|
"headphone": " ",
|
||||||
|
"hands-free": " ",
|
||||||
|
"headset": " ",
|
||||||
|
"phone": " ",
|
||||||
|
"portable": " ",
|
||||||
|
"car": " ",
|
||||||
|
"default": [
|
||||||
|
" ",
|
||||||
|
" ",
|
||||||
|
" "
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"on-click-right": "pavucontrol -t 3",
|
||||||
|
"on-click": "pactl -- set-sink-mute 0 toggle",
|
||||||
|
"tooltip": true,
|
||||||
|
"tooltip-format": "当前系统声音: {volume}%"
|
||||||
|
},
|
||||||
|
"custom/temperature": {
|
||||||
|
"exec": "sensors | awk '/^Package id 0:/ {print int($4)}'",
|
||||||
|
"format": " {}°C ",
|
||||||
|
"interval": 5,
|
||||||
|
"tooltip": true,
|
||||||
|
"tooltip-format": "当前 CPU 温度: {}°C"
|
||||||
|
},
|
||||||
|
"memory": {
|
||||||
|
"format": " {used:0.1f}G/{total:0.1f}G ",
|
||||||
|
"tooltip": true,
|
||||||
|
"tooltip-format": "当前内存占比: {used:0.2f}G/{total:0.2f}G"
|
||||||
|
},
|
||||||
|
"cpu": {
|
||||||
|
"format": " {usage}% ",
|
||||||
|
"tooltip": true
|
||||||
|
},
|
||||||
|
"clock": {
|
||||||
|
"interval": 1,
|
||||||
|
"timezone": "Asia/Chengdu",
|
||||||
|
"format": " {:%H:%M} ",
|
||||||
|
"tooltip": true,
|
||||||
|
"tooltip-format": "{:L%Y 年 %m 月 %d 日, %A}"
|
||||||
|
},
|
||||||
|
"tray": {
|
||||||
|
"icon-size": 17,
|
||||||
|
"spacing": 6
|
||||||
|
},
|
||||||
|
"backlight": {
|
||||||
|
"device": "intel_backlight",
|
||||||
|
"format": "{icon}{percent}% ",
|
||||||
|
"tooltip": true,
|
||||||
|
"tooltip-format": "当前屏幕亮度: {percent}%",
|
||||||
|
"format-icons": [
|
||||||
|
" ", // 暗 - 深灰
|
||||||
|
" ", // 中 - 灰
|
||||||
|
" ", // 亮 - 柠檬黄
|
||||||
|
" " // 最亮 - 金色
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"bluetooth": {
|
||||||
|
"format": " {status} ",
|
||||||
|
"format-connected": " {device_alias} ",
|
||||||
|
"format-connected-battery": " {device_alias}{device_battery_percentage}% ",
|
||||||
|
"tooltip-format": "{controller_alias}\t{controller_address}\n\n{num_connections} connected",
|
||||||
|
"tooltip-format-connected": "{controller_alias}\t{controller_address}\n\n{num_connections} connected\n\n{device_enumerate}",
|
||||||
|
"tooltip-format-enumerate-connected": "{device_alias}\t{device_address}",
|
||||||
|
"tooltip-format-enumerate-connected-battery": "{device_alias}\t{device_address}\t{device_battery_percentage}%"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,131 @@
|
|||||||
|
* {
|
||||||
|
font-family: "CaskaydiaCove Nerd Font", "Font Awesome 6 Free", "Font Awesome 6 Free Solid";
|
||||||
|
font-size: 16px;
|
||||||
|
border-radius: 0;
|
||||||
|
min-height: 0;
|
||||||
|
border: none;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces{
|
||||||
|
background-color: rgba(24,24,37,1.0);
|
||||||
|
border: none;
|
||||||
|
box-shadow: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#tray{
|
||||||
|
margin: 6px 3px;
|
||||||
|
background-color: rgba(36, 36, 52, 1.0);
|
||||||
|
padding: 6px 12px; /* 保持内部间距 */
|
||||||
|
border-radius: 6px;
|
||||||
|
border-width: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#waybar {
|
||||||
|
background-color: #181825;
|
||||||
|
transition-property: background-color;
|
||||||
|
transition-duration: 0.5s;
|
||||||
|
}
|
||||||
|
|
||||||
|
#window,
|
||||||
|
#clock,
|
||||||
|
#custom-power,
|
||||||
|
#custom-reboot,
|
||||||
|
#bluetooth,
|
||||||
|
#battery,
|
||||||
|
#pulseaudio,
|
||||||
|
#backlight,
|
||||||
|
#custom-temperature,
|
||||||
|
#memory,
|
||||||
|
#cpu,
|
||||||
|
#network,
|
||||||
|
#custom-lock{
|
||||||
|
border-radius: 4px;
|
||||||
|
margin: 6px 3px;
|
||||||
|
padding: 6px 12px;
|
||||||
|
background-color: #1e1e2e;
|
||||||
|
color: #181825;
|
||||||
|
}
|
||||||
|
|
||||||
|
#clock {
|
||||||
|
background-color: #89b4fa;
|
||||||
|
}
|
||||||
|
#custom-power{
|
||||||
|
background-color: #f38ba8;
|
||||||
|
}
|
||||||
|
#custom-reboot{
|
||||||
|
background-color: #a6e3a1;
|
||||||
|
}
|
||||||
|
#bluetooth{
|
||||||
|
background-color: #f9e2af;
|
||||||
|
}
|
||||||
|
#battery{
|
||||||
|
background-color: #cba6f7;
|
||||||
|
}
|
||||||
|
#pulseaudio{
|
||||||
|
background-color: #89dceb;
|
||||||
|
}
|
||||||
|
#backlight{
|
||||||
|
background-color: #a6a3a1;
|
||||||
|
}
|
||||||
|
#custom-temperature{
|
||||||
|
background-color: #74c7ec;
|
||||||
|
}
|
||||||
|
#memory{
|
||||||
|
background-color: #f7768e;
|
||||||
|
}
|
||||||
|
#cpu{
|
||||||
|
background-color: #f38ba8;
|
||||||
|
}
|
||||||
|
#network{
|
||||||
|
background-color: #fab387;
|
||||||
|
}
|
||||||
|
#custom-lock{
|
||||||
|
background-color: #94e2d5;
|
||||||
|
}
|
||||||
|
#window{
|
||||||
|
background-color: #74c7ec;
|
||||||
|
}
|
||||||
|
|
||||||
|
#waybar.hidden {
|
||||||
|
opacity: 0.5;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces button {
|
||||||
|
all: initial;
|
||||||
|
/* Remove GTK theme values (waybar #1351) */
|
||||||
|
min-width: 0;
|
||||||
|
/* Fix weird spacing in materia (waybar #450) */
|
||||||
|
box-shadow: inset 0 -3px transparent;
|
||||||
|
/* Use box-shadow instead of border so the text isn't offset */
|
||||||
|
padding: 6px 18px;
|
||||||
|
margin: 6px 3px;
|
||||||
|
border-radius: 4px;
|
||||||
|
background-color: rgba(36, 36, 52, 1.0);
|
||||||
|
color: #cdd6f4;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces button.active {
|
||||||
|
color: #1e1e2e;
|
||||||
|
background-color: #cdd6f4;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces button:hover {
|
||||||
|
box-shadow: inherit;
|
||||||
|
text-shadow: inherit;
|
||||||
|
color: #1e1e2e;
|
||||||
|
background-color: #cdd6f4;
|
||||||
|
}
|
||||||
|
|
||||||
|
tooltip {
|
||||||
|
border-radius: 8px;
|
||||||
|
padding: 16px;
|
||||||
|
background-color: #131822;
|
||||||
|
color: #C0C0C0;
|
||||||
|
}
|
||||||
|
|
||||||
|
tooltip label {
|
||||||
|
padding: 5px;
|
||||||
|
background-color: #131822;
|
||||||
|
color: #C0C0C0;
|
||||||
|
}
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
{ ... }: {
|
||||||
|
programs.waybar = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
home.file.".config/waybar" = {
|
||||||
|
source = builtins.toPath ./custom;
|
||||||
|
recursive = true;
|
||||||
|
force = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
{
|
|
||||||
programs.zoxide = {
|
|
||||||
enable = true;
|
|
||||||
enableFishIntegration = true;
|
|
||||||
enableZshIntegration = true;
|
|
||||||
enableBashIntegration = true;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -0,0 +1,55 @@
|
|||||||
|
{
|
||||||
|
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
||||||
|
"blocks": [
|
||||||
|
{
|
||||||
|
"alignment": "left",
|
||||||
|
"segments": [
|
||||||
|
{
|
||||||
|
"foreground": "#ffdd86",
|
||||||
|
"style": "plain",
|
||||||
|
"template": "{{ .UserName }}@{{ .HostName }} ",
|
||||||
|
"type": "session"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"foreground": "#42a9ff",
|
||||||
|
"style": "plain",
|
||||||
|
"properties": {
|
||||||
|
"style": "full"
|
||||||
|
},
|
||||||
|
"template": "{{ .Path }} ",
|
||||||
|
"type": "path"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"properties": {
|
||||||
|
"branch_icon": "",
|
||||||
|
"fetch_status": true
|
||||||
|
},
|
||||||
|
"style": "plain",
|
||||||
|
"template": "git:{{ if or (.Working.Changed) (.Staging.Changed) (gt .StashCount 0) }}<#ffdd86>{{ .HEAD }}</>{{ else }}{{ .HEAD }}{{ end }}{{ if .Staging.Changed }} <#98c379>{{ .Staging.String }}</>{{ end }}{{ if .Working.Changed }} <#d16971>{{ .Working.String }}</>{{ end }}",
|
||||||
|
"type": "git"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "prompt"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"alignment": "left",
|
||||||
|
"newline": true,
|
||||||
|
"segments": [
|
||||||
|
{
|
||||||
|
"foreground": "#ffdd86",
|
||||||
|
"foreground_templates": [
|
||||||
|
"{{ if gt .Code 0 }}#42a9ff{{ end }}"
|
||||||
|
],
|
||||||
|
"properties": {
|
||||||
|
"always_enabled": true
|
||||||
|
},
|
||||||
|
"style": "plain",
|
||||||
|
"template": "> ",
|
||||||
|
"type": "status"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "prompt"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"version": 3
|
||||||
|
}
|
||||||
@@ -0,0 +1,74 @@
|
|||||||
|
{ pkgs, ... }: {
|
||||||
|
home.packages = [
|
||||||
|
pkgs.zoxide
|
||||||
|
pkgs.oh-my-posh
|
||||||
|
];
|
||||||
|
|
||||||
|
programs.zoxide.enable = true;
|
||||||
|
programs.oh-my-posh.enable = true;
|
||||||
|
|
||||||
|
home.file.".config/oh-my-posh/config.omp.json" = {
|
||||||
|
source = ./custom/config.omp.json;
|
||||||
|
force = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
programs.zsh = {
|
||||||
|
enable = true;
|
||||||
|
plugins = [
|
||||||
|
# {
|
||||||
|
# name = "zsh-autocomplete"; # completes history, commands, etc.
|
||||||
|
# src = pkgs.fetchFromGitHub {
|
||||||
|
# owner = "marlonrichert";
|
||||||
|
# repo = "zsh-autocomplete";
|
||||||
|
# rev = "762afacbf227ecd173e899d10a28a478b4c84a3f";
|
||||||
|
# sha256 = "1357hygrjwj5vd4cjdvxzrx967f1d2dbqm2rskbz5z1q6jri1hm3";
|
||||||
|
# }; # e.g., nix-prefetch-url --unpack https://github.com/marlonrichert/zsh-autocomplete/archive/762afacbf227ecd173e899d10a28a478b4c84a3f.tar.gz
|
||||||
|
# }
|
||||||
|
{
|
||||||
|
name = "vi-mode";
|
||||||
|
src = pkgs.zsh-vi-mode;
|
||||||
|
file = "share/zsh-vi-mode/zsh-vi-mode.plugin.zsh";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name = "autosuggestion";
|
||||||
|
src = pkgs.zsh-autosuggestions;
|
||||||
|
file = "share/zsh-autosuggestions/zsh-autosuggestions.zsh";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
enableCompletion = true;
|
||||||
|
syntaxHighlighting.enable = true;
|
||||||
|
shellAliases = {
|
||||||
|
ll = "ls -l";
|
||||||
|
upd = "sudo nixos-rebuild switch --flake ~/Nixos/#biscuit";
|
||||||
|
hupd = "home-manager switch --flake ~/Nixos/#biscuit --impure";
|
||||||
|
agu = "pkill gjs & ags run ~/Nixos/packages/ags/custom/app.ts &";
|
||||||
|
};
|
||||||
|
history.size = 10000;
|
||||||
|
oh-my-zsh = {
|
||||||
|
plugins = [ ];
|
||||||
|
enable = true;
|
||||||
|
theme = "robbyrussell";
|
||||||
|
extraConfig = ''
|
||||||
|
zstyle ':completion:*' completer _expand _complete _ignored _approximate _expand_alias
|
||||||
|
zstyle ':autocomplete:*' default-context curcontext
|
||||||
|
zstyle ':autocomplete:*' min-input 0
|
||||||
|
|
||||||
|
setopt HIST_FIND_NO_DUPS
|
||||||
|
|
||||||
|
autoload -Uz compinit
|
||||||
|
compinit
|
||||||
|
|
||||||
|
# setopt autocd # cd without writing 'cd'
|
||||||
|
setopt globdots # show dotfiles in autocomplete list
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
initContent = ''
|
||||||
|
# Oh-My-Posh initialization for Zsh
|
||||||
|
eval "$(oh-my-posh init zsh --config ~/.config/oh-my-posh/config.omp.json)"
|
||||||
|
|
||||||
|
# zsh-autocomplete
|
||||||
|
bindkey -M menuselect '^M' .accept-line # run code when selected completion
|
||||||
|
'';
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -1,40 +0,0 @@
|
|||||||
{
|
|
||||||
pkgs,
|
|
||||||
myConfig,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
home.packages = with pkgs; [
|
|
||||||
zoxide
|
|
||||||
];
|
|
||||||
|
|
||||||
programs.zsh.enable = true;
|
|
||||||
programs.zoxide.enable = true;
|
|
||||||
|
|
||||||
programs.zsh = {
|
|
||||||
enableCompletion = false;
|
|
||||||
syntaxHighlighting.enable = false;
|
|
||||||
shellAliases = myConfig.general.Terminal.aliases;
|
|
||||||
history.size = 10000;
|
|
||||||
antidote = {
|
|
||||||
enable = true;
|
|
||||||
plugins = [
|
|
||||||
"MichaelAquilina/zsh-autoswitch-virtualenv"
|
|
||||||
"jeffreytse/zsh-vi-mode"
|
|
||||||
"zdharma-continuum/fast-syntax-highlighting kind:defer"
|
|
||||||
"zsh-users/zsh-autosuggestions kind:defer"
|
|
||||||
"zsh-users/zsh-history-substring-search kind:defer"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
initContent = ''
|
|
||||||
# zsh-autocomplete
|
|
||||||
# bindkey -M menuselect '^M' .accept-line # run code when selected completion
|
|
||||||
|
|
||||||
autoload -Uz compinit
|
|
||||||
if [ "$(date +'%j')" != "$(stat -f '%Sm' -t '%j' ~/.zcompdump 2>/dev/null)" ]; then
|
|
||||||
compinit
|
|
||||||
else
|
|
||||||
compinit -C
|
|
||||||
fi
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
pkgs,
|
||||||
|
inputs,
|
||||||
|
system,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
astal.io
|
||||||
|
astal.gjs
|
||||||
|
astal.hyprland
|
||||||
|
astal.apps
|
||||||
|
];
|
||||||
|
}
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
{ pkgs, ... }: {
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
hyprcursor
|
||||||
|
bibata-cursors
|
||||||
|
];
|
||||||
|
}
|
||||||
@@ -1,5 +1,10 @@
|
|||||||
{pkgs, ...}: {
|
{pkgs, ...}: {
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
python313Full
|
gcc
|
||||||
|
rustc
|
||||||
|
cargo
|
||||||
|
nodejs
|
||||||
|
python313
|
||||||
|
busybox
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
{ pkgs, ... }: {
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
firefox
|
||||||
|
];
|
||||||
|
|
||||||
|
programs.firefox.enable = true;
|
||||||
|
}
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
{ pkgs, ... }: {
|
||||||
|
fonts.packages = with pkgs; [
|
||||||
|
nerd-fonts.fira-code
|
||||||
|
];
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
{ ... }: {
|
||||||
|
programs.hyprland = {
|
||||||
|
enable = true;
|
||||||
|
# package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
|
||||||
|
# portalPackage = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland;
|
||||||
|
xwayland.enable = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
|
||||||
|
{
|
||||||
|
pkgs,
|
||||||
|
inputs,
|
||||||
|
system,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
environment.systemPackages = [
|
||||||
|
pkgs.adw-gtk3
|
||||||
|
pkgs.colloid-icon-theme
|
||||||
|
pkgs.colloid-gtk-theme
|
||||||
|
];
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user