formatted

This commit is contained in:
Aria Nolan 2023-11-22 23:54:46 -05:00
parent 0f28a1c1be
commit 631c22a3b0
4 changed files with 15 additions and 30 deletions

View file

@ -16,10 +16,7 @@
inputs = { inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
helix = { helix.url = "github:helix-editor/helix/master";
url = "github:helix-editor/helix/master";
# inputs.nixpkgs.follows = "nixpkgs";
};
home-manager = { home-manager = {
url = "github:nix-community/home-manager"; url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
@ -47,9 +44,6 @@
nur.overlay nur.overlay
]; ];
in { in {
formatter.${system} = pkgs.alejandra;
# nixosConfigurations: define options for different systems
# desktop # desktop
nixosConfigurations."BICEP" = nixpkgs.lib.nixosSystem { nixosConfigurations."BICEP" = nixpkgs.lib.nixosSystem {
inherit system; inherit system;
@ -76,25 +70,15 @@
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
{ {
home-manager.useGlobalPkgs = true; home-manager.useGlobalPkgs = true;
home-manager.extraSpecialArgs = {inherit inputs;};
home-manager.users."tacocat" = { home-manager.users."tacocat" = {
imports = [./users/tacocat/home.nix]; imports = [./users/tacocat/home.nix];
_module.args.theme = import ./modules/themes; _module.args.theme = import ./modules/themes;
}; };
home-manager.extraSpecialArgs = {inherit inputs;};
} }
]; ];
}; };
#homeConfigurations: define options for different users formatter.${system} = pkgs.alejandra;
# homeConfigurations."tacocat" = inputs.home-manager.lib.homeManagerConfiguration {
# inherit pkgs;
# extraSpecialArgs = {inherit inputs;}; # Pass flake inputs to our config
# modules = [
# {nixpkgs.overlays = overlays;}
# ./users/tacocat/home.nix
# ];
# };
# packages.${system}."tacocat" = self.homeConfigurations."tacocat".activationPackage;
}; };
} }

View file

@ -108,7 +108,8 @@
programs.waybar.enable = true; programs.waybar.enable = true;
programs.steam.enable = true; programs.steam.enable = true;
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ nixpkgs.config.allowUnfreePredicate = pkg:
builtins.elem (lib.getName pkg) [
"steam" "steam"
"steam-original" "steam-original"
"steam-run" "steam-run"

View file

@ -32,11 +32,11 @@
}); });
settings = { settings = {
theme = "rose_pine_moon"; theme = "gruvbox";
editor = { editor = {
line-number = "relative"; line-number = "relative";
lsp.display-messages = true; lsp.display-messages = true;
scrolloff = 5; scrolloff = 10;
middle-click-paste = false; middle-click-paste = false;
cursorline = true; cursorline = true;
cursor-shape = { cursor-shape = {