Idk various stuff too lazy to list

This commit is contained in:
Bad 2021-07-27 11:50:57 +02:00
parent 76dd19a15c
commit affe651726
6 changed files with 19 additions and 8 deletions

View file

@ -223,9 +223,10 @@
"type": "github" "type": "github"
}, },
"original": { "original": {
"id": "nixpkgs", "owner": "NixOS",
"ref": "nixos-unstable", "ref": "nixos-unstable",
"type": "indirect" "repo": "nixpkgs",
"type": "github"
} }
}, },
"naersk": { "naersk": {
@ -294,9 +295,10 @@
"type": "github" "type": "github"
}, },
"original": { "original": {
"id": "nixpkgs", "owner": "NixOS",
"ref": "nixos-unstable", "ref": "nixos-unstable",
"type": "indirect" "repo": "nixpkgs",
"type": "github"
} }
}, },
"nixos-hardware": { "nixos-hardware": {

View file

@ -3,8 +3,8 @@
inputs = inputs =
{ {
nixos.url = "nixpkgs/nixos-unstable"; nixos.url = "github:NixOS/nixpkgs/nixos-unstable";
latest.url = "nixpkgs/nixos-unstable"; latest.url = "github:NixOS/nixpkgs/nixos-unstable";
digga.url = "github:divnix/digga/master"; digga.url = "github:divnix/digga/master";
ci-agent = { ci-agent = {

View file

@ -6,6 +6,10 @@ in
nix.systemFeatures = [ "nixos-test" "benchmark" "big-parallel" "kvm" ]; nix.systemFeatures = [ "nixos-test" "benchmark" "big-parallel" "kvm" ];
nix.registry.nixpkgs.flake = self.inputs.nixos; nix.registry.nixpkgs.flake = self.inputs.nixos;
# Fix zsh autocompletion with home-manager
environment.pathsToLink = [ "/share/zsh" ];
environment = { environment = {
systemPackages = with pkgs; [ systemPackages = with pkgs; [
binutils binutils
@ -34,6 +38,7 @@ in
tealdeer tealdeer
whois whois
nixpkgs-fmt
libqalculate libqalculate
nur.repos.xe.comma nur.repos.xe.comma
]; ];

View file

@ -2,4 +2,5 @@
networking.networkmanager = { networking.networkmanager = {
enable = true; enable = true;
}; };
networking.firewall.enable = false;
} }

View file

@ -3,5 +3,5 @@ with profiles; rec {
base = [ users.root core dnscrypt ]; base = [ users.root core dnscrypt ];
workstation = base ++ [ sway develop game profiles.workstation ssh flatpak torrents pwn tor rust ]; workstation = base ++ [ sway develop game profiles.workstation ssh flatpak torrents pwn tor rust ];
desktop = workstation ++ [ users.mae-desk amd three_dee androidev ]; desktop = workstation ++ [ users.mae-desk amd three_dee androidev ];
lap = workstation ++ [ users.mae-lap laptop bluetooth print networkmanager androidev ]; lap = workstation ++ [ users.mae-lap laptop bluetooth print networkmanager ];
} }

View file

@ -1,6 +1,9 @@
{ {
programs.direnv = { programs.direnv = {
enable = true; enable = true;
nix-direnv.enable = true; nix-direnv = {
enable = true;
enableFlakes = true;
};
}; };
} }