various tweaks

This commit is contained in:
Greg Leyda 2022-07-10 15:30:58 -04:00
parent beaf5202ca
commit 0e56188133
5 changed files with 17 additions and 13 deletions

View file

@ -9,6 +9,7 @@
./packages.nix ./packages.nix
./fonts.nix ./fonts.nix
./thunar.nix ./thunar.nix
./nur.nix
]; ];
nix = { nix = {
package = pkgs.nixFlakes; package = pkgs.nixFlakes;

View file

@ -1,12 +1,13 @@
{ {
description = "testing"; description = "testing";
inputs = { inputs = {
nixpkgs.url = "nixpkgs/master"; nixpkgs.url = "nixpkgs/nixos-unstable";
home-manager.url = "github:nix-community/home-manager/master"; home-manager.url = "github:nix-community/home-manager/master";
home-manager.inputs.nixkpkgs.follows = "nixpkgs"; home-manager.inputs.nixkpkgs.follows = "nixpkgs";
nur.url = "github:nix-community/NUR";
}; };
outputs = { nixpkgs, home-manager, ... }: outputs = { nixpkgs, home-manager, nur, ... }:
let let
system = "x86_64-linux"; system = "x86_64-linux";
pkgs = import nixpkgs { pkgs = import nixpkgs {
@ -14,6 +15,7 @@
config = { config = {
allowUnfree = true; allowUnfree = true;
packageOverrides = super: let self = super.pkgs; in { packageOverrides = super: let self = super.pkgs; in {
#more overrides can go here
nerdfonts-overpass = self.nerdfonts.override { nerdfonts-overpass = self.nerdfonts.override {
fonts = [ "Overpass" ]; fonts = [ "Overpass" ];
}; };
@ -24,20 +26,18 @@
in { in {
homeManagerConfiguration = { homeManagerConfiguration = {
gerg = home-manager.lib.homeManagerConfiguration { gerg = home-manager.lib.homeManagerConfiguration {
inherit system pkgs; inherit pkgs;
username = "gerg"; modules = [
homeDirectory = "/home/gerg"; nur.nixosModules.nur
configuration = {
imports = [
./home-manager.nix ./home-manager.nix
]; ];
}; };
}; };
};
nixosConfigurations = { nixosConfigurations = {
gerg-laptop = lib.nixosSystem { gerg-laptop = lib.nixosSystem {
inherit system pkgs; inherit system pkgs;
modules = [ modules = [
nur.nixosModules.nur
./configuration.nix ./configuration.nix
]; ];
}; };

View file

@ -14,6 +14,8 @@
]; ];
programs.home-manager.enable = true; programs.home-manager.enable = true;
home = { home = {
username = "gerg";
homeDirectory = "/home/gerg";
stateVersion = "22.11"; stateVersion = "22.11";
file = { file = {
".background-image".source = ./images/stars.jpg; ".background-image".source = ./images/stars.jpg;

View file

@ -3,8 +3,8 @@
services.dunst = { services.dunst = {
enable = true; enable = true;
iconTheme = { iconTheme = {
name = "Papirus"; package = pkgs.flat-remix-icon-theme;
package = pkgs.papirus-icon-theme; name = "Flat-Remix-Blue-Dark";
size = "128X128"; size = "128X128";
}; };
settings = { settings = {

View file

@ -21,6 +21,7 @@ environment.systemPackages = with pkgs; [
dash dash
#user/gui #user/gui
discord discord
spotify
spotify-tray spotify-tray
vlc vlc
bitwarden bitwarden