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";
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.utils.follows = "flake-utils";
@ -40,12 +40,12 @@
naersk.inputs.nixpkgs.follows = "nixos";
peerix.url = "github:cid-chan/peerix";
# peerix.url = "github:MaeIsBad/peerix";
# peerix.url = "github:MaeIsBad/peerix";
peerix.inputs.nixpkgs.follows = "nixos";
nixos-hardware.url = "github:nixos/nixos-hardware";
fenix.url = "github:nix-community/fenix";
# fenix.inputs.nixpkgs.follows = "nixos";
# fenix.inputs.nixpkgs.follows = "nixos";
};
outputs =

View file

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

View file

@ -32,7 +32,7 @@ in
environment.variables.EDITOR = "$EDITOR";
services.logind.lidSwitch = "ignore";
services.logind.extraConfig = ''
services.logind.extraConfig = ''
# dont shutdown when power button is short-pressed
HandlePowerKey=ignore
'';

View file

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

View file

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

View file

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

View file

@ -8,7 +8,7 @@
shell = pkgs.zsh;
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 ];
home.sessionVariables = {