move home-manager config to subdirectory
This commit is contained in:
26
home/machines/desktop.nix
Normal file
26
home/machines/desktop.nix
Normal file
@@ -0,0 +1,26 @@
|
||||
{ config, lib, pkgs, overlays, ... }:
|
||||
{
|
||||
nixpkgs.overlays = overlays;
|
||||
nixpkgs.config.allowUnfreePredicate = (pkg: true);
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
imports = [ ../profiles ];
|
||||
|
||||
machine = {
|
||||
name = "DanixDesktop";
|
||||
eth = "eno1";
|
||||
wlan = null;
|
||||
secondary-fs = "/mnt/henning";
|
||||
};
|
||||
profiles.base.enable = true;
|
||||
profiles.base.plus = true;
|
||||
profiles.xsession.enable = true;
|
||||
profiles.audio.fancy = true;
|
||||
profiles.zsh.enable = true;
|
||||
|
||||
profiles.games.enable = true;
|
||||
|
||||
home.packages = [
|
||||
pkgs.unstable.osu-lazer
|
||||
];
|
||||
}
|
||||
16
home/machines/headless.nix
Normal file
16
home/machines/headless.nix
Normal file
@@ -0,0 +1,16 @@
|
||||
{ config, lib, pkgs, overlays, ... }:
|
||||
{
|
||||
nixpkgs.overlays = overlays;
|
||||
|
||||
imports = [ ../profiles ];
|
||||
|
||||
machine = {
|
||||
name = "Headless";
|
||||
eth = null;
|
||||
wlan = null;
|
||||
secondary-fs = null;
|
||||
};
|
||||
|
||||
profiles.base.enable = true;
|
||||
profiles.zsh.enable = true;
|
||||
}
|
||||
28
home/machines/laptop.nix
Normal file
28
home/machines/laptop.nix
Normal file
@@ -0,0 +1,28 @@
|
||||
{ config, lib, pkgs, overlays, ... }:
|
||||
{
|
||||
nixpkgs.overlays = overlays;
|
||||
nixpkgs.config.allowUnfreePredicate = (pkg: true);
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
imports = [ ../profiles ];
|
||||
|
||||
machine = {
|
||||
name = "DanixLaptop";
|
||||
eth = "enp0s31f6";
|
||||
wlan = "wlp5s0";
|
||||
cores = 4;
|
||||
};
|
||||
profiles.base.enable = true;
|
||||
profiles.base.plus = true;
|
||||
profiles.gui.enable = true;
|
||||
profiles.xsession.enable = true;
|
||||
profiles.zsh.enable = true;
|
||||
|
||||
services.gammastep = {
|
||||
enable = true;
|
||||
dawnTime = "7:00-8:15";
|
||||
duskTime = "21:30-22:30";
|
||||
};
|
||||
|
||||
profiles.games.enable = true;
|
||||
}
|
||||
39
home/machines/pvv-terminal.nix
Normal file
39
home/machines/pvv-terminal.nix
Normal file
@@ -0,0 +1,39 @@
|
||||
{ config, lib, pkgs, overlays, ... }:
|
||||
{
|
||||
nixpkgs.overlays = overlays;
|
||||
nixpkgs.config.allowUnfreePredicate = (pkg: true);
|
||||
|
||||
imports = [ ../profiles ];
|
||||
|
||||
machine = {
|
||||
name = "PVV Terminal";
|
||||
eth = null;
|
||||
wlan = null;
|
||||
secondary-fs = null;
|
||||
};
|
||||
|
||||
profiles.base.enable = true;
|
||||
profiles.base.plus = false;
|
||||
profiles.gui.enable = true;
|
||||
profiles.non-nixos.enable = true;
|
||||
profiles.xsession.enable = true;
|
||||
profiles.zsh.enable = true;
|
||||
|
||||
profiles.audio.fancy = false;
|
||||
|
||||
profiles.games.enable = false;
|
||||
|
||||
services.polybar.config."module/uquota" = {
|
||||
type = "custom/script";
|
||||
exec-if = "test -f /usr/local/bin/uquota";
|
||||
exec = "" + pkgs.writers.writePerl "parse_uquota" { } ''
|
||||
my $raw = `/usr/local/bin/uquota`;
|
||||
if ( $raw =~ /Du har brukt (\d+(?:[KMGT]iB)) av (\d+(?:[KMGT]iB)), eller (\d+)/ )
|
||||
{
|
||||
print $3 . "%\n";
|
||||
}
|
||||
'';
|
||||
interval = 10;
|
||||
format = "ﴥ <label>";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user