Add build target to Makefile, reorganise some definitions
This commit is contained in:
parent
7b5fd0570c
commit
151c317845
8
Makefile
8
Makefile
|
@ -1,13 +1,15 @@
|
|||
.PHONY: default test lock
|
||||
.PHONY: default test build lock
|
||||
|
||||
default:
|
||||
sudo nixos-rebuild switch --flake .
|
||||
|
||||
test:
|
||||
git -C . add .
|
||||
sudo nixos-rebuild test --flake .
|
||||
|
||||
build:
|
||||
sudo nixos-rebuild build --flake .
|
||||
|
||||
lock:
|
||||
nix flake lock --update-input nixpkgs --update-input home-manager
|
||||
git -C . add flake.lock
|
||||
git add flake.lock
|
||||
nix flake archive
|
||||
|
|
|
@ -74,7 +74,6 @@
|
|||
./home/desktop/hyprland.nix
|
||||
./home/gui
|
||||
];
|
||||
programs.firefox.package = pkgs.firefox-wayland;
|
||||
xdg.configFile."hypr/hyprpaper.conf".text = ''
|
||||
preload = ${wallpapers.outputs.default}
|
||||
wallpaper = ,${wallpapers.outputs.default}
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
./dunst.nix
|
||||
./rofi.nix
|
||||
];
|
||||
programs.firefox.package = pkgs.firefox-wayland;
|
||||
programs.rofi.package = pkgs.rofi-wayland;
|
||||
wayland.windowManager.hyprland = {
|
||||
enable = true;
|
||||
|
|
|
@ -7,14 +7,7 @@
|
|||
in {
|
||||
imports = [./default.nix];
|
||||
home-manager.users.elitherl = {
|
||||
home.packages = with pkgs; [
|
||||
zotero
|
||||
openfortivpn
|
||||
nomachine-client
|
||||
teams-for-linux
|
||||
zoom-us
|
||||
laptop-state
|
||||
];
|
||||
home.packages = [laptop-state];
|
||||
wayland.windowManager.hyprland.extraConfig = ''
|
||||
source=./common.conf
|
||||
monitor = eDP-1,1920x1080,0x0,1.0
|
||||
|
|
|
@ -11,6 +11,13 @@
|
|||
username = "elitherl";
|
||||
homeDirectory = "/home/elitherl";
|
||||
stateVersion = "22.11";
|
||||
packages = with pkgs; [
|
||||
zotero
|
||||
openfortivpn
|
||||
nomachine-client
|
||||
teams-for-linux
|
||||
zoom-us
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue