formatted
This commit is contained in:
parent
0f28a1c1be
commit
631c22a3b0
22
flake.nix
22
flake.nix
|
@ -16,10 +16,7 @@
|
|||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
helix = {
|
||||
url = "github:helix-editor/helix/master";
|
||||
# inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
helix.url = "github:helix-editor/helix/master";
|
||||
home-manager = {
|
||||
url = "github:nix-community/home-manager";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
@ -47,9 +44,6 @@
|
|||
nur.overlay
|
||||
];
|
||||
in {
|
||||
formatter.${system} = pkgs.alejandra;
|
||||
|
||||
# nixosConfigurations: define options for different systems
|
||||
# desktop
|
||||
nixosConfigurations."BICEP" = nixpkgs.lib.nixosSystem {
|
||||
inherit system;
|
||||
|
@ -76,25 +70,15 @@
|
|||
home-manager.nixosModules.home-manager
|
||||
{
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.extraSpecialArgs = {inherit inputs;};
|
||||
home-manager.users."tacocat" = {
|
||||
imports = [./users/tacocat/home.nix];
|
||||
_module.args.theme = import ./modules/themes;
|
||||
};
|
||||
home-manager.extraSpecialArgs = {inherit inputs;};
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
#homeConfigurations: define options for different users
|
||||
# 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;
|
||||
formatter.${system} = pkgs.alejandra;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -74,8 +74,8 @@
|
|||
enable = true;
|
||||
# wlr.enable = true;
|
||||
extraPortals = with pkgs; [
|
||||
# xdg-desktop-portal-wlr
|
||||
xdg-desktop-portal-gtk
|
||||
# xdg-desktop-portal-wlr
|
||||
xdg-desktop-portal-gtk
|
||||
];
|
||||
};
|
||||
|
||||
|
@ -108,11 +108,12 @@
|
|||
|
||||
programs.waybar.enable = true;
|
||||
programs.steam.enable = true;
|
||||
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
|
||||
"steam"
|
||||
"steam-original"
|
||||
"steam-run"
|
||||
];
|
||||
nixpkgs.config.allowUnfreePredicate = pkg:
|
||||
builtins.elem (lib.getName pkg) [
|
||||
"steam"
|
||||
"steam-original"
|
||||
"steam-run"
|
||||
];
|
||||
|
||||
environment = {
|
||||
systemPackages = with pkgs; [
|
||||
|
|
|
@ -32,11 +32,11 @@
|
|||
});
|
||||
|
||||
settings = {
|
||||
theme = "rose_pine_moon";
|
||||
theme = "gruvbox";
|
||||
editor = {
|
||||
line-number = "relative";
|
||||
lsp.display-messages = true;
|
||||
scrolloff = 5;
|
||||
scrolloff = 10;
|
||||
middle-click-paste = false;
|
||||
cursorline = true;
|
||||
cursor-shape = {
|
||||
|
|
Loading…
Reference in a new issue