Compare commits

...

3 commits

Author SHA1 Message Date
3589d76b40
Add libreoffice 2024-11-23 21:43:45 -07:00
9bda5678a9
Fix missing import for locale cfg 2024-11-23 21:43:32 -07:00
bc85ec4328
Add readme 2024-11-22 23:36:26 +00:00
5 changed files with 43 additions and 20 deletions

17
README.md Normal file
View file

@ -0,0 +1,17 @@
# Ty's NixOS Configuration
## Config Setup
The three main parts of my config are the `home-manager/`, `hosts/`, and `packages/` folders.
### Home manager
This folder handles everything user-scope related, including most of my installed packages. I try and keep most configuration isolated to the user scope for simplicity and isolation. The main entrypoint for this configuration is in `home-manager/`, but all the real configuration is located in `home-manager/modules` for organizational purposes. Packages installed in the user scope are located in `home-manager/modules/packages.nix`, and everything else is largely configuration for those programs. This also contains KDE Plasma configuration using the https://github.com/nix-community/plasma-manager module for home-manager, to configure the desktop environment and some associated KDE programs - this is largely mixed with the other home-manager options, that might change soon.
### Hosts
This folder contains sub-folders for each of my NixOS hosts, of which there is only one for now (my laptop). Each has a `default.nix` entrypoint and the rest of the configuration is kept in a `modules` folder, just like the home-manager configuration. This isn't yet abstracted and easily re-usable for new hosts (I have no need for it given I only have one NixOS install), but might be in the future.
### Packages
This folder contains all of my personally-packaged

33
flake.lock generated
View file

@ -25,11 +25,11 @@
}, },
"locked": { "locked": {
"dir": "/pkgs/firefox-addons", "dir": "/pkgs/firefox-addons",
"lastModified": 1732248209, "lastModified": 1732398293,
"narHash": "sha256-Mv8k0VuGdb6YhhKt+8SIvhMdmI4xZhw/3ycSvlAq19Q=", "narHash": "sha256-OaO0TA1ydBPcaJmQHjfgY01RdoNGQ6f5Yq8Ng11m844=",
"owner": "rycee", "owner": "rycee",
"repo": "nur-expressions", "repo": "nur-expressions",
"rev": "4a8ba00d1be3f3745428ed56efbb32155c548192", "rev": "205947bac77611261b32113bb54df0668b2acf98",
"type": "gitlab" "type": "gitlab"
}, },
"original": { "original": {
@ -50,11 +50,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1732244603, "lastModified": 1732365372,
"narHash": "sha256-yuMZQA+j0IjdlnimtrKHsci3mZI7JKhkJrFs7d765Kw=", "narHash": "sha256-QBvVgs3uOEfy4OycdzA9rSYVJA98vSC2/DR1wSvw1Xw=",
"owner": "nix-community", "owner": "nix-community",
"repo": "flake-firefox-nightly", "repo": "flake-firefox-nightly",
"rev": "49020629d258bd02d69db90d74b5bad72f9e076c", "rev": "ab62b76590187f8b82fc47ecd86e57629cd0a3df",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -152,15 +152,16 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1732025103, "lastModified": 1732319136,
"narHash": "sha256-qjEI64RKvDxRyEarY0jTzrZMa8ebezh2DEZmJJrpVdo=", "narHash": "sha256-wpmPl6FkAF9Jj5C/rzANgpUjfzQrUYOn267LnzKU2uI=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "a46e702093a5c46e192243edbd977d5749e7f294", "rev": "f8831cc700030e11fc91da9ef6270593e6440edc",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "nix-community", "owner": "nix-community",
"ref": "release-24.11",
"repo": "home-manager", "repo": "home-manager",
"type": "github" "type": "github"
} }
@ -222,16 +223,16 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1732014248, "lastModified": 1731603435,
"narHash": "sha256-y/MEyuJ5oBWrWAic/14LaIr/u5E0wRVzyYsouYY3W6w=", "narHash": "sha256-CqCX4JG7UiHvkrBTpYC3wcEurvbtTADLbo3Ns2CEoL8=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "23e89b7da85c3640bbc2173fe04f4bd114342367", "rev": "8b27c1239e5c421a2bbc2c65d52e4a6fbf2ff296",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "NixOS", "owner": "NixOS",
"ref": "nixos-unstable", "ref": "24.11-beta",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }
@ -345,11 +346,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1732240454, "lastModified": 1732413494,
"narHash": "sha256-P6DAyU0CoDhl8uCSjtrgbFEODfZdQalOpSb8itVmeIo=", "narHash": "sha256-KcKOpa6da8/9MfGYRqUJhwK9Q2rNrLXxqZMQoojJTvA=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nix-vscode-extensions", "repo": "nix-vscode-extensions",
"rev": "ac441321f5667f9a12c45ba8e5a2969c1b57e318", "rev": "aa61c826513046837049bca77493ad06dda37012",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -3,7 +3,7 @@
inputs = { inputs = {
# General NixOS config # General NixOS config
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; nixpkgs.url = "github:NixOS/nixpkgs/24.11-beta";
# NixOS Grub Themes (hyperfluent) # NixOS Grub Themes (hyperfluent)
nixos-grub-themes = { nixos-grub-themes = {
url = "github:jeslie0/nixos-grub-themes"; url = "github:jeslie0/nixos-grub-themes";
@ -16,7 +16,7 @@
}; };
# Home Manager + Plasma # Home Manager + Plasma
home-manager = { home-manager = {
url = "github:nix-community/home-manager"; url = "github:nix-community/home-manager/release-24.11";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
plasma-manager = { plasma-manager = {

View file

@ -1,8 +1,12 @@
{ pkgs, inputs, system, ... }: { pkgs, inputs, system, ... }:
{ {
home.packages = (with pkgs; [ home.packages = (with pkgs; [
# Notes # Documents
logseq logseq
libreoffice-qt6-fresh
# Video
jellyfin-media-player
# Chat # Chat
element-desktop element-desktop

View file

@ -7,8 +7,9 @@
./display.nix ./display.nix
./environment.nix ./environment.nix
./fonts.nix ./fonts.nix
./networking.nix ./locale.nix
./mounts.nix ./mounts.nix
./networking.nix
./nixpkgs.nix ./nixpkgs.nix
./nvidia.nix ./nvidia.nix
./packages.nix ./packages.nix