Reformat code

This commit is contained in:
Bad 2022-07-03 01:06:34 +02:00
parent 7f29a1f336
commit a46b9bc7ad
8 changed files with 20 additions and 19 deletions

View file

@ -18,7 +18,7 @@
digga.inputs.deploy.follows = "deploy"; digga.inputs.deploy.follows = "deploy";
home.url = "github:nix-community/home-manager/master"; home.url = "github:nix-community/home-manager/master";
# home.url = "path:/home/mae/home-manager"; # home.url = "path:/home/mae/home-manager";
home.inputs.nixpkgs.follows = "latest"; home.inputs.nixpkgs.follows = "latest";
home.inputs.utils.follows = "flake-utils"; home.inputs.utils.follows = "flake-utils";
@ -40,12 +40,12 @@
naersk.inputs.nixpkgs.follows = "nixos"; naersk.inputs.nixpkgs.follows = "nixos";
peerix.url = "github:cid-chan/peerix"; peerix.url = "github:cid-chan/peerix";
# peerix.url = "github:MaeIsBad/peerix"; # peerix.url = "github:MaeIsBad/peerix";
peerix.inputs.nixpkgs.follows = "nixos"; peerix.inputs.nixpkgs.follows = "nixos";
nixos-hardware.url = "github:nixos/nixos-hardware"; nixos-hardware.url = "github:nixos/nixos-hardware";
fenix.url = "github:nix-community/fenix"; fenix.url = "github:nix-community/fenix";
# fenix.inputs.nixpkgs.follows = "nixos"; # fenix.inputs.nixpkgs.follows = "nixos";
}; };
outputs = outputs =

View file

@ -52,17 +52,18 @@
}; };
fileSystems."/" = fileSystems."/" =
{ device = "/dev/bcache0"; {
device = "/dev/bcache0";
fsType = "ext4"; fsType = "ext4";
}; };
fileSystems."/boot" = fileSystems."/boot" =
{ device = "/dev/disk/by-label/BOOT"; {
device = "/dev/disk/by-label/BOOT";
fsType = "vfat"; fsType = "vfat";
}; };
swapDevices = swapDevices =
[ { device = "/dev/disk/by-label/ssd-swap"; } [{ device = "/dev/disk/by-label/ssd-swap"; }];
];
} }

View file

@ -7,7 +7,7 @@
minetest minetest
mumble mumble
polymc polymc
(retroarch.override {cores = [libretro.snes9x]; }) (retroarch.override { cores = [ libretro.snes9x ]; })
olympus olympus
godot godot
]; ];

View file

@ -1,9 +1,9 @@
{config, pkgs, ...}: { config, pkgs, ... }:
let let
peerix_user = "peerix"; peerix_user = "peerix";
in in
{ {
users.groups.${peerix_user} = {}; users.groups.${peerix_user} = { };
users.users.${peerix_user} = { users.users.${peerix_user} = {
group = peerix_user; group = peerix_user;
isSystemUser = true; isSystemUser = true;

View file

@ -6,7 +6,7 @@ let
tesco_sys = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKqryVRMbcei0pZTOP1wgTVzn452vgsUP7MrEb0LQ17s root@tesco"; tesco_sys = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKqryVRMbcei0pZTOP1wgTVzn452vgsUP7MrEb0LQ17s root@tesco";
mae_tesco = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIN64wtGODBn2yygv1sOXnV8qbXImbOttMlhdTKEyQCoT mae@tesco"; mae_tesco = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIN64wtGODBn2yygv1sOXnV8qbXImbOttMlhdTKEyQCoT mae@tesco";
systemKeys = [teapot_sys tesco_sys]; systemKeys = [ teapot_sys tesco_sys ];
allKeys = [ mae_teapot mae_tesco ] ++ systemKeys; allKeys = [ mae_teapot mae_tesco ] ++ systemKeys;
in in
{ {

View file

@ -8,7 +8,7 @@
shell = pkgs.zsh; shell = pkgs.zsh;
extraGroups = [ "wheel" "video" "lp" "scanner" "adbusers" "render" "libvirtd" "podman" "docker" ]; extraGroups = [ "wheel" "video" "lp" "scanner" "adbusers" "render" "libvirtd" "podman" "docker" ];
}; };
home-manager.users.mae = {pkgs, ...}: { home-manager.users.mae = { pkgs, ... }: {
imports = [ ../profiles/direnv ../profiles/git ../profiles/zsh ../profiles/neovim ../profiles/syncthing ../profiles/kdeconnect ../profiles/podman ../profiles/alacritty ../profiles/tmux ../profiles/mpv ../profiles/sway ]; imports = [ ../profiles/direnv ../profiles/git ../profiles/zsh ../profiles/neovim ../profiles/syncthing ../profiles/kdeconnect ../profiles/podman ../profiles/alacritty ../profiles/tmux ../profiles/mpv ../profiles/sway ];
home.sessionVariables = { home.sessionVariables = {