-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: remove unneeded Emacs packages
- Loading branch information
Showing
15 changed files
with
1,732 additions
and
3,037 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,119 +6,78 @@ | |
"https://nix-community.cachix.org" | ||
"https://cache.ngi0.nixos.org/" | ||
]; | ||
|
||
extra-trusted-public-keys = [ | ||
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" | ||
"cache.ngi0.nixos.org-1:KqH5CBLNSyX184S9BKZJo1LxrxJ9ltnY2uAs5c/f1MA=" | ||
]; | ||
}; | ||
|
||
inputs = { | ||
|
||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; | ||
|
||
nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-24.05"; | ||
|
||
systems.url = "github:nix-systems/default-linux"; | ||
|
||
# user-level configuration | ||
home-manager = { | ||
url = "github:nix-community/home-manager"; | ||
inputs.nixpkgs.follows = "nixpkgs"; | ||
}; | ||
|
||
# overlay to access bleeding edge emacs | ||
emacs-overlay = { | ||
url = "github:nix-community/emacs-overlay"; | ||
inputs.nixpkgs.follows = "nixpkgs"; | ||
}; | ||
|
||
# nix user repository | ||
# i use this mainly to not have to build all firefox extensions | ||
# myself as well as for the emacs-init package (tbd) | ||
nur.url = "github:nix-community/NUR"; | ||
|
||
# provides GL to non-NixOS hosts | ||
nixgl.url = "github:guibou/nixGL"; | ||
|
||
# manages all theming using Home-Manager | ||
stylix.url = "github:danth/stylix"; | ||
|
||
# nix secrets management | ||
sops-nix.url = "github:Mic92/sops-nix"; | ||
|
||
# enable secure boot on NixOS | ||
lanzaboote.url = "github:nix-community/lanzaboote"; | ||
|
||
# nix for android | ||
nix-on-droid = { | ||
url = "github:nix-community/nix-on-droid/release-24.05"; | ||
inputs.nixpkgs.follows = "nixpkgs"; | ||
}; | ||
|
||
# generate NixOS images | ||
nixos-generators = { | ||
url = "github:nix-community/nixos-generators"; | ||
inputs.nixpkgs.follows = "nixpkgs"; | ||
}; | ||
|
||
# hardware quirks on nix | ||
nixos-hardware = { | ||
url = "github:NixOS/nixos-hardware/master"; | ||
}; | ||
|
||
# dynamic library loading | ||
nix-alien = { | ||
url = "github:thiagokokada/nix-alien"; | ||
}; | ||
|
||
# automatic nintendo switch payload injection | ||
nswitch-rcm-nix = { | ||
url = "github:Swarsel/nswitch-rcm-nix"; | ||
}; | ||
|
||
# weekly updated nix-index database | ||
nix-index-database = { | ||
url = "github:nix-community/nix-index-database"; | ||
inputs.nixpkgs.follows = "nixpkgs"; | ||
}; | ||
|
||
disko = { | ||
url = "github:nix-community/disko"; | ||
inputs.nixpkgs.follows = "nixpkgs"; | ||
}; | ||
|
||
impermanence.url = "github:nix-community/impermanence"; | ||
|
||
zjstatus = { | ||
url = "github:dj95/zjstatus"; | ||
}; | ||
|
||
fw-fanctrl = { | ||
url = "github:TamtamHero/fw-fanctrl/packaging/nix"; | ||
inputs.nixpkgs.follows = "nixpkgs"; | ||
}; | ||
|
||
nix-darwin = { | ||
url = "github:lnl7/nix-darwin"; | ||
inputs.nixpkgs.follows = "nixpkgs"; | ||
}; | ||
|
||
pre-commit-hooks = { | ||
url = "github:cachix/git-hooks.nix"; | ||
inputs.nixpkgs.follows = "nixpkgs"; | ||
}; | ||
|
||
nix-secrets = { | ||
url = "git+ssh://[email protected]/Swarsel/nix-secrets.git?ref=main&shallow=1"; | ||
flake = false; | ||
inputs = { }; | ||
}; | ||
|
||
nix-topology.url = "github:oddlama/nix-topology"; | ||
|
||
}; | ||
|
||
outputs = | ||
inputs@{ self | ||
, nixpkgs | ||
|
@@ -215,10 +174,8 @@ | |
import ./checks { inherit self inputs system pkgs; } | ||
); | ||
|
||
|
||
nixosConfigurations = | ||
lib.swarselsystems.mkFullHostConfigs (lib.swarselsystems.readHosts "nixos") "nixos"; | ||
|
||
homeConfigurations = | ||
|
||
# "swarsel@home-manager" = inputs.home-manager.lib.homeManagerConfiguration { | ||
|
@@ -230,11 +187,8 @@ | |
# }; | ||
|
||
lib.swarselsystems.mkHalfHostConfigs (lib.swarselsystems.readHosts "home") "home" lib.swarselsystems.pkgsFor.x86_64-linux; | ||
|
||
|
||
darwinConfigurations = | ||
lib.swarselsystems.mkFullHostConfigs (lib.swarselsystems.readHosts "darwin") "darwin"; | ||
|
||
nixOnDroidConfigurations = | ||
|
||
# magicant = inputs.nix-on-droid.lib.nixOnDroidConfiguration { | ||
|
@@ -246,8 +200,6 @@ | |
|
||
lib.swarselsystems.mkHalfHostConfigs (lib.swarselsystems.readHosts "android") "android" lib.swarselsystems.pkgsFor.aarch64-linux; | ||
|
||
|
||
|
||
topology = | ||
|
||
lib.swarselsystems.forEachSystem (pkgs: import inputs.nix-topology { | ||
|
@@ -259,6 +211,5 @@ | |
]; | ||
}); | ||
|
||
|
||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,27 @@ | ||
default: | ||
@just --list | ||
@just --list | ||
|
||
check: | ||
nix flake check --keep-going | ||
nix flake check --keep-going | ||
|
||
check-trace: | ||
nix flake check --show-trace | ||
nix flake check --show-trace | ||
|
||
update: | ||
nix flake update | ||
nix flake update | ||
|
||
iso: | ||
rm -rf result | ||
nix build .#nixosConfigurations.iso.config.system.build.isoImage && ln -sf result/iso/*.iso latest.iso | ||
rm -rf result | ||
nix build .#nixosConfigurations.iso.config.system.build.isoImage && ln -sf result/iso/*.iso latest.iso | ||
|
||
iso-flake FLAKE SYSTEM="x86_64" FORMAT="iso": | ||
nixos-generate --flake .#{{FLAKE}} -f {{FORMAT}} --system {{SYSTEM}} | ||
nixos-generate --flake .#{{FLAKE}} -f {{FORMAT}} --system {{SYSTEM}} | ||
|
||
iso-install DRIVE: iso | ||
sudo dd if=$(eza --sort changed result/iso/*.iso | tail -n1) of={{DRIVE}} bs=4M status=progress oflag=sync | ||
sudo dd if=$(eza --sort changed result/iso/*.iso | tail -n1) of={{DRIVE}} bs=4M status=progress oflag=sync | ||
|
||
dd DRIVE ISO: | ||
sudo dd if=$(eza --sort changed {{ISO}} | tail -n1) of={{DRIVE}} bs=4M status=progress oflag=sync | ||
sudo dd if=$(eza --sort changed {{ISO}} | tail -n1) of={{DRIVE}} bs=4M status=progress oflag=sync | ||
|
||
sync USER HOST: | ||
rsync -av --filter=':- .gitignore' -e "ssh -l {{USER}}" . {{USER}}@{{HOST}}:.dotfiles/ | ||
rsync -av --filter=':- .gitignore' -e "ssh -l {{USER}}" . {{USER}}@{{HOST}}:.dotfiles/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -97,7 +97,7 @@ in | |
openssh = { | ||
enable = true; | ||
extraConfig = '' | ||
''; | ||
''; | ||
}; | ||
|
||
syncthing = { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.