gtk config

This commit is contained in:
alex 2023-06-18 20:06:52 -04:00
parent cef02f52b3
commit d98cecb892
3 changed files with 63 additions and 14 deletions

View File

@ -28,6 +28,16 @@
yt-dlp yt-dlp
]; ];
# WM/DE config
gtk = {
enable = true;
font.name = "Victor Mono SemiBold 12";
theme = {
name = "SolArc-Dark";
package = pkgs.solarc-gtk-theme;
};
};
# User software configurations # User software configurations
programs = { programs = {
git = { git = {
@ -83,6 +93,7 @@
# the Home Manager release notes for a list of state version # the Home Manager release notes for a list of state version
# changes in each release. # changes in each release.
home.stateVersion = "23.05"; home.stateVersion = "23.05";
home.enableNixpkgsReleaseCheck = true;
# Let Home Manager install and manage itself. # Let Home Manager install and manage itself.
programs.home-manager.enable = true; programs.home-manager.enable = true;

View File

@ -1,5 +1,27 @@
{ {
"nodes": { "nodes": {
"atau-nixpkgs": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1687128134,
"narHash": "sha256-6O3MUIm5dJMRUw4VxYQFtTvnvemzS59HMyulZ5TEqCg=",
"ref": "main",
"rev": "b8db8ac34275a625ac6f6f51ad435227526d54f0",
"revCount": 4,
"type": "git",
"url": "https://git.atauno.com/atau/atau-nixpkgs"
},
"original": {
"ref": "main",
"rev": "b8db8ac34275a625ac6f6f51ad435227526d54f0",
"type": "git",
"url": "https://git.atauno.com/atau/atau-nixpkgs"
}
},
"home-manager": { "home-manager": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
@ -39,6 +61,7 @@
}, },
"root": { "root": {
"inputs": { "inputs": {
"atau-nixpkgs": "atau-nixpkgs",
"home-manager": "home-manager", "home-manager": "home-manager",
"nixpkgs": "nixpkgs" "nixpkgs": "nixpkgs"
} }

View File

@ -3,13 +3,28 @@
inputs = { inputs = {
nixpkgs.url = github:NixOS/nixpkgs/nixos-23.05; nixpkgs.url = github:NixOS/nixpkgs/nixos-23.05;
atau-nixpkgs.url = "git+https://git.atauno.com/atau/atau-nixpkgs?ref=main&rev=b8db8ac34275a625ac6f6f51ad435227526d54f0";
atau-nixpkgs.inputs.nixpkgs.follows = "nixpkgs";
home-manager.url = "github:nix-community/home-manager/release-23.05"; home-manager.url = "github:nix-community/home-manager/release-23.05";
home-manager.inputs.nixpkgs.follows = "nixpkgs"; home-manager.inputs.nixpkgs.follows = "nixpkgs";
}; };
outputs = inputs@{ nixpkgs, home-manager, ... }: { outputs = inputs@{ nixpkgs, atau-nixpkgs, home-manager, ... }:
nixosConfigurations.nixos76 = nixpkgs.lib.nixosSystem { let
system = "x86_64-linux"; system = "x86_64-linux";
pkgs = import nixpkgs {
inherit system;
config.allowUnfree = true;
# note: atau-nixpkgs currently only provides the `theme-platinum9` package which is broken due to gtk2 being unsupported in newer xfce
overlays = [ atau-nixpkgs.overlay ];
};
in
{
nixosConfigurations.nixos76 = nixpkgs.lib.nixosSystem {
inherit pkgs;
inherit system;
modules = [ modules = [
./system/configuration.nix ./system/configuration.nix
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager