This commit is contained in:
Daylin Morgan 2022-11-23 09:32:58 -06:00
parent 60fc6387bf
commit 4598aa9915
3 changed files with 11 additions and 10 deletions

1
.gitignore vendored
View file

@ -1 +1,2 @@
result* result*
.task.mk

View file

@ -1,7 +1,13 @@
## switch | perform nixos rebuild
switch: switch:
sudo nixos-rebuild switch --flake . --impure sudo nixos-rebuild switch --flake . --impure
## lint | format *.nix
lint: lint:
nixpkgs-fmt . nixpkgs-fmt .
.PHONY: lint .PHONY: lint switch
USAGE := {a.style('==>','bold')} {a.style('flakes ftw','header')} {a.style('<==','bold')}\n
-include .task.mk
$(if $(filter help,$(MAKECMDGOALS)),$(if $(wildcard .task.mk),,.task.mk: ; curl -fsSL https://raw.githubusercontent.com/daylinmorgan/task.mk/v22.9.28/task.mk -o .task.mk))

View file

@ -6,8 +6,9 @@
<nixpkgs/nixos/modules/installer/virtualbox-demo.nix> <nixpkgs/nixos/modules/installer/virtualbox-demo.nix>
]; ];
nix.package = pkgs.nixUnstable;
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
nix.package = pkgs.nixUnstable;
nix.extraOptions = '' nix.extraOptions = ''
experimental-features = nix-command flakes experimental-features = nix-command flakes
''; '';
@ -37,8 +38,6 @@
shell = pkgs.zsh; shell = pkgs.zsh;
isNormalUser = true; isNormalUser = true;
extraGroups = [ "wheel" ]; # Enable sudo for the user. extraGroups = [ "wheel" ]; # Enable sudo for the user.
packages = with pkgs; [
];
}; };
}; };
@ -84,11 +83,6 @@
gnome.gnome-settings-daemon gnome.gnome-settings-daemon
catppuccin-gtk catppuccin-gtk
# (python3.withPackages (p: with p;
# [ pynvim ]))
# firefox
wavebox wavebox
pciutils pciutils