aaaaaaaaaaaaaaaaaaaaaaaaa

This commit is contained in:
Schrottkatze 2022-08-12 12:14:32 +02:00
parent a4cd48ad93
commit 55b1c49913
6 changed files with 215 additions and 67 deletions

View file

@ -3,13 +3,16 @@
# and in the NixOS manual (accessible by running nixos-help).
{ config, pkgs, ... }:
{
imports = [
./hardware-configuration.nix
../common.nix
];
jade = {
desktop.enable = true;
};
# monitor control
services.ddccontrol.enable = true;
@ -27,14 +30,6 @@
hardware.bluetooth.enable = true;
hardware.keyboard.uhk.enable = true;
users.users.jade = {
isNormalUser = true;
extraGroups = [ "wheel" "input" "uinput" "libvirtd" ];
packages = with pkgs; [
];
};
# missing: menu-qalc picom-jonaburg
environment.systemPackages = with pkgs; [
# TODO: clean up.
@ -44,24 +39,6 @@
"/share/nix-direnv"
];
services.flatpak.enable = true;
xdg.portal.enable = true;
xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
fonts.fonts = with pkgs; [
nerdfonts montserrat noto-fonts
];
programs.mtr.enable = true;
programs.gnupg.agent = {
enable = true;
enableSSHSupport = true;
};
programs.zsh.enable = true;
users.defaultUserShell = pkgs.zsh;
services.openssh.enable = true;
services.blueman.enable = true;
services.gnome.gnome-keyring.enable = true;

78
monosodium-glutamate-g/flake.lock generated Normal file
View file

@ -0,0 +1,78 @@
{
"nodes": {
"home-manager": {
"inputs": {
"nixpkgs": "nixpkgs",
"utils": "utils"
},
"locked": {
"lastModified": 1659878744,
"narHash": "sha256-81a9Mx5pDMBGN4WnVhcQVkW5mXNTZOt8DZOSI8bVKpU=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "f5e9879e74e6202e2dbb3628fad2d20eac0d8be4",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "home-manager",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1654953433,
"narHash": "sha256-TwEeh4r50NdWHFAHQSyjCk2cZxgwUfcCCAJOhPdXB28=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "90cd5459a1fd707819b9a3fb9c852beaaac3b79a",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_2": {
"locked": {
"lastModified": 1659327012,
"narHash": "sha256-zpdsLCH+cdx/K89QtzADNwwEzU/iJ9YT8UCVp3veLWQ=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "a54fb7fc4ce8a2973097851eabfdb068a19d2211",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable-small",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"home-manager": "home-manager",
"nixpkgs": "nixpkgs_2"
}
},
"utils": {
"locked": {
"lastModified": 1653893745,
"narHash": "sha256-0jntwV3Z8//YwuOjzhV2sgJJPt+HY6KhU7VZUL0fKZQ=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "1ed9fb1935d260de5fe1c2f7ee0ebaae17ed2fa1",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
}
},
"root": "root",
"version": 7
}

View file

@ -6,10 +6,10 @@
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpks.follows = "nixpkgs";
}
};
};
outputs = { self, nixpkgs, home-manager }: {
outputs = { self, nixpkgs, home-manager, ... }: {
nixosConfigurations = {
monosodium-glutamate-g = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
@ -19,8 +19,11 @@
home-manager.nixosModules.home-manager {
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users.jade = import ./home.nix;
}
home-manager.users.jade = { nixosConfig, pkgs, ... }: {
home.sessionVariables.TZ = nixosConfig.time.timeZone;
home.stateVersion = "${nixosConfig.system.stateVersion}";
};
}
];
};
};