mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
various tweaks
This commit is contained in:
parent
beaf5202ca
commit
0e56188133
5 changed files with 17 additions and 13 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
20
flake.nix
20
flake.nix
|
|
@ -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 = {
|
./home-manager.nix
|
||||||
imports = [
|
];
|
||||||
./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
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
|
||||||
|
|
@ -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 = {
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
@ -45,5 +46,5 @@ environment.systemPackages = with pkgs; [
|
||||||
gpick
|
gpick
|
||||||
xclip
|
xclip
|
||||||
alsa-utils
|
alsa-utils
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue