moved desktop to system instead of home scope
This commit is contained in:
parent
18186be804
commit
4c562fc8c0
6 changed files with 8 additions and 6 deletions
|
@ -1,7 +1,5 @@
|
|||
{ config, ... }: {
|
||||
imports = [
|
||||
../../modules/system
|
||||
|
||||
./hardware-config.nix
|
||||
];
|
||||
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
{ ... }: {
|
||||
imports = [
|
||||
../../modules/system
|
||||
|
||||
./hardware-config.nix
|
||||
];
|
||||
|
||||
|
|
|
@ -15,12 +15,14 @@
|
|||
outputs = { nixpkgs, home-manager, ... }:
|
||||
let
|
||||
x86 = "x86_64-linux";
|
||||
common = ./modules/system;
|
||||
in {
|
||||
nixosConfigurations = {
|
||||
desktop = nixpkgs.lib.nixosSystem {
|
||||
specialArgs = { inherit x86; };
|
||||
|
||||
modules = [
|
||||
common
|
||||
./devices/desktop
|
||||
|
||||
home-manager.nixosModules.home-manager {
|
||||
|
@ -37,6 +39,7 @@
|
|||
specialArgs = { inherit x86; };
|
||||
|
||||
modules = [
|
||||
common
|
||||
./devices/surface
|
||||
|
||||
home-manager.nixosModules.home-manager {
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
services.gnome.core-utilities.enable = false;
|
||||
environment.gnome.excludePackages = [ pkgs.gnome-tour ];
|
||||
|
||||
home.packages = with pkgs; [
|
||||
environment.systemPackages = with pkgs; [
|
||||
gnomeExtensions.paperwm
|
||||
gnome.gnome-characters
|
||||
];
|
|
@ -8,7 +8,6 @@
|
|||
./email
|
||||
./gdb
|
||||
./git
|
||||
./gnome
|
||||
./media
|
||||
./terminal
|
||||
./utils
|
||||
|
|
|
@ -3,6 +3,10 @@
|
|||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
||||
|
||||
{ pkgs, ... }: {
|
||||
imports = [
|
||||
../gnome
|
||||
];
|
||||
|
||||
# Enable nix flakes
|
||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue