style changes

This commit is contained in:
Markus Heurung 2024-08-13 12:50:10 +02:00
parent 0fd53b62f1
commit c37a577c1c
3 changed files with 41 additions and 35 deletions

View file

@ -1,31 +1,41 @@
{ {
description = "Home Manager configuration of muhh"; description = "muhh configs for all nix managed things";
inputs = { inputs = {
# nixpkgs.url = "nixpkgs/release-24.05";
nixpkgs.url = "nixpkgs/nixos-unstable"; nixpkgs.url = "nixpkgs/nixos-unstable";
# hardware.url = "nixos/nixos-hardware";
home-manager = { home-manager = {
# url = "github:nix-community/home-manager/release-23.11"; # url = "github:nix-community/home-manager/release-24.05";
url = "github:nix-community/home-manager/master"; url = "github:nix-community/home-manager/master";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
nixvim = {
url = "github:nix-community/nixvim";
inputs.nixpkgs.follows = "nixpkgs";
};
sops-nix = {
url = "github:Mic92/sops-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
stylix = {
url = "github:danth/stylix";
inputs.nixpkgs.follows = "nixpkgs";
};
lix-module = { lix-module = {
url = "https://git.lix.systems/lix-project/nixos-module/archive/2.90.0.tar.gz"; url = "https://git.lix.systems/lix-project/nixos-module/archive/2.90.0.tar.gz";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
sops-nix = {
url = "github:Mic92/sops-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
stylix = {
url = "github:danth/stylix";
inputs.nixpkgs.follows = "nixpkgs";
};
nixvim = {
url = "github:nix-community/nixvim";
inputs.nixpkgs.follows = "nixpkgs";
};
niri = { niri = {
url = "github:sodiboo/niri-flake"; url = "github:sodiboo/niri-flake";
inputs.nixpkgs.follows = "nixpkgs";
}; };
}; };
@ -33,10 +43,10 @@
self, self,
nixpkgs, nixpkgs,
home-manager, home-manager,
nixvim, lix-module,
sops-nix, sops-nix,
stylix, stylix,
lix-module, nixvim,
niri, niri,
... ...
} @ inputs: let } @ inputs: let
@ -58,11 +68,12 @@
muhhStar = lib.nixosSystem { muhhStar = lib.nixosSystem {
inherit system; inherit system;
modules = [ modules = [
inputs.sops-nix.nixosModules.sops sops-nix.nixosModules.sops
./hosts/muhhStar.nix ./hosts/muhhStar.nix
]; ];
}; };
}; };
homeConfigurations = { homeConfigurations = {
muhh = home-manager.lib.homeManagerConfiguration { muhh = home-manager.lib.homeManagerConfiguration {
pkgs = import nixpkgs { pkgs = import nixpkgs {
@ -73,10 +84,10 @@
]; ];
}; };
modules = [ modules = [
inputs.nixvim.homeManagerModules.nixvim nixvim.homeManagerModules.nixvim
inputs.sops-nix.homeManagerModules.sops sops-nix.homeManagerModules.sops
inputs.stylix.homeManagerModules.stylix stylix.homeManagerModules.stylix
inputs.niri.homeModules.niri niri.homeModules.niri
./home.nix ./home.nix
]; ];
}; };

View file

@ -92,8 +92,6 @@
}; };
environment.shells = with pkgs; [ bash fish zsh ]; environment.shells = with pkgs; [ bash fish zsh ];
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
git git
home-manager home-manager
@ -107,9 +105,6 @@
iosevka iosevka
]; ];
# Some programs need SUID wrappers, can be configured further or are
# started in user sessions.
# programs.mtr.enable = true;
programs = { programs = {
_1password.enable = true; _1password.enable = true;
_1password-gui = { _1password-gui = {